getLatestBigDeals method

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

Obtain filled orders worth more than 500,000 USD within the last 24h.

period must be one of the followin strings : '5min', '15min', '30min', '1h', '4h', '1d' https://bybit-exchange.github.io/docs/inverse/#t-marketopeninterest

Implementation

Future<Map<String, dynamic>?> getLatestBigDeals(
    {required String symbol, int? limit}) async {
  log.d('ByBitRest.getLatestBigDeals');
  var parameters = <String, dynamic>{};
  parameters['symbol'] = symbol;
  if (limit != null) parameters['limit'] = limit;
  return await request(
      path: '/v2/public/big-deal', type: 'GET', parameters: parameters);
}