Kalman filters for pairs trading: better hedge ratios, no better trades
A statistical-arbitrage laboratory built from the mathematics up - Kalman filter, smoother, likelihood, EM, cointegration and structural-break tests written from scratch - and a pre-registered test of whether dynamic hedge ratios beat static and rolling regression after costs.