# unicorn-binance-websocket-api

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.

Canonical page: https://www.reposhelf.co.uk/projects/github/oliver-zehentleitner/unicorn-binance-websocket-api.html

- Project ID: oliver-zehentleitner/unicorn-binance-websocket-api
- Source: GitHub
- Original project: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api
- Description attribution: project author metadata
- Categories: Design, Portfolios &amp; personal sites
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-23T13:30:04.899Z
- Demo page loaded: 2026-11-23T18:01:23.125Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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.



## Author-documented requirements and 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.



- External API key — Required: A valid apikey and apisecret is required.
- External API key — Required: 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…

Not recorded: Account, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/README.md

Extraction checked: 2026-10-12T13:37:46.853Z

Last recorded source update: 2026-10-12T13:31:19.000Z

Saved release: 2.16.1 — 2026-09-21T09:52:34.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=oliver-zehentleitner%2Funicorn-binance-websocket-api). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
