archive

All Posts

Notes on algorithmic strategy research, backtesting discipline, data quality and quantitative thinking.

Markets / Trading

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.

ML & AI

Do Transformers Actually Work on Financial Time Series?

Benchmarking attention against LSTM and classical ARIMA for return forecasting. The results may surprise you.

Statistics & Math

Volatility Forecasting with GARCH: A BIST 100 Case Study

From testing ARCH effects to interpreting GARCH(1,1) parameters: modelling volatility clustering step by step.

Statistics & Math

Stationarity Tests: ADF, KPSS and Why You Should Use Both

The logic of unit-root tests, their power problems, and the most common mistakes with price series.

Markets / Trading

The Silent Killers of Backtests: Look-Ahead and Survivorship Bias

Why do strategies that look great on paper collapse live? Common methodological errors, shown with example code.

Data Science

Cleaning Financial Data: Missing Bars, Splits and Dividend Adjustments

Getting raw price data model-ready: an end-to-end cleaning pipeline with pandas.

Software / Python

Vectorization with NumPy: Make Your Backtest 100x Faster

From for-loops to broadcasting: writing the same strategy three ways and timing each.

Academic Papers

Paper Digest — Momentum 30 Years On: Rereading Jegadeesh & Titman

Do the classic momentum findings still hold on current data? A replication and discussion.

ML & AI

Feature Engineering: Turning Financial Time Series into Model Inputs

Return-, volatility- and microstructure-based features — and how to build them without leakage.

Statistics & Math

Intro to Portfolio Optimization: From Markowitz to Risk-Based Weighting

The theory of mean-variance optimization, its fragilities and practical alternatives.

Weekly newsletter

Every Monday: new posts, curated academic papers and quantitative notes from the markets. No spam.