UNICORN Binance Suite

Get professional and fast support

Github GitHub Release GitHub Downloads Conda Release Conda Downloads PyPi Release PyPi Downloads License Supported Python Version PyPI - Status Azure Pipelines Read the Docs Read How To`s Telegram Gitter


UNICORN Binance Suite

Description | Installation | How To | Change Log | Documentation | Social | Notifications | Bugs | Contributing | Leave a review | Leave a review | Disclaimer


The UNICORN Binance Suite is a collection of open source Python packages that are useful for creating automated trading systems (bots) that connect to the Binance API.

  • UnicornFy: Convert received raw data from crypto exchange API endpoints into well-formed python dictionaries.
  • UNICORN Binance Local Depth Cache: A local Binance DepthCache Manager for Python that supports multiple depth caches in one instance in a easy, fast, flexible, robust and fully-featured way.
  • UNICORN Binance REST API: An unofficial Python API to use the Binance REST API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, us, tr) in a easy, fast, flexible, robust and fully-featured way.
  • UNICORN Binance Trailing Stop Loss: A Trailing Stop Loss Python Lib and Command Line Tool as well as a standalone version for Windows and Mac that does not require an installed Python environment.
  • UNICORN Binance WebSocket API: An unofficial Python API to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a easy, fast, flexible, robust and fully-featured way.

If you like the project, please star it on GitHub!

Installation and Upgrade

If you run into errors during the installation take a look here.

A wheel and a source file of the latest release with pip from PyPI

python3 -m pip install unicorn-binance-suite --upgrade --force-reinstall

The --upgrade flag will not update the unicorn-binance-suite dependencies unless you add the --force-reinstall flag.

A conda package of the latest release with conda from Anaconda via CONDA-FORGE.

conda install -c conda-forge unicorn-binance-suite

conda update -c conda-forge unicorn-binance-suite

From source of the latest release with PIP from Github

Linux, macOS, ...

Run in bash:

pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-suite/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-suite/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade


Use the below command with the version (such as 1.1.0) you determined here:

pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-suite/archive/1.1.0.tar.gz --upgrade

From the latest source (dev-stage) with PIP from Github

This is not a release version and can not be considered to be stable!

pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-suite/tarball/master --upgrade

Conda environment, Virtualenv or plain Python

Download the latest release or the current master branch and use:

  • ./environment.yml
  • ./requirements.txt
  • ./setup.py

Change Log


Please look for the information in the README.md of the responsible subrepository.


Please look for the information in the README.md of the responsible subrepository.


Project Homepage





Receive Notifications

Follow us on Twitter or on Facebook for general news about the unicorn-binance-suite!

Please look for the information in the README.md of the responsible subrepository for spezific notifications.

How to report Bugs or suggest Improvements?

Please look for the information in the README.md of the responsible subrepository.


Please look for the information in the README.md of the responsible subrepository.

You want to say Thank You?

We hope you are enjoying using our libraries and that they are proving to be useful to you. If you have a moment, we would greatly appreciate it if you could leave us a review on Google. Thank you for your support!


This project is for informational purposes only. You should not construe this information or any other material as legal, tax, investment, financial or other advice. Nothing contained herein constitutes a solicitation, recommendation, endorsement or offer by us or any third party provider to buy or sell any securities or other financial instruments in this or any other jurisdiction in which such solicitation or offer would be unlawful under the securities laws of such jurisdiction.

If you intend to use real money, use it at your own risk!

Under no circumstances will we be responsible or liable for any claims, damages, losses, expenses, costs or liabilities of any kind, including but not limited to direct or indirect damages for loss of profits.

SOCKS5 Proxy / Geoblocking

We would like to explicitly point out that in our opinion US citizens are exclusively authorized to trade on Binance.US and that this restriction must not be circumvented!

The purpose of supporting a SOCKS5 proxy in the UNICORN Binance Suite and its modules is to allow non-US citizens to use US services. For example, Github actions with UBS will not work without a SOCKS5 proxy, as they will inevitably run on servers in the US and be blocked by Binance.com. Moreover, it also seems justified that traders, data scientists and companies from the US analyze binance.com market data - as long as they do not trade there.

Do you have any questions? We will be happy to answer them in our chat - usually you will receive an answer within a few minutes during our opening hours.

Arrange a free & no obligation consultation

Together we will clarify your needs and you will receive a detailed offer

Make an appointment now

Our Stack

Automation and Integration of Trading Platforms

REST API`s and Websockets

We specialize in connecting to crypto API endpoints and are maintainers of the UnicornFy, UNICORN Binance REST API and UNICORN Binance Websocket API for Python.

Binance, KuCoin, Pancakeswap, CoinMarketCap, CoinDesk, ...


Interactive Brokers


Yahoo Finance API


Boto3, Azure SDK, ...

AI / Neural Networks




Data Science



Infrastructure On-Prem or Cloud (AWS, Azure, ...)

Linux (hardened), EC2



Data Lakes

Serverless Microservices