Price Candles
ic_candlesFetch recent OHLC candles for a single coin on a selected Iranian exchange to analyze price trends; returns oldest first and supports Toman/USDT quotes plus configurable intervals.
Instructions
Get recent OHLC candles of one coin on one exchange, oldest first.
Rows are [time, open, high, low, close, volume in coin]. Nobitex and Balinex have no USDT/IRT candles (use Wallex).
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": {
"exchange": "<exchange>",
"coin": "<coin>"
},
"name": "ic_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin symbol, e.g. 'BTC', 'USDT' | |
| limit | No | Most recent candles | |
| quote | No | 'IRT' = Toman market, 'USDT' = Tether market | IRT |
| exchange | Yes | Exchange id with candles (see ic_list_exchanges) | |
| interval | No | Candle size | 1h |