Skip to content
Back to Blog
  • Backtesting
  • Statistics

Monte Carlo Backtesting: What It Can and Cannot Validate (Step by Step)

How to use trade reshuffling, bootstrap resampling and execution noise to size drawdown risk, and why none of them replaces unseen data.

Agon Research Team3 min read

Monte Carlo backtesting reruns a strategy's results thousands of times with plausible variation (reordered trades, resampled returns, execution noise) to show the range of outcomes it could have produced. It is good at estimating drawdowns and sequence risk. It cannot tell you whether the strategy itself was found by luck.

Key takeaways

  • Monte Carlo reruns a backtest's results with plausible variation to show the range of outcomes, especially drawdowns.
  • Read the pessimistic tail, not the median, when sizing positions.
  • It cannot tell you whether the strategy was found by luck; only unseen data can.

What does a Monte Carlo simulation do to a backtest?

A single backtest is one path through history. Monte Carlo creates many alternative paths from the same strategy, so you see a distribution instead of a single number: the typical drawdown, a bad but plausible drawdown, and how often the strategy would have ended below where it started.

Common Monte Carlo methods for backtests
MethodWhat it variesWhat it estimatesLimitation
Trade reshufflingThe order of the same tradesDrawdown and sequence riskAssumes trades are independent
Bootstrap resamplingWhich trades or returns are drawn, with replacementRange of total return and drawdownCan only reuse what the backtest produced
Execution noiseFills, slippage and fees per tradeSensitivity to worse executionDepends on realistic noise assumptions
Parameter perturbationSmall changes to the strategy's settingsFragility of the configurationDoes not test unseen market data

How to use Monte Carlo in a backtest, step by step

  1. Start from a backtest with realistic costs. Noise around an unrealistic result is still unrealistic.
  2. Choose the method for the question. Reshuffle trades for drawdown risk; add execution noise for cost sensitivity; perturb parameters for fragility.
  3. Run enough simulations for the distribution to stop changing noticeably when you add more.
  4. Read the tails, not the median. Size positions for a bad but plausible drawdown, not the one the single backtest happened to show.
  5. Record the result next to the out-of-sample test, never instead of it.

What can't Monte Carlo validate?

It cannot rescue a flawed premise. In our GPU search, Monte Carlo initially agreed that several apparent winners looked credible. The locked holdout later rejected every one. The simulation had measured stability conditional on the selected historical strategy; it had not corrected the selection process that found it. If the input strategy is overfit, a sophisticated resampling exercise can simply produce precise confidence around the wrong answer. Past, hypothetical research results.

In what order should the tests come?

The hierarchy matters: first protect the evaluation set, then account for costs and search breadth, then use Monte Carlo to understand the remaining uncertainty. In Agon, every strategy goes through backtest, Monte Carlo, walk-forward and paper trading, and must pass walk-forward validation before real-money mode is unlocked.

Frequently asked questions

How many Monte Carlo runs are enough?

Enough that adding more no longer changes the percentiles you care about. Check by comparing the results of two different run counts.

Is Monte Carlo a substitute for out-of-sample testing?

No. It reuses the backtest's own trades or returns. Only data the strategy was not chosen on can show whether its edge was real.

What is the most useful number Monte Carlo gives?

Usually a pessimistic drawdown percentile. It is a better basis for position sizing than the single drawdown that one historical path happened to show.

Research, not investment advice.

Stay Updated

Subscribe to our newsletter to receive the latest trading insights, platform updates, and market analysis directly in your inbox.