If you search through many trading rules and pick the best one, the best one will look good even when no rule has an edge. Halbert White's Reality Check, published in 2000, is a formal way to deal with that, and it's worth understanding even if you never run it.
The setup: you have a benchmark (it could be simply not trading, or buy-and-hold) and a whole universe of rules you tested. For each rule, you compute its performance relative to the benchmark. The question is not "did the best rule beat the benchmark?" but "is the best rule's advantage bigger than what you'd expect from the best of this many rules if none of them had any edge?"
To answer it, the test uses a bootstrap. It resamples the data many times, in blocks to keep some of the time structure, and in each resample records how well the best rule does after centring everything so no rule has a true edge. That builds a distribution of "best of the bunch by luck", and you compare the real best result against it.
Peter Hansen's Superior Predictive Ability test, from 2005, refines this. The Reality Check can be made weaker by including lots of obviously bad rules in the universe, since they widen the luck distribution. Hansen's version reduces the influence of clearly poor rules, which makes the test more powerful.
A well-known study by Sullivan, Timmermann and White applied this to thousands of technical rules on the Dow over a long history. Some rules looked significant in the earlier data even after the correction, but that advantage did not hold up in the later period they tested.
The lesson for a scalper is the same as with any multiple-testing problem: the bigger the search, the more you need to discount the winner, and the more weight a clean out-of-sample test deserves.
White's Reality Check and Hansen's SPA test: asking whether the best rule beat the benchmark by luck
-
Shadow Trader
- Posts: 6144
- Joined: Wed Sep 09, 2026 5:19 pm