Skip to main content

A python3 binance API wrapper powered by modern technologies such as asyncio

Project description logo

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

Language grade: Python


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

# Linux/macOS
python3 -m pip install -U

# Windows
py -3 -m pip install -U

Alternatively you can build the package and install it manually:

python sdist bdist_wheel
python -m pip install dist/


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


  • Covers general endpoints (test connectivity and get exchange informations)
  • Covers market data endpoints
  • Covers Account endpoints (create and manage orders)
  • Covers user data stream (receive real time user updates)
  • Covers web socket streams (receive real time market updates)
  • Async support
  • Completely free and without limitations

What it does not

  • does not cover the withdraw API
  • does not cover the margin trading API

If you need these features, don't open an issue to ask me to implement them

Get started

  • Generate an API Key and assign relevant permissions.
  • import binance, create a client and send your first test order:
import binance

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,
await client.close()


FOSSA Status


  • ETH (ENS):
  • ETH (legacy address): 0x54c5a92c57A07f33500Ec9977797219D70D506C9
  • BTC: bc1qm9g2k3fznl2a9vghnpnwem87p03txl4y5lahyu

Powered by

martin binance

Free trading system for Binance SPOT market. Adaptive customizable reverse grid strategy based on martingale.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (13.9 kB view hashes)

Uploaded Source

Built Distribution (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page