getHistoricalData abstract method

Future<List<Candle>> getHistoricalData({
  1. required String symbol,
  2. required Timeframe timeframe,
  3. int count = 500,
})

Fetches historical OHLCV bars for the specified symbol and timeframe.

Implementation

Future<List<Candle>> getHistoricalData({
  required String symbol,
  required Timeframe timeframe,
  int count = 500,
});