What problem does it solve?
This Skill turns vague trading ideas into a runnable quantitative strategy by generating the required configuration and strategy signal code, then guiding users through backtest-driven iteration so they can improve results.
Core Features & Use Cases
- Requirements parsing to configuration: converts user intent into a
config.json specifying instruments, dates, and execution/backtest settings.
- Signal engine code generation: produces a
code/signal_engine.py implementation that follows the SignalEngine contract and outputs position signals in the required range.
- Backtest evaluation workflow: runs the engine’s built-in backtest process and evaluates artifacts like
artifacts/metrics.csv and artifacts/equity.csv against clear gates (e.g., metrics existence, non-empty equity, non-NaN equity, and trade count).
- Multi-market support: supports China A-shares, US stocks, Hong Kong stocks, and cryptocurrencies with consistent code normalization rules and an auto-routing
source strategy.
Quick Start
Use the strategy-generate skill to build a 5-day vs 20-day dual moving-average crossover strategy for 000001.SZ, and backtest it for 2024.