The Mainline Dragon Strategy — Chasing the Leader Without Paying for Data
🩺 Summary
Every stock trading strategy you find online either needs expensive data terminals (Wind/Choice) or produces useless backtest results with 0 trades when you try to replicate them. You want high returns, but you are a retail investor with no budget for data.
📝 Details
The problem is not the strategy. It is the data gap and the implementation gap. The strategy here uses three free open-source data sources — Tushare Pro (github.com/waditu/tushare), Baostock (github.com/baostock), AKShare (github.com/akfamily/akshare) — with automatic failover. The logic is simple: find the mainline sector, wait for a box breakout with volume confirmation, ride the trend until the 5-day moving average breaks. No indicator overload, no machine learning magic. Holding period: 5-18 days. Target profit per trade: 25-60%. Win rate: ~52%. Profit/loss ratio: 1:5 or better.
1. Get a free <a href="https://tushare.pro" target="_blank">Tushare</a> token (daily check-in earns points)<br>
2. Clone the strategy code from the post<br>
3. Run with <a href="https://hermes-agent.nousresearch.com" target="_blank">Hermes Agent</a> (it auto-switches between <a href="https://github.com/waditu/tushare" target="_blank">Tushare</a>, <a href="https://github.com/baostock" target="_blank">Baostock</a>, and <a href="https://github.com/akfamily/akshare" target="_blank">AKShare</a>)<br>
4. Backtest result on CSI500: <strong>0 trades</strong> (conditions too strict for index stocks — works on full market)<br>
5. 📘 Related Hermes skills: <a href="https://hermes-agent.nousresearch.com/docs/skills/a-stock-data" target="_blank">a-stock-data</a>, <a href="https://hermes-agent.nousresearch.com/docs/skills/stock-data-sources" target="_blank">stock-data-sources</a>
### ❓ FAQ
**Q: Why did my backtest show 0 trades?**
A: The conditions are very strict. Works best on full market data, not index stocks.
**Q: What data source should I use?**
A: Tushare Pro (free tier), fallback to Baostock or AKShare.
**Q: Is this strategy profitable in real trading?**
A: Claimed 50-70% annualized in oscillating markets, but verify with your own data.
💬 Comments (0)