Backtest
Also known as: historical test, strategy backtest
What is it?
A backtest is the process of running a strategy's rules over historical market data to estimate how it would have performed if it had been traded in the past. Instead of risking real money to find out whether an idea works, you let the rules play out across months or years of old price data and review the results, such as the number of trades, the historical win rate, the profit, and the drawdown. This makes a backtest the cheapest and fastest way to vet a trading idea before committing capital.
The key thing to understand is that a backtest is a hypothesis about the past, not a forecast of the future. It shows what would have happened under a specific set of rules and assumptions, which is why we describe these as backtested results, never as guaranteed profit. Several things can make a backtest look better than reality: leaving out the spread, commissions, and slippage that you pay live, or tuning the rules so tightly to old data that they only fit that one period.
A clean-looking backtest that ignored trading costs can hide a strategy that actually loses money once those costs are real. So a backtest is a starting point for scrutiny, not proof. Live results differ because of costs, slippage, and changing market conditions, past performance does not guarantee future results, and all trading carries the risk of losing your capital.
Why it matters: A backtest is the cheapest way to vet an idea, but it is a hypothesis about the past, not a forecast - we describe results as backtested, not guaranteed.
Backtests guide which strategies to trade, but an unrealistic one leads you to deploy a loser.
Real-world example
A strategy backtested over five years shows its trade count, win rate, and drawdown - a baseline to scrutinise, not a promise.
How SignalBots handles it
Where SignalBots shows backtested figures, they carry the backtested-result framing and link to /risk-warning.
Pro tip
Always include realistic spread and slippage in a backtest; a frictionless test flatters a strategy that loses to costs live.
Common pitfalls
Trusting a perfect-looking backtest that was curve-fit and used no transaction costs.
Frequently asked questions
Does a good backtest mean the strategy will profit?
No. A backtest estimates past behaviour under a set of assumptions. Live results differ because of costs, slippage, and changing conditions, and all trading carries risk. A strong backtest is not a promise of future profit.
What makes a backtest unrealistic?
Common causes are ignoring spread, commissions, and slippage, using perfect fills that you could never get live, and tuning the rules so tightly to old data that they only fit that exact period.
How much history should a backtest cover?
Enough to include different market conditions, such as trending, ranging, calm, and volatile stretches. A test over only one easy period tells you little about how the strategy handles harder ones.
Is a longer backtest always better?
Longer usually helps because it spans more conditions, but very old data may reflect markets that no longer behave the same way. Quality and realistic costs matter as much as raw length.
Should I trade live straight after a good backtest?
It is safer to forward test on live data first, often on a demo account, to catch problems a backtest hides. Going straight from backtest to real money skips an important check, and your capital is at risk.
Trading involves substantial risk of loss. Historical and backtested results do not guarantee future performance. Read the full risk warning.