Calculate mean, standard deviation and cdf of the ratio for the pair
Download data for all the stocks traded in F&O, calculate the correlation matrix on close price and finally filter stocks with high correlation
A series of articles explaining how to implement a pair trading strategy with python using jugaad-data
We take the pair stats calculated in last section and make trading decisions based on these stats.