It will differ, and that is normal
A backtest is a reconstruction of one historical period; live trading is the real market in real time. Expect differences, and be suspicious of any vendor whose marketing claims otherwise.
The main reasons
- Spread and commission — your live spread is variable; the backtest uses the spread your broker recorded at the time.
- Slippage — real orders fill at the best available price, which moves during fast markets.
- Order queue — a real broker takes milliseconds to accept an order; a backtest has no queue.
- Liquidity — the lot size you trade moves the price against you more than the backtest assumes.
- Market regime — the tested period had its own volatility and trends; live conditions are never identical.
- Uptime — a backtest never loses its internet connection. Live, every outage is a missed or mismanaged trade.
How to use the backtest properly
Use it to reject bad configurations, not to predict profit. Run several symbols and date ranges, watch max drawdown as closely as profit, and treat anything that looks perfect as a red flag.