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.15.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.15.0
File Size Uploaded
axile-0.15.0.tar.gz 2.5 MB Details

Built distribution (wheel)

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

Total release size: 3.5 MB

Release files / axile-0.15.0.tar.gz

Download URL axile-0.15.0.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8c5472e5b6d0c3c7a91f72e35d7c980624da4bfe8e4accca6852a55f5d0485c1
BLAKE2b-256 checksum
How to use checksums
d95afc2dd5b43a9bdc90ef3fe8bff1991392353788192e40e1c92934f309258b
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 18, 2026.

Transparency log

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

Download URL axile-0.15.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b522cccd132a46df43e7994ea5f4c265353011001d825fbeddfb844c325c9a1c
BLAKE2b-256 checksum
How to use checksums
c7e057f7e7af8266dc7cda496b2b05cffeafba3e33c7151325fcc0312f0c0174
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.18.0

2 release files

0.17.0

2 release files

This release

0.15.0 This release

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

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