R0787: 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 13:00 (either direction) ≥ 0.64% (≈160 pts at 25,000) AND opening gap vs prior close ≤ +0.04% (≈+9 pts at 25,000) AND range so far (high−low since 09:15) ≥ 1.04% (≈260 pts at 25,000) at 13:00

Target: the day closes more than 150 pts beyond the open in the direction of the move so far  ·  Decision time: 13:00 IST (uses bars up to 13:00 only)  ·  Method: subgroup  ·  Family: level / structure

88%train hit (n=40) vs base 21% · lift 4.23
85%OOS hit (n=26) vs base 28% · lift 3.02
[66%–94%]OOS Wilson 95% CI
1.0e-07OOS BH q (all) · family BH q 6.1e-08 · Holm 2.8e-06
5.0e-04OOS matched-random placebo p

Verdict criteria

Train p 4.7e-19; train BH q 1.1e-15; train Holm 4.4e-12 (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

yearrule dayshitbase (all days)lift
20221878%26%3.04
2023683%10%8.47
202416100%26%3.77
2025 (OOS)1090%27%3.38
2026 (OOS)1681%30%2.72

Spot-points backtest (estimated costs)

enter at 13:00 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)4065%+13.5+19.7+539.4+224.0+1.6
OOS 2025–262646%-9.7+1.3-251.2+271.6+0.7

equity curve

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