Get candles (OHLCV)
get_candlesGet OHLCV candles for a market at a given resolution. Useful for trend/volatility analysis.
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": {
"market": "<market>",
"resolution": "<resolution>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| toISO | No | ISO 8601 end time | |
| market | Yes | Market ticker, e.g. BTC-USD | |
| fromISO | No | ISO 8601 start time | |
| resolution | Yes | Candle resolution |