Intermediate · Prove it
Check whether a result is luck
A result that looks good can be one lucky stretch. Prove it attacks a finished result from several sides, and the sealed test keeps an idea's latest months apart until you have finished changing it.
The problem
Every time you change a rule after seeing a result, you fit it a little more closely to the past.
Fit it enough and the past looks good whether or not the rule has found anything.
Months that played no part in any of your changes are the one check that fitting cannot reach, so they are kept apart until you have finished.
Try enough rules, or enough settings of one rule, and one of them will look good by chance. A single result cannot tell you which kind you have.
Step by step
Finish a test
Run your idea in the Strategy Agent, or open a saved one on My Strategies.
Open Prove it
On the result, the Prove it section has one button. It shows its price before anything runs.
Read each attack
Each attack tries to explain the result another way, such as buying on random days, and says whether the result survived.
Open the sealed months
When you have finished changing the rule, press "I'm happy with it: open the sealed test" in the full report. It runs once, over months no test of the idea has looked at.
Watch it from today
Press "Track it with pretend money" and the rule meets prices that have not happened yet.
1 of 4On a finished result, the Prove it section has one button.
A worked example from a stored test
This is the report the engine produced for a golden cross on SPY, tested from 1 Oct 2021 to 24 Sep 2026. It made 328 test runs, and the rule survived 2 of 6 attacks.
- Random tries the rule beat
- Random tries that scored higher
- The rule
| Random-entry baseline | Did not survive |
|---|---|
| Placebo (shuffled prices) | Did not survive |
| Signal delay / look-ahead check | Survived |
| Triple trading costs | Did not survive |
| Parameter neighbourhood | Survived |
| Regime and sub-period stability | Did not survive |
In the random-entry attack, the rule's Sharpe ratio was higher than in 72% of the random runs. The pass mark is 90%, so it did not pass: buying and selling on random days, as often, did about as well.
Over a longer stretch the same rule lost to simply holding: a stored 10-year test of a golden cross on SPY ended at $27,277 against $40,513 for simply holding, from $10,000, 5 Oct 2016 to 1 Oct 2026. Prove it does not change a result. It shows what the result rests on.
What it cannot tell you
- Surviving every attack does not show that a rule will keep doing well. It shows the result did not fall apart under those attacks, on those years.
- Settings chosen on earlier years and run on later ones give only a few later stretches, fold by fold; few stretches cannot tell a choice that carries over from one that happened to suit them.
- The sealed test can be opened once per idea. After that, every test of the idea says so.
- Prove it costs more than one test, because it makes many runs. It shows its price first.
Try it
Run one of these, then open Prove it on the result. Nothing is sent until you press the button.
Golden cross strategy on SPY over the last 10 years
Try it: open the Strategy Agent with these words typed in, unsentBuy SPY when RSI(14) drops below 30 and sell when it rises above 70, over the last 10 years
Try it: open the Strategy Agent with these words typed in, unsentEvery month hold the 3 stocks with the best 12-month return among Apple, Microsoft, Nvidia, Alphabet, Amazon, Meta and Tesla, over the last 10 years
Try it: open the Strategy Agent with these words typed in, unsentRelated
- Core conceptsProve itProve it runs a finished result through harder tests, to see whether luck alone could explain it.
- Core conceptsThe sealed testWhen you first test an idea, Quantis sets its latest months aside. You open them once, when you have finished changing the rule.
- Learn pathIs it luck?At the end you can say why a test that looks good can still be wrong, and set a rule to be watched from today on.
- Education CentreOverfittingWhen a rule fits the past so closely that it has learned the luck, not the pattern. A worked example, and what it does not tell you.
Tests describe the past. They are not forecasts and not advice. Read the risk warning