get_ohlcv
Get OHLCV (candlestick) data for a trading pair
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>",
"symbol": "<symbol>"
},
"name": "get_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default: 100, max: 500) | |
| symbol | Yes | Trading pair symbol (e.g., BTC/USDT, INDY/USDT) | |
| exchange | Yes | Exchange to query. Supported: mexc, gateio, bitget, kraken | |
| timeframe | No | Candlestick timeframe (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w) | 1h |