Strategy Backtester
Test a trading idea against real historical price data and see how it would have performed — the equity curve, win rate, drawdown and whether it actually beat simply buying and holding — before you risk a cent.
Free shows Buy & Hold. Go Pro to backtest RSI and moving-average strategies with full stats.
Backtests use 1 year of daily closes (CoinGecko). Past performance does not guarantee future results — educational, not financial advice.
How it works
How to read the results
Who it’s for
Frequently asked questions
What data does it use?
Real historical daily closes for the asset and window you select, pulled from keyless market sources.
Does it include fees and slippage?
Results are an idealised baseline. Live trading costs reduce real returns, so treat the figure as a ceiling, not a promise.
Can I backtest any strategy?
The free tool covers core strategies; Pro unlocks RSI and moving-average strategies, longer windows and more assets.
Related tools
Backtest smarter with Pro
Unlock RSI, moving-average and momentum strategies, longer windows and full stats across every asset.
The Complete Guide to Backtesting a Trading Strategy
Backtesting runs a set of trading rules over historical data to see how they would have performed. Done carefully, it can reveal whether an idea has any edge and how it behaves through different market conditions. Done carelessly, it produces a beautiful equity curve that means nothing. This guide focuses on the discipline that separates the two: what a backtest can and cannot prove, how to avoid fooling yourself, and how to read the metrics honestly.
What Backtesting Can — and Cannot — Prove
A backtest can show whether a rule set would have been profitable on the specific data you tested, and it can expose weaknesses—deep drawdowns, long losing streaks, sensitivity to costs—that are easy to ignore in theory. What it cannot do is prove the strategy will work in the future. Markets change; a pattern that paid off for years can stop working when the conditions that created it disappear. Past performance does not guarantee future results, and a backtest is a study of the past by definition.
Overfitting and curve-fitting
The single biggest danger is overfitting: tuning a strategy so precisely to historical data that it captures noise rather than a real edge. If you keep adding rules and adjusting parameters until the past looks perfect, you have not discovered a strategy—you have memorised history. The tell-tale sign is a strategy with many finely tuned parameters and a suspiciously smooth backtest that collapses the moment conditions change.
In-sample versus out-of-sample
To guard against this, split your data. Develop and tune the strategy on one portion (in-sample), then test the frozen rules on a separate portion the strategy has never seen (out-of-sample). A strategy that performs well in-sample but falls apart out-of-sample was overfit. Consistent behaviour across both is far more encouraging, though still not a guarantee.
Reading the Key Metrics
- Total return is the headline, but on its own it is misleading—it says nothing about the risk taken to get there.
- Maximum drawdown is the largest peak-to-trough fall in equity. It measures the pain you would have had to endure, and whether you could realistically have held on.
- Win rate is the share of winning trades. A high win rate can still lose money if the losers are large; a low win rate can profit if winners are much bigger than losers.
- Risk-adjusted return (for example, return relative to volatility or drawdown) is often the most honest single number, because it weighs reward against the risk taken.
Hidden biases: survivorship and look-ahead
Survivorship bias creeps in when your data only includes assets that still exist—the coins and companies that failed have been quietly removed, flattering the results. Look-ahead bias is subtler: it happens when a backtest accidentally uses information that would not have been available at the time of the trade, such as a closing price used to make a decision before the close. Both make a strategy look better than it ever could have been in real time.
A short worked example
Imagine a moving-average crossover that returns 300% in-sample. Before celebrating, you test it out-of-sample and see it barely breaks even. You then add realistic fees and slippage and watch the edge disappear entirely. That is the backtester doing its job—protecting you from a strategy that only ever existed in the tuned past. Once you find something that survives out-of-sample and costs, you might paper-trade it before risking capital, and track results with the portfolio tracker.
If a backtest looks great, is the strategy proven?
No. A strong backtest is necessary but not sufficient. It must survive out-of-sample testing, realistic costs, and ideally different market regimes—and even then the future can differ from all of it.
Why include fees and slippage?
Because real trading is not free. Spreads, commissions and the gap between expected and actual fill prices can turn a profitable-looking strategy into a losing one, especially for high-frequency rules.
Educational information only, not financial advice. Backtests describe the past; they do not predict the future, and trading carries a real risk of loss. See our disclaimer.
