getTickersPeriodic method
Get the latest information for symbols periodically. https://bybit-exchange.github.io/docs/inverse/?console#t-latestsymbolinfo
Implementation
void getTickersPeriodic({String? symbol, required Duration period}) {
log.d('ByBitRest.getTickersPeriodic');
streamGroup!.add(Stream.periodic(period, (_) {
return getTickers(symbol: symbol);
}).asyncMap((event) async => await event));
}