binancePump icon indicating copy to clipboard operation
binancePump copied to clipboard

Binance Websocket error

Open jolieprince opened this issue 3 years ago • 2 comments

I am trying to run the program but I am getting web socket error. Can you please check it what is the issue? Please check the screenshot to properly check the error. Screenshot_2

jolieprince avatar Aug 15 '21 19:08 jolieprince

The BinanceSocketManager is no longer in the websocket. try this... from binance.streams import BinanceSocketManager

gultekinkelce avatar Dec 05 '21 12:12 gultekinkelce

with all the respect to @gultekinkelce, the best thing to do is to make your python-binance version to 0.7.3. At least that worked to me Trying to do binance.websockets to binance.streams will cause you damages in other lines of the code.. To do the python version 0.7.3, Go to your terminal and type pip install --upgrade python-binance==0.7.3 I hope I helped you (leave the code as it is)

LaDice avatar Aug 05 '22 16:08 LaDice