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.
Is your feature request related to a problem? Please describe.
I'm creating a small webapp which will have users connecting via websockets to recieve data from binance.com. I intend to use userdata streams for this, but I noticed that binance has a limit of 1024 streams per connection.
Describe the solution you'd like
I'd like for there to be some exception raised when this limit is reached. I'd like to catch that and open a second connection to handle the extras(If that's even possible). Another solution could also be having the websocket manager automatically open a new websocket connection when the previous is saturated.
Describe alternatives you've considered
So far I've thought of keeping count of the number of streams added to an existing connection and creating a new one when the old one gets full.
Is your feature request related to a problem? Please describe. I'm creating a small webapp which will have users connecting via websockets to recieve data from binance.com. I intend to use userdata streams for this, but I noticed that binance has a limit of 1024 streams per connection.
Describe the solution you'd like I'd like for there to be some exception raised when this limit is reached. I'd like to catch that and open a second connection to handle the extras(If that's even possible). Another solution could also be having the websocket manager automatically open a new websocket connection when the previous is saturated.
Describe alternatives you've considered So far I've thought of keeping count of the number of streams added to an existing connection and creating a new one when the old one gets full.
Additional context Thats about it, thanks!