Pair Trading Backtest

Dynamic Spread Model

Backtest Parameters

Window size for rolling OLS regression (Alpha & Beta)

Window size for z-score calculation of the spread

Z-score to enter into long/short trade

Z-score to exit from a trade position

Amount for value-neutral calculation

Annual risk-free rate for Sharpe ratio

Stop Loss & Target

Force exit after X days regardless of Z-score

Exit when ROI hits this loss percentage

Exit when ROI hits this profit percentage