Collection of auto-generated Python SDK for Binance APIs.
Before using the SDK, ensure you have:
- Python (version 3.9 or later)
- pip (Python package manager)
- poetry (Python package manager)
- binance-sdk-algo - Algo Trading connector
- binance-sdk-c2c - C2C connector
- binance-sdk-convert - Convert connector
- binance-sdk-copy-trading - Copy Trading connector
- binance-sdk-crypto-loan - Crypto Loan connector
- binance-sdk-derivatives-trading-coin-futures - Coin Futures Trading connector
- binance-sdk-derivatives-trading-options - Options Trading connector
- binance-sdk-derivatives-trading-portfolio-margin - Portfolio Margin Futures Trading connector
- binance-sdk-derivatives-trading-portfolio-margin-pro - Portfolio Margin Pro Trading connector
- binance-sdk-derivatives-trading-usds-futures - USDs Futures Trading connector
- binance-sdk-dual-investment - Dual Investment connector
- binance-sdk-fiat - Fiat connector
- binance-sdk-gift-card - Gift Card connector
- binance-sdk-margin-trading - Margin Trading connector
- binance-sdk-mining - Mining connector
- binance-sdk-nft - NFT connector
- binance-sdk-pay - Pay connector
- binance-sdk-rebate - Rebate connector
- binance-sdk-simple-earn - Simple Earn connector
- binance-sdk-spot - Spot Trading connector
- binance-sdk-staking - Staking connector
- binance-sdk-sub-account - Sub Account connector
- binance-sdk-vip-loan - VIP Loan connector
- binance-sdk-wallet - Wallet connector
For detailed information, refer to the Binance API Documentation.
Each connector is published as a separate Python package. You can install them via pip
or poetry
. For example:
pip install binance-sdk-spot
poetry add binance-sdk-spot
Or to install multiple connectors:
pip install binance-sdk-spot binance-sdk-margin-trading binance-sdk-staking
poetry add binance-sdk-spot binance-sdk-margin-trading binance-sdk-staking
Since this repository contains auto-generated code using OpenAPI Generator, we encourage you to:
- Open a GitHub issue to discuss your ideas or report bugs
- Allow maintainers to implement necessary changes through the code generation process
This repository follows PEP 8 standards and enforces Black for formatting. Before submitting a pull request, format your code:
black .
Run type checks:
mypy .
If you're upgrading from the previous unified connector, refer to our Migration Guide for detailed steps on transitioning to the new modular structure.
This project is licensed under the MIT License - see the LICENSE file for details.