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
684 stars 165 forks source link

Collect results and errors received via `ws.receive()` in a ring buffer #74

Closed oliver-zehentleitner closed 4 years ago

oliver-zehentleitner commented 4 years ago

Is your feature request related to a problem? Please describe. No way to get result and error msg if the worker thread is not handling it actively.

Describe the solution you'd like On every receive the lib should check if its error or result, if yes, put in a ringbuffer with e.g. last 500 receives.

Describe alternatives you've considered

Additional context