简单的连接器,用于连接 Binance 公共 API
Collection of auto-generated Python SDK for Binance APIs.
Before using the SDK, ensure you have:
binance-sdk-algo)binance-sdk-alpha)binance-sdk-c2c)binance-sdk-convert)binance-sdk-copy-trading)binance-sdk-crypto-loan)binance-sdk-derivatives-trading-coin-futures)binance-sdk-derivatives-trading-options)binance-sdk-derivatives-trading-portfolio-margin)binance-sdk-derivatives-trading-portfolio-margin-pro)binance-sdk-derivatives-trading-usds-futures)binance-sdk-dual-investment)binance-sdk-fiat)binance-sdk-gift-card)binance-sdk-margin-trading)binance-sdk-mining)binance-sdk-nft)binance-sdk-pay)binance-sdk-rebate)binance-sdk-simple-earn)binance-sdk-spot)binance-sdk-staking)binance-sdk-stocks)binance-sdk-sub-account)binance-sdk-vip-loan)binance-sdk-wallet)binance-sdk-w3w-prediction)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:
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 SDK is provided by Binance on an "as is" and "as available" basis for use at your own risk. Binance makes no representations or warranties of any kind, whether express or implied, as to the operation of the SDK, its accuracy, reliability, completeness, or fitness for any particular purpose.
To the fullest extent permitted by law, Binance shall not be liable for any losses, damages, or expenses of any kind arising from or in connection with your use of, or inability to use, this SDK, including but not limited to any financial losses resulting from errors, bugs, interruptions, or inaccuracies in the SDK.
Your use of this SDK to access the Binance Platform is subject to the Binance API Key Terms and the Binance Terms of Use, which shall prevail in the event of any conflict with this disclaimer. You are solely responsible for any orders or transactions executed through the Binance Platform using this SDK.
This SDK is not intended to constitute investment advice or a recommendation to buy, sell, or hold any digital asset. You should independently evaluate and verify all information before acting.
This project is licensed under the MIT License - see the LICENSE file for details.
暂无开放 Issues,或尚未同步最近议题。