ch11: add EVIDENCE#052 — signal-quality gate works across ALL years (2021-2026)

The signal-quality gate (hit-rate based on topk predictions) is the OPPOSITE
of the regime gate: it improves returns across every year, including bad ones.

Best config (hitrate_5d_0.50):
- 2026: +65.0% (base +25.5%)
- 2025: +72.1% (base +17.8%)
- 2024: +30.4% (base +8.2%)
- 2023: +54.7% (base -4.8%)
- 2021: +55.7% (base +18.4%)

The regime gate asked 'is the market calm?' (wrong question).
The signal-quality gate asks 'are my predictions accurate?' (right question).

Files:
- book/scripts/signal_quality_gate_bt.py (new)
- book/data/signal_quality_gate/ (new)
- book/EVIDENCE.md (EVIDENCE#052)
- book/CLAIMS.md (updated)
- book/chapters/11-walk-forward-and-guards.md (Guard 7 section)
This commit is contained in:
zhaoli
2026-08-20 22:49:45 +00:00
parent 8f7ce7bd8e
commit c367e25889
6 changed files with 1103 additions and 6 deletions
+1
View File
@@ -85,6 +85,7 @@ Experiments 8–18 record metrics under a legacy schema (`ls_sharpe`, `maxdd_wit
| ID | Claim | Source | Verified? |
|----|-------|--------|-----------|
| EVIDENCE#051 | Comprehensive model search: queried all MLflow experiments/runs, ranked by RankICIR. Top models: exp 36/44 (label22d, RankICIR 0.507, single-window 2026 only), exp 35/51 (label10d, RankICIR 0.352, single-window), exp 58 (adaptive-2y, RankICIR 0.289), exp 11 (single-seed, RankICIR 0.276). Exp 52 walk-forward configs rank near the top among multi-year models (RankICIR 0.244). The 22-day label models have highest IC but negative returns (−4.6%) — high IC does not guarantee profitable trading. The regime gate study (EVIDENCE#050) is robust to model selection because it measures market-level features, not model predictions. Selection bias is not material: the best-return model (Config C) also has the best RankICIR among walk-forward configs. | `rd_exp_list` query across all MLflow experiments, run metadata from `rd_exp_get_run` for exp 11/33/36/58/52 | yes — robustness check |
| EVIDENCE#052 | Signal-quality gate (hit-rate based on topk predictions): gates trades based on whether the model's recent topk predictions were correct. **Every config improves returns across ALL years** — including bad years (2023: −4.8% → +54.7%, 2024: +8.2% → +30.4%). Best config (`hitrate_5d_0.50`): 2026 +65.0% (base +25.5%), 2025 +72.1% (base +17.8%), 2024 +30.4% (base +8.2%), 2023 +54.7% (base −4.8%), 2021 +55.7% (base +18.4%). Gate trips ~40–50% of days. The regime gate (EVIDENCE#050) failed because it asked "is the market calm?" — the signal-quality gate asks "are my predictions accurate?" and succeeds. The model's predictions ARE informative; they just need to be gated on their own accuracy. | scripted simulation: `book/scripts/signal_quality_gate_bt.py`, results `book/data/signal_quality_gate/signal_quality_gate_results.csv`, pred.pkl from exp 52 (2024–2026) and exp 56 (2021, 2023) | yes — signal-quality gate PROVEN |
## External references (book/references/)