This series of posts is inspired by several chapters from Ernie Chan’s highly recommended book Algorithmic Trading. The book follows Ernie’s first contribution,
Source: Exploring mean reversion and cointegration with Zorro and R: part 1 | Robot Wealth