Description of code - what bug does this fix / what feature does this add?
This small PR fixes https://github.com/bmoscon/cryptofeed/issues/869. Credits to @TnzGit for suggesting the solution.
It also addresses KeyErrors I regularly encounter when 'next_funding_time' is not present in a funding update on Bybit.
Finally, it cleans some tiny flake8 errors/warnings regarding whitespace.
Description of code - what bug does this fix / what feature does this add?
This small PR fixes https://github.com/bmoscon/cryptofeed/issues/869. Credits to @TnzGit for suggesting the solution. It also addresses
KeyError
s I regularly encounter when'next_funding_time'
is not present in a funding update on Bybit. Finally, it cleans some tiny flake8 errors/warnings regarding whitespace.