get-ohlcv
Fetch OHLCV candlestick data for trading pairs from cryptocurrency exchanges using exchange ID, symbol, timeframe, and limit parameters.
Instructions
Get OHLCV candlestick data for a trading pair
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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"exchange": {
"description": "Exchange ID (e.g., binance, coinbase)",
"type": "string"
},
"limit": {
"default": 100,
"description": "Number of candles to fetch (max 1000)",
"type": "number"
},
"symbol": {
"description": "Trading pair symbol (e.g., BTC/USDT)",
"type": "string"
},
"timeframe": {
"default": "1d",
"description": "Timeframe (e.g., 1m, 5m, 1h, 1d)",
"type": "string"
}
},
"required": [
"exchange",
"symbol"
],
"type": "object"
}