{"repo":"oliver-zehentleitner/unicorn-binance-websocket-api","free":true,"listed":false,"github":"https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api","clone":"git clone https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api.git","description":"A Python SDK to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, com-vanilla-options+testnet, com-portfolio_margin, us, tr) in a simple, fast, flexible, robust and fully-featured way.","language":"Python","stars":736,"topics":["python","binance-websocket","webstream","websocket","binance","asyncio","binance-dex","binance-chain","binance-us","binance-futures"],"license":"MIT","category":"trading","readme_excerpt":"UNICORN Binance WebSocket API Description Installation Documentation Examples Change Log Wiki Social Notifications Bugs Contributing Disclaimer A Python SDK to use the Binance Websocket API s (com+testnet, com-margin+testnet, com-isolated margin+testnet, com-futures+testnet, com-coin futures, com-vanilla-options+testnet, com-portfolio margin, us, tr) in a simple, fast, flexible, robust and fully-featured way. Part of 'UNICORN Binance Suite'. Receive Data from Binance WebSockets Create a multiplex websocket connection to Binance with a stream buffer with just 3 lines of code And 4 more lines to print out the data Or with a callback function just do Or with an async callback function just do Or await the stream data in an asyncio coroutine All the methods of data collection presented have their own advantages and disadvantages. However, this is the generally recommended method for processing data from streams. Basically that's it, but there are more options. Receive private UserData Streams Create a private !userData stream to receive account updates like order fills, balance changes and position updates in real time. A valid api key and api secret is required. Set the credentials globally on the manager All streams created on this manager inherit the credentials: Or pass the credentials per stream Useful when running multiple !userData streams with different API keys on the same manager: Per-stream credentials override the manager defaults. Isolated Margin additionally require","default_branch":null,"files":null,"tree":[],"storefront":"/r/oliver-zehentleitner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oliver-zehentleitner/unicorn-binance-websocket-api/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."}