What problem does it solve?
The backtest-diagnose skill helps trading engineers pinpoint why a backtest failed, raised errors, or produced suspect results by guiding them through artifact review, code examination, and root-cause classification before implementing targeted fixes.
Core Features & Use Cases
- Structured Diagnostic Workflow: Step through artifact reading, code review, taxonomy-based issue classification, and fix verification with rerun validation.
- Error Taxonomy Guidance: Differentiate between runtime, logic, and data errors and apply appropriate fixes while ignoring provider-side limitations.
- Validation Rules & Hard Gates: Ensure metrics, trades, equity data, and exit codes meet quality gates while confirming signal_engine structure and rerunning backtests.
- Use Case: Investigate a trading strategy that succeeds but yields zero trades to locate the offending signal logic or data assumption before recommitting capital.
Quick Start
Diagnose the latest failed backtest by examining artifacts and signal_engine code and suggest precise fixes following the hard gate checklist.