Skip to main content

Axile

Axile 是一个通过 Web UI 配置和运行的多渠道交易执行服务。

使用

需要 Python 3.12+、uv 和 Bun。

uv sync

cd ui
bun install
bun run build
cd ..

uv run axile

启动后访问 http://127.0.0.1:8000。

安全边界

Axile 是仅限本机单用户使用的服务,不提供应用级 API 鉴权。服务端及开发前端只允许绑定 回环地址;不得通过反向代理、端口转发或其他方式将服务暴露给网络或其他用户。若有远程或 多用户访问需求,须在独立部署中提供经过审查的访问控制,不能依赖 Axile 本身。

使用 CTP、GM 或天勤渠道时,分别在同步依赖时添加 --extra ctp、--extra gm 或 --extra tqsdk。GM SDK 仅支持 Windows x86_64 和 Linux x86_64;macOS 会自动跳过该依赖,因此无法使用 GM 渠道。

Shinny 交易日历已随默认安装提供,固定按自然日 00:00 物化 china 与 ashare,作为国内期货和 A 股共用的基础开闭市判断。内置节假日数据截至 2026-12-31,之后不会生成记录;需要交易所级调整时,请使用 CSV 或自定义函数覆盖。

天勤渠道支持实盘、快期模拟和本地模拟三种账户模式。组合中的国内衍生品代码沿用 CTP InstrumentID(如 rb2610);Axile 会在 TqSdk 执行器边界转换为 SHFE.rb2610。 本地模拟状态随日盘、夜盘前的常驻 Worker 重建而重置,需要持久模拟状态时使用快期模拟。

Metadata

Release files for axile 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axile 0.7.0
File Size Uploaded
axile-0.7.0.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for axile 0.7.0
File Interpreter ABI Platform
axile-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 MB

Release files / axile-0.7.0.tar.gz

Download URL axile-0.7.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
eec271e792ccdce810050325b9af5013495a28c92db34ba7ae2e07d1b6fb4e05
BLAKE2b-256 checksum
How to use checksums
05e47d260e397a1a3f5dd7867f0ec8bf7d689e8aa07e52fafc025101c67168b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Release files / axile-0.7.0-py3-none-any.whl

Download URL axile-0.7.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5946f3d9a21ab1f23d6cd0c7863ddcb557dcdb75ced012a905ae243c0d4f2bb3
BLAKE2b-256 checksum
How to use checksums
d02520655a9cbf2ab8a17cc0b9e40d9bc8201ad677d2b91ea79621bf66adbfc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.18.0

2 release files

0.17.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release 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