
Backtesting is the simulation of a trading strategy based on historical data. Traders use backtesting to prove that their trading system works based on historical results. In trading and investing, past performance does not guarantee future results, which means a strategy that performs well in backtesting may not perform as well going forward.