Closed nikky78 closed 1 year ago
Anyone knows why I get those errors?
Dont use high_performance=True
with only one stream!
Do it this way:
from unicorn_binance_websocket_api.manager import BinanceWebSocketApiManager
def callback_user_data_event(stream_data, stream_buffer_name=False):
print(f"{stream_data}")
ubwa = BinanceWebSocketApiManager(exchange="binance.com-futures")
ubwa.create_stream("arr",
"!userData",
api_key=key,
api_secret=secret,
stream_label='userData',
output="dict",
ping_interval=10,
ping_timeout=10,
close_timeout=5,
process_stream_data=callback_user_data_event)
Version of this library.
unicorn-binance-websocket 1.41.0
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
Local server/workstation
Operating System?
Windows
Python version?
Python3.9
Installed packages
No response
Logging output
Processing method?
process_stream_data
Used endpoint?
binance.com-futures
Issue
I am opening a user stream websocket, and right away I get the errors above.