getWalletBalancePeriodic method
Get wallet balance periodically. https://bybit-exchange.github.io/docs/inverse/#t-wallet
Implementation
void getWalletBalancePeriodic({String? currency, required Duration period}) {
log.d('ByBitRest.getWalletBalancePeriodic');
streamGroup!.add(Stream.periodic(period, (_) {
return getWalletBalance(currency: currency);
}).asyncMap((event) async => await event));
}