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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| symbol | Yes | ||
| interval | Yes | ||
| end_time_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |