OHLCV candles
get_ohlcvRetrieve OHLCV candlestick data for a DeepBook pool to analyze price and volume across intervals from 1m to 1w. Supports limit and time-range filters.
Instructions
OHLCV candles for a DeepBook pool (oldest first). Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w. Volume is in the base asset. Education/information only; not financial advice. Read-only public data, may be delayed or wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) | |
| limit | No | Number of candles (1-500, default 24) | |
| end_time | No | Unix timestamp in SECONDS | |
| interval | No | 1h | |
| start_time | No | Unix timestamp in SECONDS |