get_ohlcv
Fetch historical OHLCV candles for any symbol, timeframe, and date range to build charts and calculate indicators. Serves from cache first, then fetches missing data via REST.
Instructions
Get historical OHLCV candles (basis for charts and indicators).
Served from a DuckDB cache first, topping up only the missing tail via
REST. timeframe accepts values like 1m,5m,15m,1h,4h,1d;
since accepts ISO-8601 or epoch-ms. limit is capped at 1000.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| symbol | Yes | ||
| exchange | No | ||
| timeframe | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||