Closed tron19920125 closed 2 years ago
This issue is raised from here:
fchannels={'depth','depth5@100ms','markPrice'}
binance_websocket_fapi_manager.create_stream(fchannels, markets)
The channel 'depth' has no response. After removing it, our code works.
PS: Finally, we have located the problem: We can not subscribe two channels on depth with one stream. Having debugged, although we fix this bug, yet we are still confused why they are going to crash each other.
Great, thanks for the info, did not know that mixing depth levels in one stream is not possible.
About the crashes: There can be a few reasons and for many things we can just reconnect. A log file can help to understand the reason :)
Great, thanks for the info, did not know that mixing depth levels in one stream is not possible.
About the crashes: There can be a few reasons and for many things we can just reconnect. A log file can help to understand the reason :)
Thanks oliver,we are trying to restart and reconnect but it didn't work. It seems this crash is happened on 8 hours ago. BTW, where can I find the log file? Is that save automatically ?
Hm... actually you dont have to restart or reconnect. UBWA is recognizing the disconnect and connects it self again.
Add this to you code (somewhere at the start of your script):
import logging
logging.basicConfig(level=logging.INFO,
filename=os.path.basename(__file__) + '.log',
format="{asctime} [{levelname:8}] {process} {thread} {module}: {message}",
style="{")
2021-12-03 16:43:41,278 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: New instance of unicorn-binance-websocket-api_1.34.2-python_3.7.1 on Linux 3.10.0-1127.19.1.el7.x86_64 for exchange binance.com-margin started ...
2021-12-03 16:43:41,280 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Initiating `colorama_0.4.1`
2021-12-03 16:43:41,280 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `websockets_10.0`
2021-12-03 16:43:41,281 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_buffer`
2021-12-03 16:43:41,281 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_signal_buffer`
2021-12-03 16:43:41,354 [INFO ] 13743 139777376036608 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._frequent_checks() new instance created with frequent_checks_id=1638521021.3549402
2021-12-03 16:43:41,384 [INFO ] 13743 139777292523264 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._keepalive_streams() new instance created with keepalive_streams_id=1638521021.3849413
2021-12-03 16:43:41,841 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: New instance of unicorn-binance-websocket-api_1.34.2-python_3.7.1 on Linux 3.10.0-1127.19.1.el7.x86_64 for exchange binance.com-futures started ...
2021-12-03 16:43:41,842 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Initiating `colorama_0.4.1`
2021-12-03 16:43:41,842 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `websockets_10.0`
2021-12-03 16:43:41,842 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_buffer`
2021-12-03 16:43:41,842 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_signal_buffer`
2021-12-03 16:43:41,927 [INFO ] 13743 139777284130560 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._frequent_checks() new instance created with frequent_checks_id=1638521021.927531
2021-12-03 16:43:41,971 [INFO ] 13743 139777275737856 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._keepalive_streams() new instance created with keepalive_streams_id=1638521021.971163
2021-12-03 16:43:42,031 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: New instance of unicorn-binance-websocket-api_1.34.2-python_3.7.1 on Linux 3.10.0-1127.19.1.el7.x86_64 for exchange binance.com started ...
2021-12-03 16:43:42,031 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Initiating `colorama_0.4.1`
2021-12-03 16:43:42,031 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `websockets_10.0`
2021-12-03 16:43:42,031 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_buffer`
2021-12-03 16:43:42,031 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_signal_buffer`
2021-12-03 16:43:42,125 [INFO ] 13743 139777267345152 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._frequent_checks() new instance created with frequent_checks_id=1638521022.1255395
2021-12-03 16:43:42,179 [INFO ] 13743 139777258952448 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._keepalive_streams() new instance created with keepalive_streams_id=1638521022.1794124
2021-12-03 16:43:42,243 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.create_stream({'markPrice', 'depth', 'depth5@100ms'}, ['algousdt', 'avaxusdt', 'adausdt', 'dashusdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt'], None, False, False) with stream_id=8a2e4cad-a204-420a-b23d-9a56a471c4cc
2021-12-03 16:43:42,244 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._add_stream_to_stream_list(8a2e4cad-a204-420a-b23d-9a56a471c4cc, {'markPrice', 'depth', 'depth5@100ms'}, ['algousdt', 'avaxusdt', 'adausdt', 'dashusdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt'], None, False, None, False)
2021-12-03 16:43:42,264 [INFO ] 13743 139777384429312 unicorn_binance_websocket_api_socket: BinanceWebSocketApiSocket.start_socket(8a2e4cad-a204-420a-b23d-9a56a471c4cc, {'markPrice', 'depth', 'depth5@100ms'}, ['algousdt', 'avaxusdt', 'adausdt', 'dashusdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt']) socket_id=62d86479-c262-4b49-9d74-57c3acca99a1 recent_socket_id=62d86479-c262-4b49-9d74-57c3acca99a1
2021-12-03 16:43:42,264 [INFO ] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.subscribe_to_stream(8a2e4cad-a204-420a-b23d-9a56a471c4cc, {'markPrice', 'depth', 'depth5@100ms'}, ['algousdt', 'avaxusdt', 'adausdt', 'dashusdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt']) started ...
2021-12-03 16:43:42,265 [INFO ] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.create_payload(8a2e4cad-a204-420a-b23d-9a56a471c4cc, ['markPrice', 'depth', 'depth5@100ms'], ['algousdt', 'avaxusdt', 'dashusdt', 'adausdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt']) started ...
2021-12-03 16:43:42,265 [INFO ] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.create_payload(8a2e4cad-a204-420a-b23d-9a56a471c4cc, ['markPrice', 'depth', 'depth5@100ms'], ['algousdt', 'avaxusdt', 'dashusdt', 'adausdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt']) - Payload: [{'method': 'SUBSCRIBE', 'params': ['dogeusdt@depth', 'filusdt@depth', 'eosusdt@depth', 'batusdt@markPrice', 'ftmusdt@markPrice', 'adausdt@depth5@100ms', 'zilusdt@depth5@100ms', 'wavesusdt@depth5@100ms', 'kavausdt@depth5@100ms', '1inchusdt@depth', 'egldusdt@depth', 'manausdt@markPrice', 'xlmusdt@depth', 'filusdt@depth5@100ms', 'uniusdt@markPrice', 'crvusdt@markPrice', 'sandusdt@depth5@100ms', 'aaveusdt@depth5@100ms', 'dogeusdt@depth5@100ms', 'yfiusdt@markPrice', 'sandusdt@depth', 'dashusdt@depth', 'sxpusdt@markPrice', 'dydxusdt@markPrice', 'ethusdt@depth5@100ms', 'bnbusdt@markPrice', 'c98usdt@depth5@100ms', '1inchusdt@depth5@100ms', 'etcusdt@depth5@100ms', 'sushiusdt@markPrice', 'maticusdt@depth', 'eosusdt@markPrice', 'trxusdt@depth5@100ms', 'zecusdt@markPrice', 'ftmusdt@depth', 'trxusdt@depth', 'dotusdt@markPrice', 'bchusdt@depth5@100ms', 'icpusdt@depth5@100ms', 'arusdt@depth5@100ms', 'axsusdt@markPrice', 'bakeusdt@depth', 'unfiusdt@depth', 'qtumusdt@depth', 'lrcusdt@markPrice', 'zecusdt@depth', 'ftmusdt@depth5@100ms', 'xtzusdt@depth5@100ms', 'unfiusdt@markPrice', 'lrcusdt@depth', 'thetausdt@depth', 'linkusdt@markPrice', 'yfiiusdt@markPrice', 'xlmusdt@markPrice', 'yfiusdt@depth5@100ms', 'bakeusdt@markPrice', 'etcusdt@markPrice', 'crvusdt@depth5@100ms', 'tlmusdt@depth', 'xmrusdt@markPrice', 'kavausdt@depth', 'grtusdt@depth', '1inchusdt@markPrice', 'ltcusdt@depth5@100ms', 'omgusdt@depth', 'thetausdt@depth5@100ms', 'omgusdt@depth5@100ms', 'ksmusdt@depth5@100ms', 'icpusdt@depth', 'neousdt@depth5@100ms', 'ontusdt@depth5@100ms', 'dogeusdt@markPrice', 'adausdt@markPrice', 'algousdt@markPrice', 'chzusdt@depth', 'bnbusdt@depth', 'aaveusdt@markPrice', 'compusdt@markPrice', 'dydxusdt@depth5@100ms', 'ethusdt@depth', 'dashusdt@markPrice', 'batusdt@depth', 'aliceusdt@depth5@100ms', 'galausdt@depth5@100ms', 'arusdt@depth', 'tlmusdt@markPrice', 'dotusdt@depth5@100ms', 'nearusdt@markPrice', 'xrpusdt@depth', 'iotausdt@markPrice', 'crvusdt@depth', 'manausdt@depth', 'tlmusdt@depth5@100ms', 'iotxusdt@depth5@100ms', 'ontusdt@markPrice', 'icpusdt@markPrice', 'linkusdt@depth5@100ms', 'manausdt@depth5@100ms', 'qtumusdt@markPrice', 'lunausdt@markPrice', 'vetusdt@markPrice', 'omgusdt@markPrice', 'dotusdt@depth', 'yfiusdt@depth', 'egldusdt@markPrice', 'avaxusdt@depth', 'bchusdt@depth', 'batusdt@depth5@100ms', 'axsusdt@depth', 'bttusdt@depth5@100ms', 'nearusdt@depth5@100ms', 'aaveusdt@depth', 'xmrusdt@depth', 'axsusdt@depth5@100ms', 'egldusdt@depth5@100ms', 'unfiusdt@depth5@100ms', 'iotausdt@depth', 'zilusdt@markPrice', 'rvnusdt@markPrice', 'compusdt@depth', 'bnbusdt@depth5@100ms', 'snxusdt@depth', 'uniusdt@depth5@100ms', 'chzusdt@markPrice', 'sxpusdt@depth', 'snxusdt@depth5@100ms', 'qtumusdt@depth5@100ms', 'avaxusdt@markPrice', 'iostusdt@markPrice', 'uniusdt@depth', 'vetusdt@depth5@100ms', 'solusdt@depth5@100ms', 'lunausdt@depth5@100ms', 'solusdt@depth', 'lrcusdt@depth5@100ms', 'btcusdt@depth5@100ms', 'thetausdt@markPrice', 'rvnusdt@depth5@100ms', 'xtzusdt@markPrice', 'ksmusdt@depth', 'wavesusdt@markPrice', 'iotausdt@depth5@100ms', 'xtzusdt@depth', 'compusdt@depth5@100ms', 'zilusdt@depth', 'neousdt@markPrice', 'etcusdt@depth', 'ltcusdt@depth', 'bttusdt@depth', 'dydxusdt@depth', 'algousdt@depth5@100ms', 'ontusdt@depth', 'atomusdt@depth5@100ms', 'xlmusdt@depth5@100ms', 'iostusdt@depth5@100ms', 'sushiusdt@depth', 'linkusdt@depth', 'ksmusdt@markPrice', 'sandusdt@markPrice', 'ltcusdt@markPrice', 'chzusdt@depth5@100ms', 'galausdt@depth', 'galausdt@markPrice', 'bttusdt@markPrice', 'algousdt@depth', 'maticusdt@markPrice', 'wavesusdt@depth', 'neousdt@depth', 'dashusdt@depth5@100ms', 'vetusdt@depth', 'eosusdt@depth5@100ms', 'trxusdt@markPrice', 'atomusdt@depth', 'rvnusdt@depth', 'maticusdt@depth5@100ms', 'sxpusdt@depth5@100ms', 'atomusdt@markPrice', 'bakeusdt@depth5@100ms', 'c98usdt@markPrice', 'grtusdt@markPrice', 'aliceusdt@markPrice', 'solusdt@markPrice', 'c98usdt@depth', 'iotxusdt@depth', 'grtusdt@depth5@100ms', 'lunausdt@depth', 'arusdt@markPrice', 'sushiusdt@depth5@100ms', 'yfiiusdt@depth', 'adausdt@depth', 'xmrusdt@depth5@100ms', 'xrpusdt@markPrice', 'nearusdt@depth', 'iotxusdt@markPrice', 'btcusdt@depth', 'yfiiusdt@depth5@100ms', 'snxusdt@markPrice', 'avaxusdt@depth5@100ms', 'kavausdt@markPrice', 'btcusdt@markPrice', 'ethusdt@markPrice', 'bchusdt@markPrice', 'aliceusdt@depth', 'filusdt@markPrice', 'iostusdt@depth', 'zecusdt@depth5@100ms', 'xrpusdt@depth5@100ms'], 'id': 1}]
2021-12-03 16:43:42,265 [INFO ] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.create_payload(8a2e4cad-a204-420a-b23d-9a56a471c4cc, ['markPrice', 'depth', 'depth5@100ms'], ['algousdt', 'avaxusdt', 'dashusdt', 'adausdt', 'ftmusdt', 'trxusdt', 'nearusdt', 'yfiiusdt', 'sxpusdt', 'omgusdt', 'thetausdt', 'dotusdt', 'iotausdt', 'ksmusdt', 'unfiusdt', 'uniusdt', 'tlmusdt', 'egldusdt', 'zecusdt', 'axsusdt', 'lunausdt', 'sandusdt', 'sushiusdt', 'crvusdt', 'lrcusdt', 'arusdt', 'ethusdt', 'atomusdt', 'btcusdt', 'xtzusdt', 'kavausdt', 'bttusdt', 'wavesusdt', 'aliceusdt', 'neousdt', 'snxusdt', 'galausdt', 'manausdt', 'c98usdt', 'dydxusdt', 'xlmusdt', 'batusdt', 'zilusdt', 'maticusdt', 'chzusdt', 'ontusdt', 'eosusdt', 'xrpusdt', 'iostusdt', 'vetusdt', 'rvnusdt', '1inchusdt', 'bakeusdt', 'ltcusdt', 'aaveusdt', 'qtumusdt', 'dogeusdt', 'xmrusdt', 'compusdt', 'grtusdt', 'bchusdt', 'filusdt', 'icpusdt', 'iotxusdt', 'bnbusdt', 'solusdt', 'yfiusdt', 'linkusdt', 'etcusdt']) finished ...
2021-12-03 16:43:42,265 [CRITICAL] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.stop_stream_as_crash(8a2e4cad-a204-420a-b23d-9a56a471c4cc)
2021-12-03 16:43:42,265 [CRITICAL] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.subscribe_to_stream(8a2e4cad-a204-420a-b23d-9a56a471c4cc) Info: The limit of 200 subscriptions per stream has been exceeded!
2021-12-03 16:43:42,265 [CRITICAL] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.stream_is_crashing(8a2e4cad-a204-420a-b23d-9a56a471c4cc)
2021-12-03 16:43:42,265 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: New instance of unicorn-binance-websocket-api_1.34.2-python_3.7.1 on Linux 3.10.0-1127.19.1.el7.x86_64 for exchange binance.com-futures started ...
2021-12-03 16:43:42,265 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Initiating `colorama_0.4.1`
2021-12-03 16:43:42,266 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `websockets_10.0`
2021-12-03 16:43:42,266 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_buffer`
2021-12-03 16:43:42,266 [INFO ] 13743 139778034161472 unicorn_binance_websocket_api_manager: Using `stream_signal_buffer`
2021-12-03 16:43:42,334 [INFO ] 13743 139777250559744 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._frequent_checks() new instance created with frequent_checks_id=1638521022.3345304
2021-12-03 16:43:42,359 [INFO ] 13743 139777242167040 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager._keepalive_streams() new instance created with keepalive_streams_id=1638521022.359326
It seems the problem comes from The limit of 200 subscriptions per stream has been exceeded!. Why does it works before?
Right, this is a problem and leads to a crash:
2021-12-03 16:43:42,265 [CRITICAL] 13743 139777384429312 unicorn_binance_websocket_api_manager: BinanceWebSocketApiManager.subscribe_to_stream(8a2e4cad-a204-420a-b23d-9a56a471c4cc) Info: The limit of 200 subscriptions per stream has been exceeded!
There are differences between the endpoints, i made a table here: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki/Binance-websocket-endpoint-configuration-overview
Hello,
Firstly, thanks for your great contribution.
We have been using this package for few months. However, this morning, we find that there are no response from binance.com-future (error or printout). Is that a bug or something?
Here are codes of do_future