sammchardy/python-binance

AlgoScore
77
Use it
★7.2k
Forks2.3k
Issues+PR533
Push6 mo
LicenseMIT

Editorial verdict Use itchecked 05.12.2026

What it is good at

A long-running Binance API wrapper with a large body of examples around the web. It covers spot, margin, futures, portfolio margin, options, wallet endpoints (deposits, withdrawals), and historical klines over any range with a generator for long downloads. You get a synchronous Client and an asynchronous AsyncClient, WebSocket stream managers, and a DepthCacheManager that maintains a local order book copy. It supports testnet (testnet=True), demo trading (demo=True), proxies for REST and WebSocket, a verbose mode for request debugging, and a tld parameter for Binance US and other domains. RSA and EdDSA keys are supported. Futures algo orders arrived between December 2025 and February 2026, followed by LLM-friendly docs in March 2026. The README states the project is powered by CCXT.

Weak spots

Being unofficial, it picks up new Binance endpoints with a delay, and an API change can leave a method broken until the next release. The last release, 1.0.37, and the last push date from 8 June 2026, six months of silence, with fix pull requests (margin delist-schedule path, a time bound for aggregate_trade_iter) still unmerged. The open issue count is high; recent ones include a testnet DNS failure and deprecation warnings with websockets 14+. The README asks for version 1.0.20 or newer because older endpoints were retired. The README also carries referral sign-up links.

Who it is for

Traders who work only with Binance and want a familiar Python client with plenty of examples, a local order book and async streams. Good for history download scripts and small single-exchange bots.

Versus alternatives

Binance's official binance-connector-python is split into per-product packages and is actively updated, though it has fewer examples and community answers. ccxt gives you the same Binance through a unified API that ports to other exchanges, but lacks venue-specific helpers such as DepthCacheManager.

Security

The README openly demonstrates a withdraw call, so create your bot key without withdrawal rights, with an IP whitelist, and start with testnet=True or demo=True. Install the exact package python-binance and pin the version, as similar names exist on PyPI.

  • Latest release v1.0.37 — 8 Jun 2026
  • License: MIT
  • README requires version 1.0.20 or newer
  • Testnet (testnet=True) and demo trading (demo=True)
  • Official alternative: binance/binance-connector-python

Stars by day

Our star series started 05.12.2026: the chart appears after the second snapshot.

GitHub dataGitHub ↗

TopicExchange connectors
LanguagePython
Created14.08.2017
Last release08.06.2026
Releases / tags25 / —
Contributors190
Commits total / 90d1.5k / 0
Watchers218

AlgoScore breakdownmethodology →

Popularity16.6/20
Freshness6.4/20
Community20/20
Maturity15/15
Momentum—
Usage—

Topic neighboursExchange connectors →

#RepositoryAlgoScore★30d growthPushLabel
1 ccxt/ccxtA unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust 99 45k — today Use it
2 sieblyio/binanceNode.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & browser support, integration tests, beautification & more. 83 935 — 1 d
3 hummingbot/gatewayMiddleware that standardizes DEX API endpoints on different blockchain networks 82 267 — today
4 JKorf/Binance.NetC#/.NET client library for the Binance.com cryptocurrency exchange REST and WebSocket APIs, supporting Spot and Futures trading and market data with strongly typed models. 81 1.2k — 4 d
5 tardis-dev/tardis-machineLocally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs 76 314 — today
6 bmoscon/cryptofeedCryptocurrency Exchange Websocket Data Feed Handler 75 3.1k — today Use it
7 hyperliquid-dex/hyperliquid-python-sdkSDK for Hyperliquid API trading with Python. 75 1.9k — 1 d Use it
8 btrccts/btrcctsBackTest and Run CryptoCurrency Trading Strategies 75 158 — 1 d