What is Backtest?
Crypto Glossary Definition
Using historical data to test a predictive model or trading strategy in order to determine its effectiveness.
Why Backtest Matters
Backtesting runs a trading strategy against historical price data to see how it would have performed, before risking real capital on it — a strong backtest is still no guarantee of future performance, since past price patterns don't reliably repeat.
Backtest in Practice
A developer designs a trading strategy that buys a token whenever its price crosses above a 50-day moving average and sells when it crosses back below, believing the rule captures momentum shifts reasonably well. Before risking any real money, they pull several years of historical daily price data for a handful of major cryptocurrencies and run the strategy against it programmatically, simulating every buy and sell signal the rule would have generated and tracking the hypothetical portfolio's value over time. The backtest shows the strategy would have outperformed simply holding Bitcoin during two of the three market cycles tested, but underperformed badly during a long sideways period when the moving average generated frequent false signals, whipsawing in and out of positions and racking up trading fees. Encouraged but cautious, the developer adjusts the strategy slightly and re-runs the backtest, careful not to over-tune the rules so closely to past data that they simply memorize historical noise rather than capturing something repeatable, a common pitfall known as overfitting. Even with promising results, they remind themselves that a strong backtest only shows how a strategy would have performed under past conditions, and that crypto markets can behave in ways no historical dataset fully anticipates going forward.
Still have questions about Backtest?
Ask ARIA, our free AI crypto intelligence agent, for a deeper explanation.
Ask ARIA →