bagua (八卦量化)
本项目采用 Rust 编写核心引擎,通过零成本抽象实现极致性能。项目提供完整的量化交易功能,包括实时行情订阅、交易执行、策略回测等核心功能。同时提供 Python SDK,便捷开发和部署量化交易策略。
特性
- 🚀 高性能:使用 Rust 编写,提供极致的性能表现
- 🔧 模块化:包含多个独立模块,可根据需求灵活使用
- 🐍 Python 支持:提供 Python SDK,方便 Python 用户使用
- 💡 易用性:简洁的 API 设计,容易上手
- 🔒 安全性:利用 Rust 的安全特性,提供稳定可靠的交易环境
安装
使用 pip 安装:
pip install bagua-python-sdk
快速开始
# 示例代码将在后续补充
贡献指南
欢迎提交 Pull Request 或创建 Issue!
许可证
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情
联系方式
- 作者:husky-wealths
- 邮箱:husky@wealths.app
Metadata
Release files for bagua-python-sdk 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 5.6 MB
Release files / bagua_python_sdk-1.0.2-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.9 kB |
| Tags | Linux musl 1.2+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
cff599c803d4f9983003f1e07d2b43267a813ad257899bb29e087c31872bfc89
|
|
BLAKE2b-256 checksum How to use checksums |
4eba33636b63b548fee263cd6ce512d1e3ed95a1282eca65322cf74f52141a09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 172.1 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
6814fe235afb6cdba2933cf3992f779df6188b34494aef74deba71f27b4924fa
|
|
BLAKE2b-256 checksum How to use checksums |
1fe95d137f61cb5106f30be86a60eec4534a4621a22e54884423fd285bd3d8d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.9 kB |
| Tags | Linux musl 1.2+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
ce37246500fd6d4a3b8568d23fa9a8708927efd8f2e9e92dd48a2c69ca27bed4
|
|
BLAKE2b-256 checksum How to use checksums |
eed9a9cc6e2135b6633f355cb8fce2b9e51f443a44966489a28d560405415630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.3 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
14d95b4c806f48af59713393a8e32f32743bbf3c650e4868a6e144c704d1e72b
|
|
BLAKE2b-256 checksum How to use checksums |
7271e09a90b93d7d18732778f1a593c48b833c2fa03277fb0fbf950e1d50aebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.2 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f9003ee7dff307a2d3d029341d3a8342a0514946be63334c6f7f6e842b5a61c
|
|
BLAKE2b-256 checksum How to use checksums |
562497b25ce4f2bb3d949f374af01e9a3a3421541d807cc09d100d1ab55bf6ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 171.4 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
aa1a16d42158761362c7fb0b617c873018c5bf9e2ba1ce5bff769191af1c0330
|
|
BLAKE2b-256 checksum How to use checksums |
7127072962688519511b0ff37fe343e7f3648d2022bdbdfa9274acc648c77b0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | bagua_python_sdk-1.0.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 152.0 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8ff2654690ab84c154b39587d60969623302dc0945b6dc5b07cd697d018f9cf5
|
|
BLAKE2b-256 checksum How to use checksums |
2c62df921f0e875c1504c7d0822f0726f95a098cca8bfe586c6b48dc973843de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 160.1 kB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
acc78cd9df8cede047edb817d9a31c61093a497bf21bf1e99ad6fadff8c2b6a1
|
|
BLAKE2b-256 checksum How to use checksums |
f632f642ade674fb2ea471606317223e85e7fe127bc912b1944ddda9035328f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp312-cp312-win_amd64.whl
| Download URL | bagua_python_sdk-1.0.2-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 78.3 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2f26b8c4e7062fdbd46e5404ac905ef5ea5b01335d290897cd4921e86266d13f
|
|
BLAKE2b-256 checksum How to use checksums |
2b1543605ed712d94c42b4561afbe6e9eb44b763cece1c9a3343b4c6a0fa318a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.2 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
569dd4e58c10122908e4f77bb365bcfe8f99259207689f1093fe71750b7fbdbd
|
|
BLAKE2b-256 checksum How to use checksums |
df1da48f37696e8030ff8da6024cb815735672bc4be890e857350325def22054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 171.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1497e14bba9b8e1787a1cf84f1c1745f3f70db748e4bd66c068396d8c360d542
|
|
BLAKE2b-256 checksum How to use checksums |
b92e9e56a95868e6dc5122754d4e94106124345de3e58b154c303296c44c6722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | bagua_python_sdk-1.0.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 152.0 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
45f0d5a82e0d4d4e5b4c3888bb8178c05b68cc6dce3aadaf8f97291c95368aa5
|
|
BLAKE2b-256 checksum How to use checksums |
e19407aaa80365a31680d400fd7d669f92f64b9b40288963f520ba8d41db5ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 160.1 kB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1393f751ba3fb59d2c4f2ebb12d9f036b544649e64608862a96042392b7a17f6
|
|
BLAKE2b-256 checksum How to use checksums |
03b59b13c03a73ff846df367c033ddd56addb8995687531a90f59302bf412131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp311-cp311-win_amd64.whl
| Download URL | bagua_python_sdk-1.0.2-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 78.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d694d10b90a6f464e34ee58eddc802a48a07d09067c8a23e119466b8da48f371
|
|
BLAKE2b-256 checksum How to use checksums |
f97d733225a1a26d85cb87e92eea921ed8ed747f67e00fdbf061f805785c25e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.7 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
9c0a813396f1c877b720e5684e5a27a9f56c19f38b08d08e3f144507f2df253d
|
|
BLAKE2b-256 checksum How to use checksums |
8c59aabb43ecc73921d57ae3a1ca683a869cdb2571f6a81651db178f0d73d457
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 172.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
19ae103bdf1f264934fafa1340ba624b468f347d8c97e19141d0729f3dee0234
|
|
BLAKE2b-256 checksum How to use checksums |
686fce250c8de5d48e263b46df2cbd7588fd7ce3b6069dca15ce8fc36b069c11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | bagua_python_sdk-1.0.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 152.3 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
53af42e9f74568b9391db32ce19fb1c15d4f89cc1948a7f0ee2eaacb97720fe5
|
|
BLAKE2b-256 checksum How to use checksums |
505e2f363e2dcb209a3dc98b9d75368bb6f1924c0bdb85acd93fa40268f9fc38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 160.4 kB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
43ee9dd6cdc01ff9a7973059a439327d4278c0ba2edc3c03ead51a8564ec9866
|
|
BLAKE2b-256 checksum How to use checksums |
7db6f0b1e96cfbf972b4484bac0029125e2429a6faed9a09dc6d2862e7d12a3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp310-cp310-win_amd64.whl
| Download URL | bagua_python_sdk-1.0.2-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 78.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
452ed1a77e2943d689959510ac6314a0afc73177479d2e261f66033b5f05b928
|
|
BLAKE2b-256 checksum How to use checksums |
d900b0a52311b870566d3a3022f3facae678ece291f2acef507a894c5bf2305e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.9 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
8c121bdfc855f96f7dd5bc5f875d780c9edcd87ecc5d4cce7de6e169ae71cd0f
|
|
BLAKE2b-256 checksum How to use checksums |
687e70280959fc761d88ea0be7d3a23eb17c7a8d0b25cde89cac162cabc43599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 172.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4a0759e23eca021af0aa6d622bd36dd89ef154f9c65f0afa43c508768dd0a40
|
|
BLAKE2b-256 checksum How to use checksums |
80ba4791f6e9e9a44ac6431d5dd43a0604baa9aab948441216cce4e434c7a208
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp39-cp39-win_amd64.whl
| Download URL | bagua_python_sdk-1.0.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 78.9 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4610001d2dee5bd3205f71d2a9cac2b61c33ddb541f2678f3d9fcf9dc8d37ab8
|
|
BLAKE2b-256 checksum How to use checksums |
de99c0a42cf09d131b7b38c2b890941028965cfa24cb8b77c9b06a243e0e9830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.9 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
fd0c938d21d3f73f5837382daf767839d3583d6c25f810ad8929e7501232b14e
|
|
BLAKE2b-256 checksum How to use checksums |
e09c2f1f4c7151034e54424db73b9ca406f2b9610e434fb83788267c7a1642d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 172.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a73630a2e63ea5903bc6ae5e33b859309c5ef4b09faf6d2d1d0e5c2bc1903dc8
|
|
BLAKE2b-256 checksum How to use checksums |
33f0e9304907f6332beab2b980f1a257058199c384ec873188d8c8623a83b58f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp38-cp38-win_amd64.whl
| Download URL | bagua_python_sdk-1.0.2-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 78.8 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd79fe9f3ac0ea432c9bda37d4089600bf12d44a57406aeee21726094c59b604
|
|
BLAKE2b-256 checksum How to use checksums |
529d50de36cbb9094c0928ceaefff5a6f856089dcda68bb5ef3efdfa213d7e3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp38-cp38-musllinux_1_2_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp38-cp38-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 344.8 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
6b0f32c6afce73bccd53f487137b41308e323da35021f21d9057157c28f17559
|
|
BLAKE2b-256 checksum How to use checksums |
fbfd6ac2493b13c0d4828015e109a81127cc7667d8198f85cf92d3f8e39b72c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / bagua_python_sdk-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bagua_python_sdk-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 172.0 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
86f419a9ec900b7829328c1f6b862d77dd4b71dcbb1a85e04f2d7ea552de8a52
|
|
BLAKE2b-256 checksum How to use checksums |
aa72cb3566184cc18b5d725b7b2935cf2901d72d880e33a39c5dbb95b4a142d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|