python-binance
python-binance copied to clipboard
Question about multiple sockets usecase
Hi,
I start a trade socket and a user data socket. My question is what happen if I infinity loop in the trade socket callback, will I receive events in the user data callback while looping in the trade socket ?
I saw that both sockets are ran in the same thread and callbacks are managed by Twisted but I'm afraid I missed something.
Greetings
Were you able to resolve this? I'm trying to listen to user data streams while listening to market data at the same time
I just made my callbacks threaded https://github.com/saurabhrb/python-binance/commit/3e30e3b5a577873fa975fc9d8b8578abf788f5a0