a-stock-trader
A股模拟交易系统 - 数据爬取、存储、策略回测、模拟交易 / A-Share Paper Trading System - Data Fetch, Storage, Backtest, Simulation
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bombfuock/a-stock-traderWhat This Skill Does
The a-stock-trader is a sophisticated OpenClaw AI agent skill designed for A-share market enthusiasts and algorithmic traders. It provides a comprehensive ecosystem for managing virtual portfolios, performing technical analysis, and executing automated trading strategies. The system leverages reliable data sources like East Money and Sina Finance to maintain high-fidelity market data, which is then stored in a local SQLite database for efficient querying and backtesting. Users can seamlessly transition from historical analysis to real-time simulation, ensuring that strategies are battle-tested before any theoretical application.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/bombfuock/a-stock-trader
Ensure you have Python installed, as the system relies on native scripts for data management and strategy execution. The system will automatically create a workspace directory at ~/.openclaw/workspace/a-stock/ for your database and logs.
Use Cases
This skill is ideal for quantitative researchers looking to test trading hypotheses without risking real capital. It is perfect for developing technical indicators such as Moving Averages, Momentum, and Breakout triggers. Financial analysts can use it to store historical price action, while hobbyists can use the grid trading features to automate decision-making in volatile market conditions. The automatic reporting functionality makes it suitable for long-term monitoring of a paper-trading portfolio.
Example Prompts
- "OpenClaw, please fetch the latest historical data for stock 600519 and run the 20-day breakout strategy backtest."
- "Show me my current portfolio performance and recent trade records for the momentum strategy."
- "Run the grid trading simulation for stock 000001 over the last 6 months and generate a performance report."
Tips & Limitations
- Simulation Only: This is strictly a paper trading tool. Never treat output as financial advice or use it to execute real-world capital movements without manual verification.
- Data Integrity: Ensure the system has periodic network access to keep the SQLite database synchronized with the latest market closes.
- Performance: While SQLite is robust, intensive backtesting over multi-year datasets for thousands of stocks may require optimized query planning.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bombfuock-a-stock-trader": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution
Related Skills
weibo-login
登录微博账号的技能。使用浏览器扫码登录微博(weibo.com),用于保持会话状态以便后续抓取内容或发帖。当用户需要登录微博时使用此技能。
captcha-solver
验证码识别与解决 - 本地OCR识别 + 第三方API / CAPTCHA Recognition and Solving - Local OCR + Third-party APIs
v2ray-proxy
V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理 / V2Ray Proxy Management - Auto start/stop proxy based on network conditions
super-self-improving
超级自我优化智能体 - 多模态记忆、反馈循环、元学习、置信度校准 / Super Self-Improving Agent - Multi-modal Memory, Feedback Loops, Meta-Learning, Confidence Calibration
polymarket-agent
Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities