The basic idea mainly comes from Ernest Chan's pair trading in his book. Instead of trading just one pair of stocks, I traded all possible pairs among 10 stocks. In other words, I am trading 45=(10 choose 2) pairs simultaneously. Good to see that works.
Idea of the Multiple Pair Trading Strategy :
Step 1 : Define hedged spread : Spread = Stock1Price - HedgeRatio x Stock2Price
Step 2 : Define Z-score : Z-score = ( SMA30(Spread) - Spread ) / STD30(Spread)
Step 3 : Short the Spread if Z-score > EnterThreshold. ( resp. Long the Spread if Z-score < -EnterThreshold )
Step 4 : Exit the Short if Z-score < ExitThreshold . ( resp. Exit the Long if Z-score > -ExitThreshold )
Step 5 : Trade all possible pairs among selected securities.
I am quite new to this field. I just pick the 10 stocks randomly. Is there any better stock picks? Is there any principles behind how to select stock pairs on which the strategy may work best?
Here's the backtest. Cheers.