fetch_historical_data
Retrieve historical OHLCV candle data for any symbol with customizable timeframe, date range, and row limit. Use this tool to backtest trading strategies or analyze past market trends.
Instructions
Historical OHLCV candles. timeframe: ONE_MINUTE|FIVE_MINUTE|FIFTEEN_MINUTE| THIRTY_MINUTE|ONE_HOUR|ONE_DAY. Dates ISO format (optional).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "fetch_historical_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| timeframe | No | ONE_DAY | |
| start_date | No | ||
| end_date | No | ||
| max_rows | No |