A 股量化实验室

基于 zvt 框架的 A 股量化一站式实验室:覆盖数据采集、因子研究、回测执行 31 个典型场景,内置 47 条 anti-pattern 约束。仅限中国 A 股。

✓ 0 人报告成功·v0.1.3·

晶体简介

A 股量化实验室是基于 zvt(github.com/zvtvz/zvt)框架的一站式中国 A 股量化研究工具。从数据采集、因子研究到回测执行,全流程打通。覆盖 31 个典型用例:跟踪机构和基金持仓变动、批量采集上市公司财报、同步指数成分股(SZ1000/SZ2000 等),以及 MACD 金叉死叉、均线多头排列、量能突破等择时策略。 支持数据源包括 eastmoney(免费)、joinquant(付费)、baostock(免费历史数据)、akshare(聚合)、qmt(券商接口)。框架原生支持 A 股、港股、数字货币,但美股数据质量一般不推荐。 本 skill 自带 47 条 anti-pattern 约束,覆盖除权因子异常、Token 失效静默失败、API 限流吞噬异常等常见陷阱。宿主 AI(Claude Code / Cursor 等)装载后自动应用这些规则,避免生成常见错误代码。

Blueprint Source

finance-bp-009

zvtvz/zvtf971f002 source files

Constraints

81total
34fatal
34 must-not-violate

Evidence Quality

Confidence87%

Medium confidence — review before critical use

34 条不可违反的约束

FATALdomain_rulefinance-C-001

WHENWhen implementing a new Recorder subclass

ACTIONdefine the provider and data_schema class attributes

CONSEQUENCERecorder will fail initialization with assertion error if provider or data_schema is None, preventing any data recording operations

FATALdomain_rulefinance-C-002

WHENWhen implementing EntityEventRecorder subclass

ACTIONdefine entity_provider and entity_schema class attributes

CONSEQUENCEEntityEventRecorder will fail initialization with assertion error if entity_provider or entity_schema is not defined, breaking entity discovery and data recording

FATALdomain_rulefinance-C-003

WHENWhen generating entity identifiers

ACTIONfollow the {entity_type}_{exchange}_{code} format for entity_id

CONSEQUENCEEntity ID decoding functions (decode_entity_id, get_entity_type, get_entity_exchange, get_entity_code) will return incorrect values, breaking downstream data filtering and entity matching across all ZVT components

常见问题

讨论 (0)

暂无讨论,成为第一个发言的人吧!

更新历史

v0.1.32026-04-23·贡献者: tangweigang-jpg

v0.1.3: 首次发布到 Doramagic.ai。双语元数据 + 47 条 anti-pattern 约束(均有 GitHub issue 来源)+ 3 条 FAQ。中国 A 股量化研究全流程覆盖。