binance / binance-futures-connector-python

MIT License
812 stars 228 forks source link

UMFuturesWebsocketClient error with on_message argument #122

Closed someuser522 closed 1 year ago

someuser522 commented 1 year ago

Hello to anyone who will read this!

as i take this example 1:1 https://github.com/binance/binance-futures-connector-python/blob/main/examples/websocket/um_futures/kline.py got error “UMFuturesWebsocketClient.init() got an unexpected keyword argument ‘on_message’” at same time on GIT arg on_message present! here it is. https://github.com/binance/binance-futures-connector-python/blob/main/binance/websocket/um_futures/websocket_client.py#L22

pip ver. binance-futures-connector 3.3.1 can someone give me some hint please what is wrong & how to FIX? PS. Issue looks like stable reproduced & confirmed also by Binance support representative

someuser522 commented 1 year ago

partly solved using, pip install binance-futures-connector --pre which made pip ver 4.0.0rc3 on moment of writing instead of stable 3.3.1 4.0.0rc3 works fine

2pd commented 1 year ago

Sorry for the confusing; We have remove the rc from the latest release, it will work.