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.
If someone wants to use two different !userData streams, then its much easier if they use their own stream_buffer.
Describe the solution you'd like
A switch to enable the use of an own stream buffer when creating a new stream like:
manager.create_stream("trade", "btcusdt", use_distinct_stream_buffer=True)
Receives are written to self.stream_buffers[stream_id] and can get accessed via pop_stream_data_from_stream_buffer(stream_id).
Is your feature request related to a problem? Please describe. If someone wants to use two different
!userData
streams, then its much easier if they use their ownstream_buffer
.Describe the solution you'd like A switch to enable the use of an own stream buffer when creating a new stream like:
manager.create_stream("trade", "btcusdt", use_distinct_stream_buffer=True)
Receives are written to
self.stream_buffers[stream_id]
and can get accessed viapop_stream_data_from_stream_buffer(stream_id)
.Describe alternatives you've considered
Additional context