Ad slot — 970 × 90 leaderboard
Strategy

Backtesting, honestly

A backtest tells you what a rule would have done. That is useful and it is not a promise.

How do you backtest a crypto trading strategy?

Test the rule on historical price data and measure four numbers: win rate, profit factor, maximum drawdown and expectancy per trade. Include fees on both sides, compare the result against simply buying and holding, and repeat the test on other pairs and timeframes to check it is not overfitted.

Validating a strategy on historical data before risking money is a step almost nobody skips deliberately — they skip it because every free tool either demands an account or requires learning a scripting language first. That barrier is why most traders run on intuition and discover the cost live.

In plain words

A backtest replays history and asks: if I had followed this rule every time, where would I be now? It answers that exactly, and answers nothing about tomorrow.

The four numbers that matter

Read these, ignore the rest

Win ratehow often the rule was right
Profit factorgross wins ÷ gross losses — above 1.3 is meaningful
Max drawdownthe worst peak-to-trough fall — can you actually sit through it?
Expectancyaverage result per trade, the number that compounds

Win rate alone is the most misleading figure in trading. A rule winning 70% of the time with tiny wins and enormous losses is a losing system. Read win rate and profit factor together or not at all.

The comparison everyone forgets

Always compare against buy and hold. A strategy that returned 40% looks excellent until you learn the asset itself returned 90% in the same window. Trading added risk, effort and fees while subtracting return. Our backtester shows both figures side by side for exactly this reason.

Why results always flatter

  1. Fees. Include both sides of every trade. A rule that trades often can be profitable before fees and dead after them.
  2. Slippage. Backtests fill at the closing price. Real orders fill worse, especially in the fast moves that trend rules depend on.
  3. Funding. On perpetuals, every day held costs money that no simple backtest counts.
  4. Overfitting. Tuning parameters until the curve looks beautiful produces a rule that describes the past perfectly and predicts nothing.
  5. Survivorship. Testing on coins that still exist ignores every one that went to zero.

How to test properly

What comes next

A good backtest is permission to test small with real money, nothing more. Log those trades in the journal and compare live results with the backtest after twenty entries. The gap between them is where slippage, hesitation and your own psychology live — and that gap is the real education.

Overfitting, and how to recognise it in yourself

Overfitting is tuning a rule until it fits past data beautifully and describes nothing about the future. It is not a technical failure — it is a psychological one, because the process feels like research.

Four warning signs:

The honest test: does the rule still work when you change the pair, change the timeframe, and change the parameter slightly? An edge that survives all three is worth small real money. One that does not is a story about the past.

Testing the same rule properly

  1. Run it across several pairs. Our backtester lets you switch markets without changing anything else — the fastest test of whether an edge is real.
  2. Run it across timeframes. A rule that only works on four-hour candles is fragile.
  3. Change one variable at a time. If adding a stop improves things, that is information. Changing six settings at once is guessing.
  4. Test different market regimes. Most trend rules look brilliant in a trending sample and lose steadily in a ranging one.
  5. Compare against buy and hold, always. Beating the asset is the only result that justifies the risk and effort of trading it.

What a backtest cannot include

Every backtest is optimistic, and knowing precisely how keeps you honest.

From backtest to real money

  1. Trade it small first. A quarter of your normal size for twenty trades.
  2. Journal every one, including whether you followed the rule exactly.
  3. Compare live results with the backtest. The difference is your execution cost — slippage, hesitation and the trades you talked yourself out of.
  4. Only then size up, and only if the live sample resembles the test.

Most strategies fail at step three, and that is the point of doing it. Finding out with a quarter position costs a fraction of finding out with a full one.

Reading the four numbers together

Four result profilesPF below 1lost money before slippage — stopPF above 1.3, shallow drawdownthe profile worth pursuingHigh win rate, negative expectancymany small wins, few huge lossesLow win rate, strong expectancytrend following — sound, brutal
Win rate alone is the most misleading number in trading

Profit factor below 1 means the rule lost money before slippage. Stop there.

Profit factor above 1.3 with a shallow drawdown is the profile worth pursuing — modest returns you can actually hold through beat spectacular ones you cannot.

High win rate with negative expectancy means many small wins and a few enormous losses. This profile feels wonderful and ends accounts.

Low win rate with strong expectancy is the trend-following signature: frequent small losses and occasional large wins. It is mathematically sound and psychologically brutal, which is why most people abandon it.

Common questions

How much history do I need?

Enough to include different market conditions — at minimum a trending period and a ranging one. A thousand candles on the daily timeframe covers several years and multiple regimes; a thousand five-minute candles covers three days and proves nothing.

Is a 60% win rate good?

Unanswerable alone. At a 1:1 reward ratio it is decent; at 0.5:1 it loses money. Win rate is only meaningful next to the reward ratio, which is why the backtester reports profit factor and expectancy alongside it.

Why does my live trading underperform the backtest?

Three usual causes, in order: slippage on entries and exits, funding on held positions, and deviation from the rule. The journal isolates the third, which is almost always the largest.

Run it yourself.

Free, in your browser, no account and no code.

Open the desk