pro_get_candles
Retrieves OHLCV candles for a specified trading pair and timeframe on Bit2Me Pro. Use for technical analysis and charting.
Instructions
Gets OHLCV (Open, High, Low, Close, Volume) candles for Pro (Advanced Trading). Requires trading pair (e.g., BTC-EUR) and timeframe. Returns price data in specified timeframe with timestamp and date. Optional limit (default: 1000, max: 1000), startTime and endTime (Unix epoch milliseconds). If startTime/endTime not provided, defaults to last 24 hours. Essential for technical analysis and charting. Response is a list of candles with metadata. [PUBLIC]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair in BASE-QUOTE format (e.g., BTC-EUR, ETH-USD) | |
| timeframe | Yes | Candle interval: 1m (1 min), 5m (5 min), 15m (15 min), 30m (30 min), 1h (1 hour), 4h (4 hours), 1d (1 day), 1w (1 week), 1M (1 month) | |
| limit | No | Maximum number of candles to return (default: 1000, max: 1000) | |
| startTime | No | Start time in Unix epoch milliseconds (default: 24 hours before endTime) | |
| endTime | No | End time in Unix epoch milliseconds (default: current time) |