Pairs Trading The Secret To Cashing Profits

When the futures contract gets ahead of the cash position, a trader might try to profit by shorting the future and going long in the index tracking stock, expecting them to come together at some point. The pairs trading strategy works not only with stocks but also with currencies, commodities, and options. In the futures market, “mini” contracts—smaller-sized contracts that represent a fraction of the value of the full-size position—enable smaller investors to trade in futures. In the case of a pairs trading strategy, the two stocks or the financial instruments need to be trending at a similar mean price and remain close to each other. But, on certain occasions, one of the instruments may go through a short period of deviation from another in terms of price. To measure these relationships, the pairs trader will use statistics, fundamentals, technical analysis, and even probabilities.

  1. If so, you can then consider moving on to actual backtesting with code.
  2. The pairs trading strategy works not only with stocks but also with currencies, commodities, and options.
  3. For the purpose of this article, we’re not going to worry too much about the pair trading formula and the pairs trading quantitative methods and analysis.
  4. Is this case, you are betting that the 2 assets will become increasingly different from each other as time goes by.

There is no guarantee the brokerage firm can continue to maintain a short position for an unlimited time period. Your position may be closed out by the firm without regard to your profit or loss. You’ll need confidence, experience, and a large account with futures trading approval. But the concepts discussed here can be applied to any pairs trade. Relationships and correlations exist throughout the financial markets. One of the more obvious relationships is between the S&P 500 index (SPX) and the Dow Jones Industrial Average ($DJI) because they generally move in the same direction.

The difference between the two approaches is that the second entry strategy will eat up from your profits, but it will give you a safer location to hide your SL. With the first approach, you would have short-sell TSLA on August 2 at $350 double top forex a share. As a general rule when the stock ratio reaches the upper BB or 2 standard deviations, you can sell Tesla and Buy GM. However, when the stock ratio touches the lower BB or 2 standard deviations, you should buy Tesla and sell GM.

Ten years later the interest of the research community sparked yet again turning into the bright fire of technological advancement and continuous research in the field. As research in pairs trading continued to accumulate, it evolved into a truly versatile approach with a variety of frameworks with different complexity and empirical applications across various asset classes. In the example below, we simulate a pair of co-moving assets using an implementation from ArbitrageLab. The first plot shows the co-moving assets whilst the bottom one illustrates how a mean-reverting spread is created by going long the first asset and short 60% in the second. It is this spread that can be traded without needing to make any forecasts about the future.

Institutional investors and proprietary trading desks at major investment banks have been using the technique ever since, and many have made a tidy profit with the strategy. One of the main advantages to pair trading is that every pair trade inherently hedges risk. Because there are two trades involved, even if one stock performs in an unexpected way the other stock can make up some of the losses. An ancillary advantage to this is that pair trades minimize risk from directional movements in the market. For example, if an entire sector drops because of some large news, the short position will gain value – offsetting losses from the decline in the value of the long position. Pairs trading strategies are usually meant to be short to medium term at the longest.

The different hedge ratios are not simply the inverse of one another, as one might reasonably and intuitively expect. Probably the best example of what not to do with a pairs trading strategy is the Long Term Capital Management meltdown. I won’t go into the details here, but there is plenty written about this incident and it makes a fascinating and informative case study. If you’re seeking a lesser-known crypto on an exchange, you’ll likely need to own one of the base currencies listed in a pair before you can trade. In most cases, the most popular cryptocurrencies (BTC, ETH) serve as base currencies, but accepted base currencies will vary for each exchange.

What are the benefits of pairs trading?

Second – the less popular the stock or the ETF, the harder it is to find a willing lender to make the short possible, and third – legal restrictions on shorting can exist in different countries. An example of the latter could be “The uptick rule.” previously used in the US stock market, or the short sale ban that existed in Chinese stock market. The basis of Pairs trading is the high correlation between the two underlying securities. The strategy involves buying the undervalued share and selling the overvalued share. Pair trading was used for long term trading, but now pair trading can use for a short duration, i.e., intraday trading.

Leveraged trading in foreign currency or off-exchange products on margin carries significant risk and may not be suitable for all investors. We advise you to carefully consider whether trading is appropriate for you based on your personal circumstances. We recommend that you seek independent advice and ensure you fully understand the risks involved before trading. However, companies in the same sector, such as supermarkets, or mining, usually see their correlations remain constant. You can also learn more about Mean Reversion Trading Strategies to use market data and statistical concepts, here is a brief video. It is defined as scenarios where you take profit before the prices move in the other direction.

For instance, if your pairs trading strategy is based on the spread between the prices of the two stocks, it is possible that the prices of the two stocks keep on increasing without ever mean-reverting. In this case, Stock 1 is the outperforming stock, and Stock 2 is the underperforming stock. Now, over time, stocks converge and then return to their normal correlation of 0.96. With this strategy, traders can close the short position and make profits in the long. Another disadvantage to pair trading is that a single pair trade results in twice the commissions as a standard trade. For traders operating on relatively narrow margins, that difference in commissions can be the difference between a profit and a loss.

Trading platforms

Series that can be combined to create stationary portfolios are called cointegrating, and there are a bunch of statistical tests for this property. Cryptocurrency pairs allow you to compare costs between different cryptocurrencies. These pairings help illustrate the relative worth of specific crypto assets — e.g., how much BTC equals in ETH, and how much ETH equals in BCH. Exchanges usually offer several pairing options, which gives you the chance to choose a pairing based on currencies you already possess.

Disadvantages of Pair Trading

Visual testing is one of the fastest and most efficient way to get started with pairs trading. Please see the further, important disclosures about the risks and costs of trading, and client responsibilities for
maintenance of an account through our firm, available on this
website. Users are solely responsible for making their own, independent decisions about whether to use any of the research,
tools or information provided, and for determining their own trading and investment strategies.

You could consider a pairs trade that’s short Treasury futures and long SPX futures. Correlation has to do with how a pair moves in the same or different directions at the same time. Statistically, correlation is measured from -1.00 (where one asset goes up and the other tends to go down) to +1.00 (highly correlated pairs where the two are expected to move in the same direction). Sometimes we can get a loss on both trades or other times even see profits on both the long and the short trade. Depending on the difference between the gain and the loss of each trade, Joe can either lose or make money.

While it sounds like an ideal strategy to avoid the risks of uni-directional trading, pairs trading is not a magic formula. Correlations can change over time, so as ever it is important to manage risk correctly, risking only 2% of your capital on each trade. Indeed, given that a pairs trader is using two rather than one position, perhaps this should be dialed down to 1% of capital for each trade. Technical analysis focuses on market action — specifically, volume and price.

Because the price correlation between the two stocks has been reestablished the reason behind our trade has gone so we want to close our positions. The best forex pairs to trade with this market neutral strategy are the ones with the highest correlation. Pairs trading relies on a mathematical concept known as cointegration. For the purpose of this article, we’re not going to worry too much about the pair trading formula and the pairs trading quantitative methods and analysis. A trader is buying the underperformer and selling the outperformer, on the basis that this relationship will change course in due course.

The Dickey Fuller test is a hypothesis test which gives a p-value as the result. If this value is less than 0.05 or 0.01, we can say with 95% or 99% confidence that the signal is stationary and we can choose this pair. These residuals are studied so that we understand whether or not they form a trend. If they do not form a trend, that means the spread moves around 0 randomly and is stationary. The augmented Dickey-Fuller test is an extension of the standard Dickey-Fuller test, which also checks for both stationarity and non-stationarity in the time series. Whereas a perfect negative correlation is when one variable moves in the upward direction and the other variable moves in the downward (i.e. opposite) direction with the same magnitude.