R0876: PASS

Descriptive statistics, no trading costs in the probabilities (the backtest columns alone use estimated costs). Rules were discovered and tuned on 2022-01 → 2024-12 only, frozen, then tested once on 2025-01 → 2026-10. Millions of hypotheses were searched, so read the corrected p-values and the out-of-sample columns, not the training hit rates. Not investment advice; not a trading system.

Rule: When size of the move from the open to 14:30 (either direction) ≥ 0.45% (≈112 pts at 25,000) AND size of the opening gap ≤ 0.22% (≈55 pts at 25,000) at 14:30

Target: the day closes on the same side of the open as the move so far  ·  Decision time: 14:30 IST (uses bars up to 14:30 only)  ·  Method: subgroup  ·  Family: level / structure

100%train hit (n=110) vs base 87% · lift 1.15
100%OOS hit (n=88) vs base 91% · lift 1.10
[96%–100%]OOS Wilson 95% CI
9.7e-04OOS BH q (all) · family BH q 5.9e-04 · Holm 0.142
5.0e-04OOS matched-random placebo p

Verdict criteria

Train p 6.1e-07; train BH q 5.6e-05; train Holm 1.000 (corrections over all 9,242,869 hypotheses); whole-pipeline shuffled-label placebo family-wise p 0.277 (100 permutations). Extra conditions beat the best single condition OOS: False.

By year

yearrule dayshitbase (all days)lift
202225100%87%1.15
202339100%87%1.15
202446100%88%1.14
2025 (OOS)55100%92%1.08
2026 (OOS)33100%88%1.13

Spot-points backtest (estimated costs)

enter at 14:30 price in the move direction; 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.

windowtradeswin rateavg net ptsavg gross ptstotal netmax DD ptsPF
train 2022–24 (in-sample)11044%-5.0+1.4-544.7+1219.1+0.8
OOS 2025–268842%-3.6+6.4-314.1+757.5+0.8

equity curve

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