Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BulletTrade

BulletTrade Logo

PyPI version Python version License

BulletTrade 是一个专业的量化交易系统 Python 包,提供完整的回测和实盘交易解决方案。

简体中文 | 完整文档

✨ 核心特性

  • 🔄 聚宽兼容from jqdata import *
  • 📊 多数据源:JQData、MiniQMT、TuShare、本地缓存、远程 QMT server,以及 Beta 版 RQData/easy_tdx 均可切换。
  • ⚡ 回测 & 报告:分钟/日线回测、真实价格撮合、HTML/PDF 报告一键生成。
  • 💼 实盘接入:本地 QMT、远程 QMT server、模拟券商按需选择。
  • 🧩 可扩展:数据/券商接口基于抽象基类,便于自定义实现。

🚀 新手应该先看什么

如果只是运行量价策略,例如 ETF 策略,通常不需要额外购买数据,也可以在本地完成回测和运行。涉及财务数据、小市值等策略时,可以按自己的数据条件选择聚宽、TuShare 或自定义数据源,社区里也有不少用户改成 TuShare 等数据源后正常使用。

建议按下面顺序阅读:

  1. 安装 Python 和运行环境:先把本地 Python、虚拟环境和依赖准备好。
  2. 新手入门总览:如果需要实盘,先看这里判断应该选择方案 A 还是方案 B。
  3. 方案 A:BulletTrade 本地独立运行:策略直接在本地 BulletTrade 里运行,并连接本地 QMT 执行交易。
  4. 方案 B:聚宽模拟盘运行策略:策略在聚宽模拟盘运行,BulletTrade 负责接收信号并在本地 QMT 执行交易。

📖 文档

🔗 链接

📄 许可证

MIT License

联系与支持

如需交流或反馈,低佣开通QMT等,可扫码添加微信,并在 Issue/PR 中提出建议:

微信二维码

⚠️ 风险提示: 量化交易存在高风险,因策略、配置或软件缺陷/网络异常等导致的任何损失由使用者自行承担,请先在仿真/小仓位充分验证。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bullet_trade-0.10.0b1.tar.gz (811.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bullet_trade-0.10.0b1-py3-none-any.whl (883.4 kB view details)

Uploaded Python 3

File details

Details for the file bullet_trade-0.10.0b1.tar.gz.

File metadata

  • Download URL: bullet_trade-0.10.0b1.tar.gz
  • Upload date:
  • Size: 811.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for bullet_trade-0.10.0b1.tar.gz
Algorithm Hash digest
SHA256 3154473ddb0fb67d122d26e727b8b7316538a5195fcddfeb882b51ee979a9a4a
MD5 d938b1ca4f6f77fc1b8c69eca1420d99
BLAKE2b-256 6a664d73558da0db6cd2c26e8037938d1e4e7c0567d7007c20eccd2188fd692d

See more details on using hashes here.

File details

Details for the file bullet_trade-0.10.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for bullet_trade-0.10.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 927a4ffe1daa86f538b8e4ac80542eabbe521fe09908e9496ff691206e048160
MD5 3514e7315c7f68a8a75d75c9b65662f2
BLAKE2b-256 cfcf9d2fa54dfe2e70a1a4b5d364bda621da1a2f051ab1bacee9ebd833512383

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.0b1 This release

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.0

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page