What problem does it solve? It turns a freeform trading idea into a deterministic, auditable historical backtest with formalized rules, saved raw data, and reproducible artifacts instead of ad-hoc, unverifiable simulations. ## Core Features & Use Cases - Strategy formalization: Translates a plain-language strategy concept into precise mathematical rules (indicators, entry/exit triggers, sizing, fill model) and confirms the interpretation with you before writing code. - Alpaca CLI data acquisition: Fetches bars, quotes, trades, calendar, and corporate actions through the Alpaca CLI, saves raw outputs, and computes data fingerprints for reproducibility. - Standardized artifacts and reporting: Produces a self-contained run folder with notes.md, strategy_spec.json, config.json, run.py, trades.csv, equity.csv, summary.json, and a report.md leading with a Performance vs Benchmarks table. - Use Case: Ask your agent to backtest an SMA(50)/SMA(200) crossover on SPY daily bars from 2020 to 2025; it confirms the interpretation, fetches data via the Alpaca CLI, runs a single-file simulation, and returns the Teaching Five metrics plus artifact paths. ## Quick Start Ask your agent to backtest a specific strategy idea with a start date, end date, and symbol, for example: run a backtest of a 50/200 day moving average crossover on SPY from 2020-01-01 to 2025-12-31 using daily bars.