I am wading into pair trading concepts. Here is one article I've read.

I understand for these strategies our intention is to go long on one asset and short another, however I do not understand what is meant by

long the spread


short the spread

My guess:

"long the spread" is when we anticipate the pair is converging. Short the overperformer, and long the underperformer.

"short the spread" is the opposite; we anticipate the pair to diverge, so long the overperformer and short the underperformer?


From the link in your OP, the article is talking about buying one stock versus shorting the other. The distance pair trading system they are describing always plays the distance to converge. It just depends on which stock price has appreciated more.

For example, if "stock 1" has moved up excessively compared to "stock 2", you would short "stock 1" and buy "stock 2". If "stock 2" moved up excessively compared to "stock 1" you would short "stock 2" and buy "stock 1".

Whether or not you call this "long the spread" or "short the spread" depends on which stock you have labeled "stock 1" or "stock 2". It's important to understand that the naming of the trade doesn't mean anything, nor does it affect the mechanics of how you are trading. It's just a name.

  • 2
    $\begingroup$ Thanks, I take your point here, and also thought "long the spread" / "short the spread" was somewhat arbitrary, since you are always long on one stock and short on another. $\endgroup$ – quickshiftin Sep 14 '19 at 19:17

first keep in mind how spread is constructed, say it's $y - \beta x$, $y$ being asset $A$'s price and $x$ being that of asset $B$. Then long the spread is when $A$ is under-performing, because our current spread is smaller than "fair value". Short the spread is when $A$ is over-performing.

we always short the overperformer and long the underperformer.

  • $\begingroup$ Thank you, I'm curious, in the spread formula what is β? It seems we could have a negative spread if y < x, so could we also say: "long the spread when A's price is greater than B's price; short the spread when A's price is less than B's price" $\endgroup$ – quickshiftin Sep 14 '19 at 14:43
  • $\begingroup$ β is the ratio of x that keeps the capital in position x equal to the capital in position y, because the two likely do not have the same price per share, correct? $\endgroup$ – quickshiftin Sep 14 '19 at 14:51
  • $\begingroup$ numerairX, in the book "Quantative Trading with R" by Harry Georgakopoulos, it writes that # Generate sell and buy signals buys <- ifelse(data_out$spread > threshold, 1, 0) sells <- ifelse(data_out$spread < -threshold, -1, 0) data_out$signal <- buys + sells, is there a conflict with you here? $\endgroup$ – xyzt Mar 31 '20 at 19:25

There's 2 ways to remember the sign convention:

If you're trading an exchange-listed spread, then the convention is that going long on the spread A-B implies buying A and selling B. Vice versa, shorting the spread implies selling A and buying B.

If you're trading a synthetically-constructed spread, then this means that you're trading the residual, i.e. the difference between the observed $y_t$ and the $\hat{y}_t$ predicted by your regression model.

The simplest example is a pair trade where you're regressing a series $y_t$ against another series $x_t$. You may assume that there exists a linear relationship between the series and a normally distributed error term $\epsilon_t \sim \mathcal{N}$ such that $\epsilon_t = y_t - \hat{y_t}= y_t -\beta x_t -\alpha $. $\alpha,\beta \in \mathbb{R}$ are parameters that you estimate from past data, e.g. with ordinary least squares.

Often, you'd also assume $\alpha$ falls off at $x_t=0$. Then "buying the spread" implies having positive delta to $\epsilon_t$ which means buying 1 unit of the product with series $y_t$ and selling $\beta $ units of the product with series $x_t$.

You don't even need to remember what it means to "buy a spread" in this case, because the intuition behind your trade is simply that if the observed value $y_t$ is less than the predicted value $\beta x_t$, then you would buy the product with series $y_t$ and sell $\beta$ units of the product with series $x_t$, since the observed value and your prediction should eventually converge somewhere. You just need to remember which variable you used as the predictor $x_t$ and the dependent variable $y_t$ when fitting your model.

  • $\begingroup$ Thank you, I think your explanation actually helped me understand the simple spread formula from @numerairX above! $\endgroup$ – quickshiftin Sep 14 '19 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.