getOrderBook method
Get the orderbook. https://bybit-exchange.github.io/docs/inverse/?console#t-orderbook
Implementation
Future<Map<String, dynamic>?> getOrderBook({required String symbol}) async {
log.d('ByBitRest.getOrderBook');
var parameters = <String, dynamic>{};
parameters['symbol'] = symbol;
return await request(
path: '/v2/public/orderBook/L2', type: 'GET', parameters: parameters);
}