feat: 策略复盘闭环 Phase1

- 新增 scripts/strategy_review.py: 遍历所有active策略
  - 腾讯API实时价对比止损/止盈/入场点
  - 分类: correct/wrong/partial/pending
  - 失败模式归因: 止损过紧/入场过早/止盈过远等
  - 写入 accuracy_stats 表(首条真实数据)
- 新增 docs/strategy-review-loop.md: 完整闭环设计文档
- 含失败模式→修复方向映射表

Phase1 结果: 38条策略, 94.7%准确率(19条待定), 1条止损过紧
This commit is contained in:
知微
2026-06-25 19:58:00 +08:00
parent 147d6d0fa2
commit b053103377
35 changed files with 56075 additions and 51863 deletions
+10
View File
@@ -51,6 +51,11 @@
"content": "• 黄金ETF(518880) 8.91 — 金价高位但ETF深套-26.9%,暂持有",
"report_id": "cron_99c06255590a_2026-06-22_08-37-35"
},
{
"time": "2026-06-25T08:55:46.556482",
"content": "**黄金ETF(518880)** — 贵金属板块暴跌预警,深套30%但仓位仅2.5%,暂持有不动。",
"report_id": "cron_99c06255590a_2026-06-25_08-33-37"
},
{
"time": "2026-06-02T12:55:54.834592",
"content": "| 黄金ETF(518880) | 9.323 | -0.22% | 2.14% | 深套持有,止损9.0 |",
@@ -481,6 +486,11 @@
"content": "**3. 黄金ETF(518880) 8.908(-0.55%)** — 浮亏-26.93%,此前已破止损9.54未收复。黄金近期承压下行,不加仓不补",
"report_id": "cron_d42f2ce3b479_2026-06-18_20-14-45"
},
{
"time": "2026-06-25T08:55:46.625230",
"content": "**A股**:大盘弱势(仅13.3%板块上涨)。黄金ETF 518880(8.52,-0.26%)深套持有;紫金矿业(27.65,-0.36%)深套持有;华恒生物(21.4,-1.97%)微套;中科电",
"report_id": "cron_d42f2ce3b479_2026-06-24_20-04-19"
},
{
"time": "2026-06-01T10:25:54.503460",
"content": "黄金ETF华安(518880) 仓位2.16% +2.73%→ 持有,金价支撑",