独立 wyckoff 引擎 + 按需 include_wyckoff;主站 Lightweight 绘制区间/阶段/事件/VP。 Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
952 B
Markdown
31 lines
952 B
Markdown
# IMPLEMENTATION_REPORT — ECR-003
|
||
|
||
**Date:** 2026-08-06
|
||
**Status:** Implemented
|
||
**Change Level:** L2
|
||
|
||
## What changed
|
||
|
||
| Area | Change |
|
||
|------|--------|
|
||
| Engine | 新建 `chanlun/analysis/wyckoff/`:交易区间、A–E 阶段、Spring/SOS/LPS/UTAD/SOW/LPSY、区间 VP(POC/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)后续可调
|