Home/Glossary/Backtest

Backtest

quantitative finance
Definition
The process of testing a trading strategy on historical data to evaluate how it would have performed.

Explanation

Backtesting applies trading rules to past market data to simulate hypothetical performance. A robust backtest accounts for transaction costs, slippage, survivorship bias (excluding delisted stocks), and look-ahead bias (using information not available at the time). The most common backtesting pitfall is overfitting — optimizing parameters until the strategy looks great on historical data but fails in live trading. Walk-forward analysis and out-of-sample testing help mitigate overfitting.

How Stoquity Uses This

Stoquity incorporates backtest analysis across its portfolio management platform, providing real-time monitoring and AI-powered insights for every portfolio.

See This in Action

Explore how backtest applies to real portfolios on Stoquity.

Start Free →