Closed yoobi closed 2 years ago
Hm... the error is unlogic.
If oldest_stream_data_from_stream_buffer
is False
then the block where the error happens should never get executed because this can only happen as "else" of False...
Can you debug this to get more info?
A solution could be if you use the integrated unicornfy of ubwa by:
ubwa.create_stream(['trade'], ['btcusdt'], output="UnicornFy")
Hm... the error is unlogic.
I know right ? I don't exactly know how it happened. It happened only once in 2 months of use. It is running again but no issue so far
I'll add the output="UnicornFy" argument
if you add the output parameter you will receive unicorn-fied data, so you can remove the line order = UnicornFy.binance_com_futures_websocket(oldest_stream_data_from_stream_buffer)
part.
Feel free to reopen if needed!
Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])
Select one:
Environment
Operating System? (include version)
Exact Python Version?
Pip Version?
Description of your issue
I just got this error while looking at logs, it seems that a Boolean has been passed instead of json data
CRITICAL:root:UnicornFy->binance_futures_websocket(False) - error: 'bool' object does not support item assignment