Skip to content
r.

unicorn-binance-websocket-api

oliver-zehentleitner/unicorn-binance-websocket-api · Public GitHub repository

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.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

unicorn-binance-websocket-api live demo screenshot
Captured from the live demo · 2026-11-03

About this project

Author-written excerpt from the project README.

A Python SDK to use the Binance Websocket APIs (com+testnet, com-margin+testnet, com-isolatedmargin+testnet, com-futures+testnet, com-coinfutures, com-vanilla-options+testnet, com-portfoliomargin, us, tr) in a simple, fast, flexible, robust and fully-featured way.

The Python package UNICORN Binance WebSocket API provides an API to the Binance Websocket APIs of Binance (+Testnet), Binance Margin (+Testnet), Binance Isolated Margin (+Testnet), Binance Futures (+Testnet), Binance COIN-M Futures, Binance European Options (+Testnet), Binance US and Binance TR and supports sending requests to the Binance Websocket API and the streaming of all public streams like trade, kline, ticker, depth, bookTicker, forceOrder, compositeIndex etc. and also all private userData streams which needs to be used with a valid apikey and apisecret from the Binance Exchange…

Use the UNICORN Binance REST API in combination.

Requirements and intended audience

A Python SDK to use the Binance Websocket APIs (com+testnet, com-margin+testnet, com-isolatedmargin+testnet, com-futures+testnet, com-coinfutures, com-vanilla-options+testnet, com-portfoliomargin, us, tr) in a simple, fast, flexible, robust and fully-featured way.

Not recorded: account, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-12. Source: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2026-10-12. Saved release: 2.16.1 · 2026-09-21. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories