There are 2 repositories under cointegration-strategy topic.
A stock backtesting engine written in Java. And a pairs trading (cointegration) strategy implementation using a bayesian kalman filter model
An emerging asset class, the recent surge of popularity in crypto markets has made cryptocurrencies an essential part of investment portfolios for retail and institutional investors. As prices for cryptocurrencies continue to break previous highs, the race is on for investors to develop a trading strategy that can take advantage of the high volatility and fluctuation that exists in the crypto markets. The pairs trading strategy is an example of a market-neutral strategy that attempts to take advantage of the mean reversion principle to eliminate inefficiencies between two highly correlated assets. In a market that is riddled with inefficiencies, the pairs trading strategy might be a highly effective and lucrative trading stagey for investors in crypto markets.
This repository of codes includes in the R and Python programs used in the six chapters of my published book titled "Analysis and Forecasting of Financial Time Series: Selected Cases". The book is published by Cambridge Scholars Publishing, New Casle upon Tyne, United Kindoam, in 2022.