feat: ECR-003 主站威科夫分析与图表叠层(已审)

独立 wyckoff 引擎 + 按需 include_wyckoff;主站 Lightweight 绘制区间/阶段/事件/VP。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-06 18:33:57 +08:00
co-authored by Cursor
parent df27b4dde8
commit 081a57a90e
30 changed files with 1330 additions and 52 deletions
+30
View File
@@ -0,0 +1,30 @@
# IMPLEMENTATION_REPORT — ECR-003
**Date:** 2026-08-06
**Status:** Implemented
**Change Level:** L2
## What changed
| Area | Change |
|------|--------|
| Engine | 新建 `chanlun/analysis/wyckoff/`:交易区间、AE 阶段、Spring/SOS/LPS/UTAD/SOW/LPSY、区间 VPPOC/VAH/VAL)、量能确认 |
| API | `/api/analyze` 按需 `include_wyckoff=1` 返回顶层 `wyckoff`;默认可不计算 |
| Contract | `analyze_contract_keys.json` 扩展为 required + optional_when |
| UI | 主站「威科夫」及子项开关;Lightweight 绘制区间/阶段/事件/VP |
| Tests | `tests/test_wyckoff.py`;契约 HTTP opt-in |
## Compatibility
- 缠论算法与 golden 基线未改
- `/api/analyze` 既有字段未删;`wyckoff` 仅 opt-in
- 未改 `config/` / `strategies/`;未改 `/chan_tv`
## Tests
`docs/TEST_REPORT/ECR-003.md`
## Follow-ups
- CODE_REVIEW Approve
- 启发式参数(ATR 容差、lookback)后续可调