A 股量化实验室
基于 zvt 框架的 A 股量化一站式实验室:覆盖数据采集、因子研究、回测执行 31 个典型场景,内置 47 条 anti-pattern 约束。仅限中国 A 股。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
34 条不可违反的约束
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
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
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.3: 首次发布到 Doramagic.ai。双语元数据 + 47 条 anti-pattern 约束(均有 GitHub issue 来源)+ 3 条 FAQ。中国 A 股量化研究全流程覆盖。