Closed m0nte-cr1st0 closed 2 years ago
I found this settings https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py#L197
Can I to increase this to 204
(102 pairs * 2 timeframes)?
If I write self.twm.max_subscriptions_per_stream = 205
I get error
CRITICAL:root:BinanceWebSocketApiSocket.start_socket(...) - Exception ConnectionClosed - error_msg: code = 1006 (connection closed abnormally [internal]), no reason
CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(784d9929-4441-44ca-91a6-54495ffdaac7)
CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing() - Exception ConnectionClosed - error_msg: code = 3001 (registered), reason = illegal request
But I have 1 free slot
fot subscriptions?
No thats not possible. The maximum is defined by binance endpoints: https://binance-docs.github.io/apidocs/futures/en/#change-log look at date 2020-10-27
but you can create more streams :)
just reopen if needed!
I have following error
Versions: unicorn-binance-websocket-api==1.31.0 Python 3.8.10 (default, May 12 2021, 15:46:43)
I'm using following code:
I have 102 active pairs and 2 timefimes (1h and 4h)