run_backtest
Execute a backtest for a given symbol using a registered strategy. Requires prior data fetch; supports optional date range.
Instructions
Run a backtest for symbol with a registered strategy. Optional dates are YYYY-MM-DD.
Prerequisite: call `fetch_data` for the symbol first so the OHLCV cache exists.
Long-running: up to a 300-second timeout; reports progress to capable clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| symbol | Yes | ||
| strategy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | Yes |