A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
from unicorn_binance_websocket_api import BinanceWebSocketApiManager
File "/home/botchedbot/miniconda3/lib/python3.8/site-packages/unicorn_binance_websocket_api/__init__.py", line 3, in <module>
from unicorn_binance_websocket_api.manager import BinanceWebSocketApiManager
File "/home/botchedbot/miniconda3/lib/python3.8/site-packages/unicorn_binance_websocket_api/manager.py", line 41, in <module>
from unicorn_binance_websocket_api.connection_settings import CEX_EXCHANGES, DEX_EXCHANGES, CONNECTION_SETTINGS
File "/home/botchedbot/miniconda3/lib/python3.8/site-packages/unicorn_binance_websocket_api/connection_settings.py", line 44, in <module>
CONNECTION_SETTINGS: dict[str, Tuple[MAX_SUBSCRIPTIONS_PER_STREAM, RESTFUL_BASE_URI, RESTFUL_PATH_USERDATA, WEBSOCKET_BASE_URI]] = {
TypeError: 'type' object is not subscriptable
python 3.8, unicorn_binance_websocket_api 1.43.2
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
[X] I checked the documentation and other Issues. I am using the latest version of this library.
Version of this library.
python 3.8, unicorn_binance_websocket_api 1.43.2
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?
Linux
Python version?
Python3.8
Installed packages
Logging output
No response
Processing method?
stream_buffer
Used endpoint?
concerns all
Issue
I installed unicorn_binance_websocket_api without any errors but not able to import the library.