A Pair Trade in SPY And TLT (Pairs Trading Strategies)

Last Updated on October 16, 2021 by Oddmund Groette

On the 18th of June, we witnessed major moves in both long-term Treasuries (TLT) and the S&P 500 (SPY). That is not abnormal: when the going gets tough in stocks, many investors rotate into “safe” Treasuries. We write “safe” because over the long-term, especially now, you are bound to lose your purchasing power over the next decade(s) by owning government bonds.

In this article, we test a pair trade in SPY and TLT. Is a pair trade in SPY and TLT profitable after big moves in opposite directions? We test this hypothesis. As it turns out, this is not a tradeable strategy.

What is a pair trading strategy?

First off, you might wonder what a pair trading strategy is, often called spread trading. We started our trading career with pairs trading some 20 years ago and in the article below we explain the pros and cons of pairs trading:

The main idea is to be somewhat “neutral” against erratic moves in the market.

We have previously written another article about a potential pair trade in ETFs:

The pair trade in SPY and TLT:

On Friday the 18th of June both the S&P 500 and Treasury bonds made huge moves in opposite directions. Both ETFs reversed the following Monday after the weekend.

This is what happened on Friday the 18th of June 2021 until Monday 21st:

This is SPY from Friday 18th to Monday 21st:

This is TLT from Friday 18th to Monday 21st:

At the close on Monday 21st of June, the S&P 500 had risen 1.43% from the close on Friday and the TLT fell 1.67% and both reversed the moves from Friday.

Was this a coincidence? How has such a trade performed in the past?

Let’s test the following pair trading strategy in SPY and TLT:

When the S&P 500 falls more than “normal” we go long SPY, and we short TLT if it rises more than “normal”. Both have to happen on the same day.

Here are the rules for our pair trading strategy:

  1. The S&P 500 (SPY) must fall at least 1.25 times more than the 50-day average of the H-L (high minus low) from yesterday’s close to today’s close.
  2. Opposite, the 20-year Treasury bonds (TLT) must rise 1.25 times more than the 50-day average of the H-L (high minus low) from yesterday’s close to today’s close.
  3. If both 1 and 2 are true, go long SPY at the close and sell short TLT at the close.
  4. Close both positions at the close x-days later.

This is a pretty simple pair trade, and probably not one of the most rational or intuitive of trades either.

Let’s test the result by holding the pair overnight from today’s close until tomorrow’s close (we are long SPY and short TLT). This is the equity curve:

The equity curve shows 100 000 compounded from 2003 until June 2021. No commissions and slippage included.

As the equity curve shows, the strategy is a bit erratic and not very consistent and the pair strategy didn’t work well in the last years.

  • CAGR is 1.93%
  • 416 trades (208 long and short)
  • The average gain per round trip is 0.18%
  • 60% win ratio
  • The average winners and losers are equal in %
  • The profit factor is 1.42

All in all, not a tradeable strategy.

Does it get any better if we change the parameters?

Changing the holding period for the SPY/TLT pair trade:

The best exits are at the close of the third day (0.26% average), but in general, the results are pretty similar less than 5 days. Above 5 days the results get worse.

Changing the movement criteria for the SPY/TLT pair trade

If we change the criteria for movement, both higher and lower than 1.25, the results don’t improve much either way, unfortunately.

If you want the Amibroker code for this strategy plus the 60+ other strategies on this page, you can order here:

Relevant article:

Some years back we published another strategy that has performed pretty well, but this is a rotation strategy, not a pair strategy:

 

Disclosure: We are not financial advisors. Please do your own due diligence and investment research or consult a financial professional. All articles are our opinions – they are not suggestions to buy or sell any securities.