百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

binance-connector-python

> 编程语言
开源

简单的连接器,用于连接 Binance 公共 API

2.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

简单的连接器,用于连接 Binance 公共 API

Binance Python Connectors

Collection of auto-generated Python SDK for Binance APIs.

Prerequisites

Before using the SDK, ensure you have:

  • Python (version 3.10 or later)
  • pip (Python package manager)
  • poetry (Python package manager)

Available SDK

  • binance-sdk-algo - Algo Trading connector (Pypi package: binance-sdk-algo)
  • binance-sdk-alpha - Alpha connector (Pypi package: binance-sdk-alpha)
  • binance-sdk-c2c - C2C connector (Pypi package: binance-sdk-c2c)
  • binance-sdk-convert - Convert connector (Pypi package: binance-sdk-convert)
  • binance-sdk-copy-trading - Copy Trading connector (Pypi package: binance-sdk-copy-trading)
  • binance-sdk-crypto-loan - Crypto Loan connector (Pypi package: binance-sdk-crypto-loan)
  • binance-sdk-derivatives-trading-coin-futures - Coin Futures Trading connector (Pypi package: binance-sdk-derivatives-trading-coin-futures)
  • binance-sdk-derivatives-trading-options - Options Trading connector (Pypi package: binance-sdk-derivatives-trading-options)
  • binance-sdk-derivatives-trading-portfolio-margin - Portfolio Margin Futures Trading connector (Pypi package: binance-sdk-derivatives-trading-portfolio-margin)
  • binance-sdk-derivatives-trading-portfolio-margin-pro - Portfolio Margin Pro Trading connector (Pypi package: binance-sdk-derivatives-trading-portfolio-margin-pro)
  • binance-sdk-derivatives-trading-usds-futures - USDs Futures Trading connector (Pypi package: binance-sdk-derivatives-trading-usds-futures)
  • binance-sdk-dual-investment - Dual Investment connector (Pypi package: binance-sdk-dual-investment)
  • binance-sdk-fiat - Fiat connector (Pypi package: binance-sdk-fiat)
  • binance-sdk-gift-card - Gift Card connector (Pypi package: binance-sdk-gift-card)
  • binance-sdk-margin-trading - Margin Trading connector (Pypi package: binance-sdk-margin-trading)
  • binance-sdk-mining - Mining connector (Pypi package: binance-sdk-mining)
  • Deprecated: binance-sdk-nft - NFT connector (Pypi package: binance-sdk-nft)
  • binance-sdk-pay - Pay connector (Pypi package: binance-sdk-pay)
  • binance-sdk-rebate - Rebate connector (Pypi package: binance-sdk-rebate)
  • binance-sdk-simple-earn - Simple Earn connector (Pypi package: binance-sdk-simple-earn)
  • binance-sdk-spot - Spot Trading connector (Pypi package: binance-sdk-spot)
  • binance-sdk-staking - Staking connector (Pypi package: binance-sdk-staking)
  • binance-sdk-stocks - Stocks connector (Pypi package: binance-sdk-stocks)
  • binance-sdk-sub-account - Sub Account connector (Pypi package: binance-sdk-sub-account)
  • binance-sdk-vip-loan - VIP Loan connector (Pypi package: binance-sdk-vip-loan)
  • binance-sdk-wallet - Wallet connector (Pypi package: binance-sdk-wallet)
  • binance-sdk-w3w-prediction - W3W Prediction connector (Pypi package: binance-sdk-w3w-prediction)

Documentation

For detailed information, refer to the Binance API Documentation.

Installation

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

Contributing

Since this repository contains auto-generated code using OpenAPI Generator, we encourage you to:

  1. Open a GitHub issue to discuss your ideas or report bugs
  2. Allow maintainers to implement necessary changes through the code generation process

Code Style

This repository follows PEP 8 standards and enforces Black for formatting. Before submitting a pull request, format your code:

black .

Run type checks:

mypy .

Migration Guide

If you're upgrading from the previous unified connector, refer to our Migration Guide for detailed steps on transitioning to the new modular structure.

Disclaimer

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.

  • Binance Terms of Use
  • Binance API Key Terms

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonbinance-apiconnectorcryptolibrary

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言