getFundingRatePeriodic method
Get the last funding rate periodically. https://bybit-exchange.github.io/docs/inverse/#t-fundingrate
Implementation
void getFundingRatePeriodic(
{required String symbol, required Duration period}) {
log.d('ByBitRest.getFundingRatePeriodic');
streamGroup!.add(Stream.periodic(period, (_) {
return getFundingRate(symbol: symbol);
}).asyncMap((event) async => await event));
}