{"repo":"oliver-zehentleitner/unicorn-binance-local-depth-cache","free":true,"listed":false,"github":"https://github.com/oliver-zehentleitner/unicorn-binance-local-depth-cache","clone":"git clone https://github.com/oliver-zehentleitner/unicorn-binance-local-depth-cache.git","description":"A Python SDK for accessing and managing multiple local Binance order books with Python in a simple, fast, flexible, robust and fully featured way.","language":"Python","stars":52,"topics":["python","binance","depthcache","orderbook","bot-framework","unicorn-binance-suite"],"license":"MIT","category":"trading","readme_excerpt":"UNICORN Binance Local Depth Cache Description Installation Documentation Examples Change Log Wiki Social Notifications Bugs Contributing Disclaimer A Python SDK for accessing and managing multiple local Binance order books with Python in a simple, fast, flexible, robust and fully functional way. The organization of the DepthCache takes place in the same asyncio loop as the reception of the websocket data. The full stack of the UBS modules (REST, WebSocket and DepthCache) can be downloaded and installed by PyPi and Anaconda as a Python C extension for maximum performance. Part of 'UNICORN Binance Suite'. Using a DepthCache Create a local DepthCache for Binance with just 3 lines of code Get the asks and bids To obtain the complete order book Get the first X elements Retain the elements until volume X has been exceeded Catch an exception, if the DepthCache is out of sync while accessing its data Stop and delete a DepthCache: Stop ubldc after usage to avoid memory leaks When you instantiate UBLDC with with , ubldc.stop manager() is automatically executed upon exiting the with -block. Without with , you must explicitly execute ubldc.stop manager() yourself. Discover more possibilities. Connect to a UNICORN Binance DepthCache Cluster The UNICORN Binance DepthCache Cluster (UBDCC) manages thousands of DepthCaches with load balancing, automatic failover and self-healing state. It runs locally on a single machine ( pip install ubdcc ) or scales across a Kubernetes cluster. Access is v","default_branch":null,"files":null,"tree":[],"storefront":"/r/oliver-zehentleitner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oliver-zehentleitner/unicorn-binance-local-depth-cache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}