LUCIT-Systems-and-Development / unicorn-binance-websocket-api

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.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
678 stars 166 forks source link

Futures socket does not work with websockets version 10.0 #196

Closed June911 closed 2 years ago

June911 commented 2 years ago

I was trying to subscribe to the future data on my AMS EC2. The streams seemed to be created successfully but I didn't receive any stream data.

Screen Shot 2021-09-18 at 1 39 04 PM

Thanks to DaStapo, I tried to downgrade "websockets==10.0" to "websockets==9.1". It finally worked. For those who experience the same issue, try it.

To reproduce:

Environment:

oliver-zehentleitner commented 2 years ago

I dont understand the setup. The latest UBWA version is using websockets==9.1 ... there is no package released with 10.0, only a pull request: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/pull/195

June911 commented 2 years ago

Ahh, ok. I didn't know how to run the setup, so I installed the packages one by one. When I installed WebSockets, its default version is 10.0. Then, I got the issue.

Thanks for your response. I checked online and I know how to install packages according to requirements.

oliver-zehentleitner commented 2 years ago

hm, i testet websockets 10 with ubwa and it works ...