Lesson

The best backtest

By Thomas Jamais (Backtestd) · Published · Updated

BEST ≠ REAL

In short

We took the best result out of thousands of backtests, 21 times, and retested each on a year it had never seen.

1 of 21 passed. And the one that passed was too small to trade.

The best of many backtests is mostly luck, until new data says otherwise.

The numbers

GroupValue
Each tile: one retest on unseen data1 / 21

How we measured it

Every number comes from the lab's database: 19905 strategy versions with at least 100 trades each, tested on crypto perpetual futures from 2022 to 2025 with fees, slippage and funding. One version = one strategy with one set of settings. Results are in R (the amount risked per trade).

What to do instead

Verify it yourself

  1. Write the rule exactly (below: our specification and every setting we tried).
  2. Get free data: Binance's public archive (data.binance.vision) has years of candles; OKX and most exchanges offer an API.
  3. Include costs: fees on both sides, slippage, and funding for perpetual futures.
  4. Count results in R (risk per trade), not in %, and look at the typical version, not the best one.
  5. Split your data in two and keep a part you never look at until the end.
  6. Compare with simply holding the market over the same days.

Disclaimer

Educational content based on historical backtests. Not financial advice. Past results do not predict future results. Trading leveraged products can lose more than you invest.

← All tests