R0413: PASS
Rule: When price vs prior-day high > -0.22% (≈-54 pts at 25,000) AND price vs prior-day low > +0.25% (≈+63 pts at 25,000) AND CPR width ≤ 0.35% (≈89 pts at 25,000) at 09:45
Target: price reaches the prior-day high after 09:45 (days not yet at PDH) · Decision time: 09:45 IST (uses bars up to 09:45 only) · Method: rulefit · Family: level / structure
Verdict criteria
- ✔ Out-of-sample lift in the same direction as train
- ✔ OOS Wilson 95% CI excludes the OOS base rate
- ✔ OOS BH q ≤ 0.05 across all candidates tested OOS AND within its target family
- ✔ Train BH q ≤ 0.05 (across all hypotheses searched)
- ✔ Stable by year (same direction in ≥80% of years with ≥10 days, incl. every OOS year with ≥10)
- ✔ OOS matched-random placebo p ≤ 0.05
- ✔ OOS sample ≥ 20 days
Train p 2.6e-10; train BH q 7.6e-08; train Holm 0.002 (corrections over all 9,242,869 hypotheses); whole-pipeline shuffled-label placebo family-wise p 0.010 (100 permutations). Extra conditions beat the best single condition OOS: True.
By year
| year | rule days | hit | base (all days) | lift |
|---|---|---|---|---|
| 2022 | 6 | 83% | 20% | 4.11 |
| 2023 | 15 | 73% | 22% | 3.28 |
| 2024 | 11 | 82% | 28% | 2.91 |
| 2025 (OOS) | 15 | 87% | 22% | 3.94 |
| 2026 (OOS) | 8 | 75% | 17% | 4.46 |
Spot-points backtest (estimated costs)
enter long at 09:45 price, take profit at PDH; stop 0.4% of entry; exit at close. Costs: Nifty futures round-trip model from nifty-setups-backtest/src/costs.py (brokerage, exchange, SEBI, stamp, GST, STT by date: 0.0125% → 0.02% from Oct-2024 → 0.05% from Apr-2026) + 0.5 pt slippage per side; spot used as a futures proxy (basis ignored); stop-first on ambiguous bars.
| window | trades | win rate | avg net pts | avg gross pts | total net | max DD pts | PF |
|---|---|---|---|---|---|---|---|
| train 2022–24 (in-sample) | 32 | 78% | -1.1 | +4.9 | -36.3 | +110.9 | +0.9 |
| OOS 2025–26 | 23 | 70% | +0.7 | +10.8 | +15.3 | +137.1 | +1.0 |

trades.csv · Generated 2026-10-10 00:44 IST.