get_ohlcv
Retrieve historical OHLCV candlestick data for any trading pair across multiple timeframes (1m to 1w), enabling price trend analysis and strategy backtesting.
Instructions
Get historical candlestick data (OHLCV). Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w
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": {
"symbol": "<symbol>",
"timeframe": "<timeframe>"
},
"name": "get_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| symbol | Yes | ||
| timeframe | Yes |