BitX SpaceBETA

5 backtest traps that make a strategy look better than it is

A beautiful backtest can come from mistakes you can’t see, from peeking at the future to samples that are too small. Know them before you trust any test result.

2 October 2026 · 1 min read

An equity curve climbing beautifully is what everyone wants to see — and that is exactly why it’s dangerous. Results that look too good usually come from the testing method, not the strategy.

Illustration: an equity curve that looks too good compared with the curve after fixing the five traps, plus the list of traps
Illustration of the idea, not a real test result

1. Peeking at the future (look-ahead bias)

Using data that didn’t exist yet at the time, such as the close of a candle that hadn’t closed. A good test lets each candle see only data up to that candle.

2. Signals that change after the fact (repaint)

Signals that appear while a candle is still running and vanish when it closes look very accurate in a backtest but can’t be used live. The fix is to compute from closed candles only.

3. Optimism when filling orders

If one candle touches both the target and the stop, you can’t know which came first. Counting it as a win is fooling yourself; count it as a loss.

4. Forgetting fees and slippage

A frequent-trading strategy can be profitable before fees and losing after them. A test that doesn’t deduct fees means almost nothing.

5. Too few samples

Winning 8 of 10 trades may just be luck. The smaller the sample, the wider the uncertainty — always read the number of trades alongside the win rate.

How BitX Space guards against them

  • Computes from closed candles only, and each candle sees only data up to itself
  • A candle that touches both target and stop counts as a loss
  • Deducts 0.2% round-trip fees by default
  • Lessons the system draws need at least 20 samples, with a statistical confidence interval
READ NEXT