get_candles
Fetch OHLCV candlestick data for any trading instrument at specified intervals and time ranges, enabling charting and market analysis.
Instructions
Get OHLCV candlestick data for an instrument
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": {
"instrument": "<instrument>",
"interval": "<interval>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time (RFC3339 or Unix timestamp) | |
| from | No | Start time (RFC3339 or Unix timestamp) | |
| interval | Yes | Candle interval (e.g. 1m, 5m, 1h, 1d) | |
| instrument | Yes | Instrument symbol (e.g. btc/usd.spot) |