fetch_data
Fetch and cache historical OHLCV data for a symbol, a prerequisite for running a backtest. Specify a period like 1y or 5y.
Instructions
Fetch & cache historical OHLCV for symbol (prerequisite for run_backtest).
period is e.g. 1y / 5y / 6m / 30d / max (defaults to 1y). Returns {symbol, period,
output}. The CLI has no --start/--end, so only period is exposed. Run this before
run_backtest. Reports progress to capable clients; has an execution timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | ||
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | Yes |