getTradingRecords method

Future<Map<String, dynamic>?> getTradingRecords({
  1. required String symbol,
  2. int? limit,
})

Get recent trades.

Returns the last trades from a trade id from with a limit of limit trades. The latest limit trades will be returned (default limit: 500, max: 1000) https://bybit-exchange.github.io/docs/inverse/?console#t-publictradingrecords

Implementation

Future<Map<String, dynamic>?> getTradingRecords(
    {required String symbol, int? limit}) async {
  log.i('Get trading records');
  return await rest.getTradingRecords(symbol: symbol, limit: limit);
}