declare function getCandles(symbol: string, interval: CandleInterval, limit: number): Promise<ICandleData[]>;
Fetches historical candle data from the registered exchange.
Candles are fetched backwards from the current execution context time. Uses the exchange's getCandles implementation.
| Parameter | Description |
|---|---|
symbol |
Trading pair symbol (e.g., "BTCUSDT") |
interval |
Candle interval ("1m" | "3m" |
limit |
Number of candles to fetch |