get_candles
Retrieve OHLCV candlestick data for cryptocurrency pairs. Specify symbol, interval, and date range to get open, high, low, close, and volume.
Instructions
Get OHLCV candlestick data for a cryptocurrency.
Args: symbol: Trading pair symbol (e.g., BTCUSDT, ETHUSDT) interval: Candle interval - 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w limit: Number of candles to return (1-100, default 20) start_time: Start time in ISO format (e.g., 2024-01-01 or 2024-01-01T00:00:00) end_time: End time in ISO format (e.g., 2024-01-15 or 2024-01-15T00:00:00)
Returns: Candlestick data with open, high, low, close, volume
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| end_time | No | ||
| interval | No | 1h | |
| start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |