baktesting
Backtesting is the process of evaluating a trading or investment strategy by applying it to historical market data to estimate how it would have performed. It is used by traders, quantitative researchers, and asset managers to gauge feasibility, compare alternatives, and refine rules before committing capital.
A backtest requires representative historical data, including price series and, when relevant, dividends, corporate actions, and
Backtesting can be conducted in-sample and out-of-sample, with walk-forward analysis to simulate adapting rules over time.
Common performance metrics include total return, annualized return, volatility, maximum drawdown, Sharpe and Sortino ratios, win
Limitations of backtesting include the assumption that future conditions resemble the past, changes in liquidity, market
Best practices emphasize transparent methodology, out-of-sample validation, walk-forward testing, and clear documentation of parameters and assumptions.