get-ohlcv
Retrieve OHLCV candlestick data for specified trading pairs on exchanges like Binance or Coinbase. Fetch up to 1000 candles, adjust timeframes, and analyze market trends efficiently.
Instructions
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 |
|---|---|---|---|
| exchange | Yes | Exchange ID (e.g., binance, coinbase) | |
| limit | No | Number of candles to fetch (max 1000) | |
| symbol | Yes | Trading pair symbol (e.g., BTC/USDT) | |
| timeframe | No | Timeframe (e.g., 1m, 5m, 1h, 1d) | 1d |