@@ -113,7 +113,7 @@ async def main():
113113 stream_label="TRADES",
114114 process_asyncio_queue=process_asyncio_queue)
115115 while not ubwa.is_manager_stopping():
116- await asyncio.sleep(1)
116+ await asyncio.sleep(1)
117117
118118with BinanceWebSocketApiManager(exchange='binance.com') as ubwa:
119119 try:
@@ -334,6 +334,8 @@ parameter of
334334to control the output format.
335335
336336- Helpful management features like
337+ [ ` clear_asyncio_queue() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_asyncio_queue ) ,
338+ [ ` clear_stream_buffer() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_stream_buffer ) ,
337339[ ` get_binance_api_status() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_binance_api_status ) ,
338340[ ` get_current_receiving_speed() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_current_receiving_speed ) ,
339341[ ` get_errors_from_endpoints() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_errors_from_endpoints ) ,
@@ -357,7 +359,6 @@ to control the output format.
357359[ ` set_ringbuffer_error_max_size() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.set_ringbuffer_error_max_size ) ,
358360[ ` subscribe_to_stream() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.subscribe_to_stream ) ,
359361[ ` stop_stream() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_stream ) ,
360- [ ` stop_manager_with_all_streams() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_manager_with_all_streams ) ,
361362[ ` unsubscribe_from_stream() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.unsubscribe_from_stream ) ,
362363[ ` wait_till_stream_has_started() ` ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.wait_till_stream_has_started )
363364and many more! Explore them [ here] ( https://unicorn-binance-websocket-api.docs.lucit.tech/modules.html ) .
@@ -404,8 +405,8 @@ If you like the project, please [ !
405406
406407## Live Demo
407- This live demo script is streaming from [ binance.com] ( https://www.binance.com ) and runs on a * cx31 * virtual
408- machine of [ HETZNER CLOUD] ( https://www.hetzner.com ) - [ get 20 EUR starting credit! ] ( https:// hetzner.cloud/?ref=rKgYRMq0l8fd)
408+ This live demo script is streaming from [ binance.com] ( https://www.binance.com ) and runs on a * CCX13 * virtual
409+ machine of [ HETZNER CLOUD] ( https://hetzner.cloud/?ref=rKgYRMq0l8fd )
409410
410411[ Open live monitor!] ( https://www.lucit.tech/unicorn-binance-websocket-api-live-demo.html )
411412
@@ -486,25 +487,15 @@ Run in bash:
486487` pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade `
487488
488489#### Windows
489- Use the below command with the version (such as 2.8.0 ) you determined
490+ Use the below command with the version (such as 2.8.1 ) you determined
490491[ here] ( https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest ) :
491492
492- ` pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0 .tar.gz --upgrade `
493+ ` pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.1 .tar.gz --upgrade `
493494### From the latest source (dev-stage) with PIP from [ GitHub] ( https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api )
494495This is not a release version and can not be considered to be stable!
495496
496497` pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/tarball/master --upgrade `
497498
498- ### [ Conda environment] ( https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html ) , [ Virtualenv] ( https://virtualenv.pypa.io/en/latest/ ) or plain [ Python] ( https://www.python.org )
499- Download the [ latest release] ( https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest )
500- or the [ current master branch] ( https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/master.zip )
501- and use:
502-
503- - ./environment.yml
504- - ./pyproject.toml
505- - ./requirements.txt
506- - ./setup.py
507-
508499## Change Log
509500[ https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html ] ( https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html )
510501
0 commit comments