sammchardy/python-binance

Binance Exchange API python implementation for automated trading

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 minute ago
Added to GitGenius on September 9th, 2026
Created on August 14th, 2017
Open Issues & Pull Requests: 533 (+0)
GitHub issues: Enabled
Number of forks: 2,267
Total Stargazers: 7,207 (+0)
Total Subscribers: 219 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.9 hours
Mean response time: 48.7 days
90th percentile: 146.4 days
Tracked items: 129

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 76% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 45
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 886 days
Stale 30+ days: 45
Stale 90+ days: 45

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (16)
  • bug (4)
  • enhancement (4)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

python-binance is a Python wrapper for the Binance exchange REST API that enables automated trading and cryptocurrency market interactions.

The tool solves the problem of programmatically accessing Binance's trading and market data endpoints without building HTTP requests from scratch. It wraps Binance's REST API v3 and provides both synchronous and asynchronous implementations, handling authentication with support for RSA and EDDSA keys, automatic timestamp generation, and response exception handling. The wrapper includes features for demo trading, testnet access across Spot and Futures markets, websocket connections with automatic reconnection, and specialized functionality like margin trading, futures trading, portfolio margin trading, and the Gift Card API.

Developers should adopt this tool if they need to automate trading workflows or market data collection on Binance. It suits projects ranging from simple data fetching to complex trading bots, offering both REST and websocket interfaces. The asyncio support enables high-concurrency applications, while the symbol depth cache and historical kline fetching reduce the need for custom data management. The tool provides demo trading mode for testing strategies without real capital and testnet environments for pre-production validation.

The project maintains active engagement with its community through dedicated Telegram channels for chat and announcements. Development includes regular updates to track Binance API changes, with documentation of deprecated endpoints and migration guidance in the changelog. The codebase demonstrates comprehensive test coverage and includes example implementations showing both synchronous and asynchronous usage patterns.