* Gets the candles information for a given symbol * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data * intervals: 1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,1M * @param {string} symbol - the symbol * @param {functio
(symbol: string, interval: Interval = '5m', params: Dict = {})
| 4339 | * @return {promise or undefined} - omitting the callback returns a promise |
| 4340 | */ |
| 4341 | async candles(symbol: string, interval: Interval = '5m', params: Dict = {}): Promise<Candle[]> { |
| 4342 | return await this.candlesticks(symbol, interval, params); // make name consistent with futures |
| 4343 | } |
| 4344 | |
| 4345 | parseCandles(candles: any[]): Candle[] { |
| 4346 | const res: Candle[] = []; |
nothing calls this directly
no test coverage detected