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.6.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.6.0
File Size Uploaded
axile-0.6.0.tar.gz 2.4 MB Details

Built distribution (wheel)

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

Total release size: 3.5 MB

Release files / axile-0.6.0.tar.gz

Download URL axile-0.6.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
e8623558a31419d377e9d9c4537cd58b6be7a304c00c5b4f9c8d12ca3384444a
BLAKE2b-256 checksum
How to use checksums
7732cd14756dfb4981c6583514ee64cf87c9a3b9d1a3b8e1bf41a7a887410caf
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 8, 2026.

Transparency log

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

Download URL axile-0.6.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
29e4cabc0de24f93ad8cd44d1613974d993f88e28f80342711939c98078e4e96
BLAKE2b-256 checksum
How to use checksums
402d3b6c1b2c54419bba67bf9b416c632dbedd4f9bb61a11dda3ac2e0a6f6948
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 8, 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

0.7.0

2 release files

This release

0.6.0 This release

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