LUCIT-Systems-and-Development / unicorn-binance-websocket-api

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.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
685 stars 165 forks source link

StreamBuffer reset on restart #119

Closed oliver-zehentleitner closed 4 years ago

oliver-zehentleitner commented 4 years ago

https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/b05d41895e23bd089997ca5fc5f83e16693875cc/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py#L358

            if stream_buffer_name is not False:
                # Todo: Does the stream_buffer get reseted after a restart? It looks like that!
                self.stream_buffer_locks[stream_buffer_name] = threading.Lock()
                self.stream_buffers[stream_buffer_name] = []