Best-of-many test: skill, or the luck of the best version?
Find out in seconds whether luck alone could explain a backtest, once you count how many versions were tried before the winner was shown.
About this tool
Every backtest you are shown is the best of all the versions that were tried, and the count is almost never mentioned. A "simple" rule with 3 settings and 20 values each is really 8,000 versions.
This tool answers one question: if no version had any edge, how far would the best one get by luck alone, with the same number of versions, the same test length and the same volatility? Enter the claimed yearly return, the test years and the number of versions, and see where the result falls among 10,000 worlds with no edge, and how many versions luck needs to reach it.
What we found
From our research: we tested 8,000 versions of one breakout rule on the S&P 500 with dividends reinvested: buy at a new high over some number of days and above an average, sell at a new low. Each trade fills at the close that gave the signal, cash earns nothing, and each move in or out costs 0.02%. The best version in 2001–2015 made 6.8% a year against 5.0% for the index. In 2016–2025 it made 7.3% a year against 14.8%, and two in three of the other versions (5,363) did better.
Then we shuffled the same real daily returns into random order 200 times, so no pattern was left for any rule to find, and reran all 8,000 versions on each shuffle. In 147 of the 200 shuffles the best version beat the index over those 15 years. Of those 147, only 30 still beat it over the next 10 years.
These are results on historical data and simulated shuffles, not a strategy we run or sell.
How it works
Data: daily closes of the S&P 500 with dividends reinvested, updated automatically. Everything is computed in your browser; the numbers you enter are not sent anywhere.
The video's test: the tool reruns the 8,000 versions on the real market and on 200 shuffles with fixed random numbers (seeds 1 to 200), so the numbers are the same every time. Each trade fills at the close that gave the signal, and cash earns nothing. Filling at the next close, or paying cash the T-bill rate, leaves the result the same.
Checking a backtest: we simulate 10,000 worlds where no version has an edge. In each world every version makes "what it would make with no edge" plus random luck sized by its volatility, and we keep the best of the number of versions you entered. Settings of one rule move together, so for them we use a correlation of 0.8, measured on our rule's versions; different ideas are treated as independent. Then we count the worlds where the best version reached the claimed result, what is left after typical luck, and how many versions luck needs to reach it.
Limits: the model assumes a bell curve and luck sized by the whole volatility, including the part shared with the market, so it is strict when the no-edge return is the index. For settings of one rule it gave about 40% more luck than we measured on our rule's versions (6.6 vs 4.6 points a year). Real returns have more jumps and crashes. The tool cannot know how many versions were really tried, and a result beyond luck is not proof: the real test is years that were not used to build the strategy.
This tool is for education only, not financial advice.
Common questions
What counts as a "version"?
Every combination of settings is a version: a rule with 3 settings and 20 values each is 8,000 versions. Every market, period and idea that was tried and dropped counts too.
Why does the number of versions make a result worth less?
Because the return you are shown is the best of them. The more versions, the more likely one of them wins by chance alone, and that luck does not repeat on your money.
I don't know how many versions were tried. What now?
Look at "versions luck needs": if they tried at least that many, luck alone is enough to explain the result. And ask them directly: how many versions did you try before this one?
The result beat luck. Does that prove the strategy works?
No. More versions may have been tried than you were told, and markets change. The next test is years that were not used to build it, with real trading costs.
Is this investment advice?
No. The tool is for education only, not financial advice. Past results do not guarantee future results.