股票形态筛选
股票形态筛选:使用7种技术形态检测器(杯柄、三周紧绑、高紧旗、VCP、NR7等)按确定性顺序扫描股票池,支持跨检测器评分校准与置信度聚合排序。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
44 条不可违反的约束
WHENWhen writing DataRequirements.merge() implementation
ACTIONUnion each boolean flags and select the longest price_period
CONSEQUENCEIncorrect merge logic causes missing data for some screeners. The union of needs (OR operation for booleans) ensures every screener receives data it requires, while the longest period accommodates all indicator lookbacks.
WHENWhen implementing data fetching with yfinance
ACTIONEnforce yfinance rate limit of 1 request per second
CONSEQUENCEExceeding the yfinance rate limit causes API errors and data fetch failures. The self-imposed 1 req/sec limit (settings.yfinance_rate_limit) prevents triggering provider-side throttling that could affect all users.
WHENWhen validating screener result scores
ACTIONenforce score values are in the 0-100 range via post-init validation
CONSEQUENCEScores outside 0-100 would cause incorrect composite calculations and corrupt rating thresholds, producing invalid stock recommendations
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。