Skip to content

v0.2.0 — 研究级盘中行情快照

Choose a tag to compare

@RedHeartSecretMan RedHeartSecretMan released this 03 Aug 15:04
· 222 commits to main since this release

简体中文

摘要

新增通过稳定 entrypoint.py run --request seam 提供的研究级盘中行情快照。

变更

  • 新增 intraday_market_signal,只接受当前北京时间交易日的一只规范 SSE/SZSE A 股。
  • 使用通达信同一观测作为快照基准,腾讯作为必须成功的独立核心价格交叉观测。
  • 明确开盘/收盘集合竞价、连续竞价、午间休市、六十秒新鲜度、停牌与昨收语义。
  • 任一来源失败、陈旧、错证券、会话或价格类型不兼容、核心价格冲突时失败关闭。
  • 两个来源 operation 仍为实验来源,正常结果最高为 limited,单次 live probe 不构成生产准入。
  • mootdx==0.11.7 仅为盘中与 F10 能力范围内的锁定可选依赖;缺失时只阻断相关能力。
  • 中英文 README 固定安装到 v0.2.0 标签,新增不保存来源响应的盘中请求案例和独立发布审计。

验证

发布提交:697f0db。发布前验证 54 项聚焦测试、521 项 Python 3.12 全量离线测试、Ruff(138 个文件)、strict mypy(48 个源文件)、Skill validator 和 diff check;远程标签干净克隆的盘中/分发测试、strict mypy 与 Skill validator 均通过。

English

Summary

Adds a research-grade intraday market snapshot behind the stable entrypoint.py run --request seam.

Changes

  • Add intraday_market_signal, accepting only one canonical SSE/SZSE A-share for the current Beijing-time trading day.
  • Use the same TDX observation as the snapshot basis, with Tencent as a mandatory successful independent core-price cross-check.
  • Define opening/closing auction, continuous trading, lunch break, sixty-second freshness, suspension and previous-close semantics.
  • Fail closed on source failure, staleness, wrong security, incompatible session or price type, or core-price conflict.
  • Both source operations remain experimental with normal results capped at limited; a single live probe is not production admission.
  • mootdx==0.11.7 remains a locked optional dependency for intraday and F10 scope only; when missing it blocks only those capabilities.
  • Pin the bilingual README install to the v0.2.0 tag and add an intraday request case that stores no source responses plus a standalone release audit.

Verification

Release commit: 697f0db. Before release, 54 focused tests, 521 Python 3.12 offline tests, Ruff (138 files), strict mypy (48 source files), the Skill validator and diff check were re-verified; the clean-clone intraday/distribution tests, strict mypy and the Skill validator on the remote tag all pass.