Pairs Trading with Kalman Filters: Dynamic Hedge Ratios
Why a static OLS beta falls short: estimating a time-varying hedge ratio with a state-space model and building a cointegration strategy.
Notes on algorithmic strategy research, backtesting discipline, data quality and quantitative thinking.
Why a static OLS beta falls short: estimating a time-varying hedge ratio with a state-space model and building a cointegration strategy.
Benchmarking attention against LSTM and classical ARIMA for return forecasting. The results may surprise you.
From testing ARCH effects to interpreting GARCH(1,1) parameters: modelling volatility clustering step by step.
The logic of unit-root tests, their power problems, and the most common mistakes with price series.
Why do strategies that look great on paper collapse live? Common methodological errors, shown with example code.
Getting raw price data model-ready: an end-to-end cleaning pipeline with pandas.
From for-loops to broadcasting: writing the same strategy three ways and timing each.
Do the classic momentum findings still hold on current data? A replication and discussion.
Return-, volatility- and microstructure-based features — and how to build them without leakage.
The theory of mean-variance optimization, its fragilities and practical alternatives.