-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic ThreadedWebsocketManager example doesn't work. #1243
Comments
I have same issue. I solved using |
Yes, I figured that doing this was going to make it work, but I'd like to be able to use the latest versions... |
Thank you very much. My bot didn't run since last week because i did some updates. Why on earth did they change something which lead to not working websockets or threats anymore. |
@Heissluftofen What type of bot are you making? I am making a bot too. Maybe we can chat on discord or something? |
I have python-binance==1.0.16 |
You have to use Python 3.9 to use python-binance 1.0.15. The reason lies in your error message: TypeError: As of 3.10, the loop parameter was removed from Queue() |
It depends on what you want to know. I am quit satisfied with my bot. But i
made it quick and dirty. More important now is how the market works. At the
moment it is quit calm.
Magnus ***@***.***> schrieb am Mo., 26. Sept. 2022, 21:39:
… @Heissluftofen <https://github.com/Heissluftofen> What type of bot are
you making? I am making a bot too. Maybe we can chat on discord or
something?
—
Reply to this email directly, view it on GitHub
<#1243 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3JCGQMOLCHDFSI3LWKKVFLWAH3YJANCNFSM6AAAAAAQDQYDFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It pointed me in the right way.... but I noticed that with
|
+1 for me using |
If you want to look into it, go ahead. I provided a temporary way to work with the library, I am not interested in working to patch this issue. |
The same problem,how to fix the bug with lastest version of Python and python-binance. |
Was able to fixed that issue by:replaced Full description -I did some kind of research, and what I've come to: First I allowed debug output for websocket, which is created in file binance/streams.py, line 87 adding
It allowed to verify that WS itself works fine, it receives data successfully, so seems it is a processing problem; I replaced Now lets try to understand if this change will affect the logic - Lets assume I want to sub to all prices update, and lets follow the flow:
However, that created socket is started by calling
So actually And Hope I haven't done any logical mistakes and hope it will help someone! |
Describe the bug
Basic example of ThreadedWebsocketManager doesn't work.
The console remains empty after long waiting.
To Reproduce
Code snippet to reproduce the behavior:
Expected behavior
I expected it to work :)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: