PDA

View Full Version : Trading stock pairs



BurtonKr
01-03-2017,
Posting new thread related to trading stock pairs.

I love pair trading strategy, it is holding my profits over last three years http://onlinetradersforum.com/styles/default/xenforo/clear.png.

Some theoretical introduction:
The Stock Pair Trading is a market neutral strategy (http://en.wikipedia.org/wiki/Market_neutral) capitalizing on short-time market inefficiencies. The strategy is based on the fact that the ratio of prices of two suitably chosen (correlating) shares is long-term stable and oscillates around the average value. If (for whatever reason) ratio comes outside the normal area, you can speculate with high success rate that ratio will return to the mean value. Stock pair position is than formed by entering long and short position in two stocks of the same sector. This creates a powerful hedge against the sector and the overall market fluctuations.

Brettaf
01-05-2017,
Pair trading strategy is market neutral, hence it is robust and stable.

Carefully selected pairs gives you profits for years...

See real portfolio performance since 01/01/2009 to 12/31/2012:
Initial capital: 12.495 USD
Portfolio: 10 stock pairs
Maximum positions: 5
Average net revenue: 130.2% p.a.

Brianwet
01-06-2017,
Which data provider / software provider do you use to run historical regression on the stock pair? Bloomberg Terminal?

Thanks in advance.

BrianGraro
01-07-2017,
You need just EOD Close price & Volume for backtesting. You can download these data anywhere. Free sources: Google Finance, Yahoo; Paid service: EODData.com.
According to my investigation, all the sources are very similar. EOD Close is "basic" price, nothing to spoil... ;-)

Important:
- Historical data should NOT be "dividend adjusted". You need real (raw) historical data. In fact, you can use even "dividend adjusted" data, but your result will be affected.
- Historical data MUST be "split adjusted" - remove price gaps resulting from splits. Splits in unadjusted data generate fake signals / trades in backtest... Pair statistics are not useless then.

Stock Pair Trader can be connected to InterActiveBrokers data feed or IQfeed (unlimited history).
Once you fill your database with historical data, program automatically download updates from InteractiveBrokers.

Petr

bsdjsgld41
01-08-2017,
I attach Excel spreadsheet with backtest results of 90.000+ stock pairs.
Backtest was performed using screening functionality of Stock Pair Builder (http://stockpairtrader.com/EN/). (within 30 minutes... ;-) )

Pair parameters are default, no optimization.
See average values in table header - more than 65% pairs is profitable! From 10 randomly selected pairs 7 pairs is going to be profitable!

Model Ratio: http://stockpairtrader.com/EN/download/Ratio.xlsx
Model Residual: http://stockpairtrader.com/EN/download/Residual.xlsx
Model LogResidual: http://stockpairtrader.com/EN/download/LogResidual.xlsx

Pair trading performance is based on statistical approach. There is HUGE trading edge in this strategy.