getOpenInterest method
Gets the total amount of unsettled contracts. In other words, the total number of contracts held in open positions.
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>?> getOpenInterest(
{required String symbol, required String interval, int? limit}) async {
log.i('Get the open orders');
return await rest.getOpenInterest(
symbol: symbol, interval: interval, limit: limit);
}