/pairs-pipeline

Pairs trading strategy that includes a research pipeline for identifying and selecting pairs. Tests all possible pairs in a universe for cointegration using the Johansen test, then runs in-sample backtests on all cointegrating pairs, then runs an out-of-sample backtest on the 5 best performing pairs.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Stargazers