Th0rgal / binance.py

A python3 binance API (v3) wrapper powered by modern technologies such as asyncio. The project aims to rival python-binance.
https://th0rgal.gitbook.io/binance-py/
MIT License
60 stars 19 forks source link
asyncio binance python3


Binance.py logo

🦾 A python3 binance API wrapper powered by asyncio and python Decimals.

Language grade: Python

Get binance.py

To install the library, you can just run the following command:

# Linux/macOS
python3 -m pip install -U binance.py

# Windows
py -3 -m pip install -U binance.py

Alternatively you can build the package and install it manually:

python setup.py sdist bdist_wheel
python -m pip install dist/binance.py-X.X.X-py3-none-any.whl

Why binance.py?

The binance api is complex to grasp and using a wrapper saves time but also ensures that the right practices are adopted. Binance.py offers a modern and asynchronous solution.

Features

What it does not

Get started

client = binance.Client(API_KEY, API_SECRET) await client.load()

order = await client.create_order( "ETHPAX", binance.Side.BUY.value, binance.OrderType.MARKET.value, quantity="1", test=True, ) print(order) await client.close()


- Check some [examples](https://github.com/Th0rgal/binance.py/tree/master/examples)

## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTh0rgal%2Fbinance.py.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FTh0rgal%2Fbinance.py?ref=badge_large)

## Donate
- ETH (ENS): ``thomas.ethers.xyz``
- ETH (legacy address): ``0x54c5a92c57A07f33500Ec9977797219D70D506C9``
- BTC: ``bc1qm9g2k3fznl2a9vghnpnwem87p03txl4y5lahyu``

## Powered by binance.py
### [martin binance](https://github.com/DogsTailFarmer/martin-binance)
Free trading system for Binance SPOT market. Adaptive customizable reverse grid strategy based on martingale.