bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.19k stars 679 forks source link

Fixed double slash in binance futures open interest url and missing 'next_funding_time' in Bybit. #877

Closed agijsberts closed 2 years ago

agijsberts commented 2 years ago

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.

agijsberts commented 2 years ago

I repeatedly wrote backslash, but it was of course a (forward) slash...