Candles (OHLCV)
get_candlesFetch OHLCV candlestick data for one market over an ISO 8601 time window, using symbol and interval; returns up to 200 rows for analysis.
Instructions
OHLCV candles for one market, returned as rows of [open_time, open, high, low, close, volume]. Use from/to (ISO 8601) to pick a window; the count is capped at 200.
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>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, ISO 8601 | |
| from | No | Window start, ISO 8601 | |
| limit | No | Items to return (1-200, default 50) | |
| symbol | Yes | Market symbol as BASE/QUOTE, e.g. BTC/USDT | |
| interval | Yes | Candle interval |