Skip to content
Strategy ValidationFlorin Kramer3 min read

Monte Carlo for Trading Strategies: Shuffle vs Bootstrap

A backtest shows one order of trades — the one that happened. Monte Carlo simulation builds thousands of hypothetical paths from the same trades. It is a practical way to see how much deeper a drawdown could have been, and to plan capital for it. The two common methods, shuffle and bootstrap, answer slightly different questions.

Why one backtest path is not enough

The maximum drawdown of a backtest depends on the order the trades came in. Five losers in a row hurt much more than five losers spread out. The past order was partly luck, so its drawdown is just one sample — and often a flattering one.

Shuffle: same trades, different order

The shuffle method takes the backtest's trades and puts them in a random order, many times over. Every simulated path ends at the same total profit, because it uses the same trades. What changes is the path: the streaks, the drawdowns, the time spent underwater.

Good for: seeing how bad the drawdown could have been with exactly these trades, just in a less lucky order.

Bootstrap: draw trades with replacement

The bootstrap method builds each simulated path by drawing trades at random from the backtest, with replacement — the same trade can appear twice, another not at all. Now the total profit varies too, not just the path.

Good for: seeing the range of results the strategy's trade distribution could produce, including weaker totals than the backtest.

How to read the result

  • The 95% drawdown: the drawdown that 95% of simulated paths stayed within. It is a much more honest planning number than the backtest's single maximum — but it is not a ceiling. It depends on the trades in the sample and on the method, and real trading can go deeper. Plan capital with extra margin on top.
  • The spread of final results (bootstrap): if a meaningful share of paths end below zero, the edge is thin.
  • Losing streaks: the range of losing streaks the simulation produces, not a promised maximum. It helps to know the range before living through it.

What Monte Carlo cannot do

It only reshuffles the past. If the trades themselves came from an overfitted strategy, Monte Carlo will confidently simulate a strategy that doesn't work. Shuffle and bootstrap also treat trades as independent, while real markets have streaks and regimes. A block bootstrap, which draws whole runs of consecutive trades instead of single ones, keeps some of that streakiness. Use Monte Carlo after a walk-forward test, not instead of one.

In WalkStrat

WalkStrat's candidate analysis runs Shuffle, Bootstrap and Block bootstrap on whole trades, and shows the simulated equity bands, the drawdown that 95% of paths stayed within, and the losing-streak distribution. The free WS_MonteCarlo tool on walkstrat.pro/tools runs Shuffle and Bootstrap on any trades file.

Stay in the loop

Get notified at launch

WalkStrat is almost ready. One short email when it launches and the 14-day free trial opens; after that, only major updates and new TradingApps. No noise, unsubscribe any time.

We only use your address for these updates. See the Privacy Policy.

Related articles

Trading futures carries a substantial risk of loss. Hypothetical and simulated results have inherent limitations, and no backtest or walk-forward result predicts future performance. This article is education, not investment advice.

TradeStation®, TradingApp®, EasyLanguage®, and PowerEditor® are registered trademarks of TradeStation Technologies, Inc. WalkStrat is an independent entity and is not affiliated with, endorsed, sponsored, or certified by TradeStation Technologies, Inc. or any of its affiliates. Nothing here is trading advice.