Skip to main content

qteasy-ai 介绍

qteasy-ai 是 qteasy 的 独立 AI 编排外壳:自然语言 → ToolPlan → 用户确认 → 调用 qteasy API → 结构化结果。
它不修改 qteasy 回测/交易内核,仅作为可插拔的 skills + planner + executor 层。

当前版本:0.3.1。
用户指南:docs/USER_GUIDE.md。人工 smoke 见 docs/MANUAL_TEST.md。
协作规范与 Q-AI 计划真源仍在 qteasy 仓库的 .cursor/rules/ 与 .cursor/plans/。

与 qteasy 的关系

项目 职责
qteasy 数据、HistoryPanel、回测、优化、模拟实盘内核
qteasy-ai AI 外壳:SkillRegistry、Planner、PlanExecutor、只读/高副作用 skills
  • 依赖方向:qteasy-ai → qteasy(pip 安装 qteasy>=2.6.0)
  • 发布:两项目 独立 semver;qteasy 新版本 API 可由 qteasy-ai skills 增量适配

安装

pip install qteasy>=2.6.0
pip install qteasy-ai
# optional desktop Web + TUI
pip install "qteasy-ai[workbench]"

本地联调(两仓并列开发时):

pip install -e /path/to/qteasy
pip install -e /path/to/qteasy-ai

配置

优先使用环境变量(与 Stage A 设计一致):

  • QTEASY_AI_HOME — 本地记忆目录(profile / env_facts / runs)
  • QTEASY_AI_MODEL / QTEASY_AI_API_KEY / QTEASY_AI_BASE_URL — OpenAI-compatible Provider

详见 docs/USER_GUIDE.md、docs/tutorials/quickstart.md、docs/WORKBENCH.md。

开发

  • 本地建议与 qteasy 同一 Cursor multi-root 工作区(见 qteasy-ecosystem.code-workspace)
  • 规范与测试约定:沿用 qteasy .cursor/rules/(py39、unittest、用户可见信息英文等)
  • 更多说明:docs/dev-context.md、CONTRIBUTING.md

License

BSD-3-Clause(与 qteasy 相同)

Changelog

见 CHANGELOG.md。

Metadata

Release files for qteasy-ai 0.3.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 qteasy-ai 0.3.1
File Size Uploaded Provenance Actions
qteasy_ai-0.3.1.tar.gz 471.5 kB Without provenance Details for qteasy_ai-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qteasy-ai 0.3.1
File Interpreter ABI Platform Actions
qteasy_ai-0.3.1-py3-none-any.whl Python 3 none any Details for qteasy_ai-0.3.1-py3-none-any.whl

Total release size: 823.9 kB

Release files / qteasy_ai-0.3.1.tar.gz

Download URL qteasy_ai-0.3.1.tar.gz
Size 471.5 kB
Tags Source
SHA-256 checksum
How to use checksums
47d36d60747c4dbce720a3594c3d4957728162eb2f1880f254d36d62939f37b8
BLAKE2b-256 checksum
How to use checksums
cbd23c56f7fad6f74f6c359b900ee7c1b34ed100d9e62f76401583507c4cc01e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.19

Release files / qteasy_ai-0.3.1-py3-none-any.whl

Download URL qteasy_ai-0.3.1-py3-none-any.whl
Size 352.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9409ed080efa761fe4f13f2fa881eb35c092ca535766002220361a9a41ae158
BLAKE2b-256 checksum
How to use checksums
25f9885ff74cec417e6de3822bfd705229a0cefb16633e9b54ffd8315f2de1a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.19

Security for qteasy-ai 0.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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