Axile
Axile 是一个通过 Web UI 配置和运行的多渠道交易执行服务。
使用
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.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axile-0.14.0.tar.gz | 2.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axile-0.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.5 MB
Release files / axile-0.14.0.tar.gz
| Download URL | axile-0.14.0.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5eb22605077dce69647b92d2f0a1d0c67c14d265ee0f630aeb360a3ec73a6115
|
|
BLAKE2b-256 checksum How to use checksums |
4334e78b6df9ae20b2faf8bbefeea6b628f153d5feac4e4550f5d97da40f1d57
|
| 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 logRelease files / axile-0.14.0-py3-none-any.whl
| Download URL | axile-0.14.0-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8633e978e41a30b5169458739f67ab5cf9dc343467959cb42967d83740922841
|
|
BLAKE2b-256 checksum How to use checksums |
c640286ff4a70b74fb7604e36312eb4a3a2c48437db8a27a1cbe2d2a6f108df1
|
| 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