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.8.1

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.8.1
File Size Uploaded
axile-0.8.1.tar.gz 2.5 MB Details

Built distribution (wheel)

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

Total release size: 3.6 MB

Release files / axile-0.8.1.tar.gz

Download URL axile-0.8.1.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d070974d69b332fe4d16736e854c58734a9833a9505d224dc547449b9426f8ff
BLAKE2b-256 checksum
How to use checksums
1bdceab36d32f65597641a8afe782273242cab270b102aa650079204f81232ee
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 14, 2026.

Transparency log

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

Download URL axile-0.8.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
88ed2ed977bbfaa418838ae5421e6be66fc8a53cea5051bd60b11da0825f8900
BLAKE2b-256 checksum
How to use checksums
fe7a96542bd9498b4aed255add239bb3db6fe580ab79db19903b9071f628b76c
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 14, 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

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.0

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