get_klines_history
Retrieve historical kline data beyond 500 candles by paging backwards, returning up to 5000 candles in oldest-first order for backtesting.
Instructions
Fetch MORE than 500 candles by paging backwards through history. Returns a flat oldest-first list. Use for backtests/long lookbacks; capped at 5000 candles per call.
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>",
"interval": "<interval>",
"total": "<total>"
},
"name": "get_klines_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| symbol | Yes | ||
| interval | Yes | ||
| end_time_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |