Skip to content

Trade-Order Shuffling

Trade-order shuffling tests whether the timing of your trades affects the overall performance. It mixes up the order of trades from your original backtest while keeping each individual trade result the same.

How it works

  1. Runs the original backtest to collect all trades
  2. For each test scenario, randomly shuffles the order of these trades
  3. Rebuilds the equity curve with the shuffled trade order
  4. Calculates performance numbers for each shuffled scenario
  5. Compares your original results against all the shuffled results

Running a trade-order shuffling session

Running a trade-order shuffling Monte Carlo session is similar to how you execute a backtest:

Number of Scenarios

The Number of Scenarios input determines how many shuffled versions of your trade sequence to generate. More scenarios give you more reliable statistical results.

We recommend at least 1000 scenarios for trade-order shuffling. Since this method only reshuffles existing trades (no new backtests are run), it is very fast even with a high number of scenarios.

CPU Cores

Monte Carlo analysis can use multiple CPU cores for faster processing. By default, it uses 80% of your available cores. The more cores you allocate, the faster the analysis will complete.

Understanding the results

This method separates the effect of trade timing from trade selection:

  • A strategy that performs well even after shuffling shows good trade selection — the individual trades are solid regardless of when they happen.
  • Poor performance after shuffling means your strategy depends on specific market timing — the order of wins and losses matters significantly.

What the numbers mean: If your original strategy's performance ranks in the top 5% of shuffled scenarios, it means the timing of trades really matters for your performance — which is a warning sign.

See Interpreting Results for a detailed guide on reading the results table.

We do NOT guarantee profitable trading results in anyways. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Do not risk money which you are afraid to lose. There might be bugs in the code - this software DOES NOT come with ANY warranty. All investments carry risk! Past performance is no guarantee of future results! Be aware of overfitting!