I was looking at the implementation of:
PearsonCorrelationPairsTradingAlphaModel - this is the default pairs trading alpha.

I see that the function get_price_dataframe returns the diff in prices.
1.doesn't it make sense to return pct_change instead?
2. pair trade only based on the correlation? why don't you take into consideration also the cointegration?
 

 

Author