Shuffled history test: the “Shuffled history” check
A shuffled history test reruns a strategy on the same trading days in a different order. Matana Labs runs the engine over the days in many random orders, carrying capital and positions from day to day, and compares the drawdowns with the original one. If most orders give a much deeper drawdown, the original order was lucky.
What it checks
One history is one order of days. In a different order, the same days could give a completely different drawdown.
The question behind it: Will it survive a shock? In the app it is in Analysis Lab → Checks, stage “Stress tests”. What happens on bad days that never occurred in history: a crash mid-trade, doubled volatility, shuffled history.
How it works
The same days of the period, but in random order: 20 consecutive engine runs, capital and positions carry from day to day. Seeds 300…319. This shows what drawdown to expect from this same strategy on the same days.
How it gets its status
These are the app’s own rules, shown on the check’s card:
- broke down: median drawdown is twice the base
- with a caveat: the worst 5% of orderings give a drawdown twice the base
- holds: day order doesn't double the drawdown
- can't be computed: fewer than 20 days
With fewer than 30 trades or 20 days in the run, the check still shows its numbers, but its status is at most “with a caveat” and the result is marked as unreliable.
How to read the result

- Four numbers: the drawdown of the original order, the median drawdown of the shuffled orders, the drawdown of the worst five percent and the median result.
- Plan for the worst five percent, not for the original drawdown: it is the drawdown this strategy can give on these same days.
- The note below lists the seeds and explains that for an intraday strategy the order only matters through position sizes that depend on capital.
In the score out of 100
When it has a status, it counts toward the overall score with weight 1: “holds” earns full points, “with a caveat” half and “broke down” none; “can’t compute” is left out.
Every plan, the free one included, can run it; any engine runs it needs are counted in backtest-years.
If it breaks down
Budget for the worst-ordering drawdown; reduce position size.
This is the app’s own suggestion; under Improvement the app tests candidate changes on the engine before it shows them.
Keep reading
Questions
How is this different from Monte Carlo?
This check reruns the engine on the days in a new order, so the strategy trades them again. The Monte Carlo check reshuffles the daily results and trades the run already has, without rerunning.
Why do some intraday strategies show no change?
An intraday strategy with a fixed size trades each day the same way whatever the order. The order only matters when sizes depend on capital.
How many orders are tried?
The number of orders and the seeds are in “How it works” above and on the check’s card; the seeds are fixed, so a rerun gives the same result.