What Does Correlation Mean In Trading Strategies?

Last Updated on July 17, 2022 by Quantified Trading

Correlation in trading strategies , which measures the relationship between two datasets, is an essential variable for a trader. How your positions move in relation to other positions is crucial to understanding and managing risk.

Correlation in trading means how your trading strategies perform together. The strategies should not produce negative results at the same time or during the same time frame, but rather make profits and losses independently from one another. This is one of the most important aspects of trading, but also one of the most difficult.

Unfortunately, correlation is hard to predict because it’s not a static number but is constantly changing. Moreover, during panics and volatility, most asset classes start moving in tandem.

Understanding the correlation among your trading strategies is very important. This article briefly discusses what correlation is, how you can deal with it, and how to use it to your advantage in developing trading systems and strategies. Correlation, or more correctly, the lack of correlation, is the closest you get to a holy grail in trading.

What is correlation in trading?

Correlation in trading is a mathematical term that measures the relationship between two variables or datasets.

For example, the height of children tends to correlate to the height of the parents.

Likewise, your income mostly correlates to the amount of work you put in. It’s a statistical measure that shows how two variables are related but without considering causation.

The degree of the correlation is expressed by the correlation coefficient, which ranges from -1 to +1. In most statistical software, the coefficient is expressed as r. The significance of the correlation is expressed as p. The more observations you make, the more powerful your correlation is.

Something that is perfectly correlated has a correlation of 1. When the two variables correlate inversely, ie. they move opposite one another, the correlation coefficient is -1. A zero correlation coefficient means that the asset prices are uncorrelated.

In trading, the correlation is mostly used in time series data. Most stocks are highly correlated in the stock market, meaning they move up and down in tandem.

Opposite, a rise in the interest rates leads typically to lower share prices, and thus the interest rates and stocks are somewhat inversely correlated.

Unfortunately, correlations are not static – they change all the time. Two stocks could be highly correlated over long intervals, but they might have a low correlation over short periods.

What is correlation risk in trading?

The correlation risk is the risk of having a portfolio of strategies that tend to move in tandem. If you lose in strategy A, you have a high probability of losing in strategy B at the same time.

This is, of course, not optimal. You want to have as low a correlation as possible among your strategies.

Examples of “obvious” trading correlations:

Perhaps some examples better illustrate what is meant by correlation in trading:

  • The price of oil and the Norwegian krona (a low oil price is bad)
  • The price of oil and the Canadian dollar (a low oil price is bad)
  • The price of commodities and the price of the Australian dollar (Australia is a commodity producer)
  • Airline stocks and the price of oil
  • The price of gold and the increase of the US dollar (USD) money supply
  • Better than expected earnings result in increased share prices
  • Low PE readings and later higher share price (inverse relationship)
  • Rising interest rates and share prices (inverse relationship)
  • Inventory increases and future sales (inverse relationship)
  • When the price of goods drop, demand increases
  • Warm temperatures increase the demand for ice cream

We hope you get the idea.

Why correlation in trading is important to understand

A portfolio of trading strategies most likely has a high degree of correlation but is often ignored by beginners. Correlation is essential to understand for a trader!

There is no point in having, for example, ten different strategies if they correlate 80% of the time. If you lose money in strategy 1, you most likely also lose in the other nine strategies (at the same time).

To give a practical example of correlation in trading, we’d like to use a Swedish hedgefund group, Brummer & Partner, as an example. They offer a fund of funds called Multi-Strategy, a fund that invests in many asset classes using different time frames and portfolio managers. They seek a return that is uncorrelated to the overall stock market. The total returns are summarized in this graph:

 

Brummer & Partner’s return. Source: Website.

The red line grows almost linearly toward the upper right corner, while the grey MSCI World Index is a lot more erratic. Brummer has thus managed the same return as the MSCI World Index but with a lot less variability in the returns.

The excerpt below shows the correlation between Brummer’s Multi-Strategy and the Swedish Total Return Index (SIX) and MSCI World:

The lower-left box shows the correlation at 0.14 and 0.19, which is pretty low (the graphs are in Swedish).

Because one fund in the Multi-Strategy might have losses in one month, the other eight funds might have different performance. Hence the overall performance of the Multi-Strategy has minor drawdowns like shown in the monthly returns above.

However, when you start testing, you’ll find many seemingly interesting correlations that can potentially make you successful. But beware:

Spurious correlations in trading:

Because most of the backtesting involves predicting future prices based on history, you will likely find many spurious correlations. Many relationships are not direct but indirect.

Moreover, you have to be careful to conclude whatever you do because any test might result from chance and not be proof of causation. Seemingly statistically significant correlations are often due to chance or hidden factors.

Most of the actions in the markets are a result of noise and randomness. You can find many relationships that are the result of chance.

Traders make the error of omission

In Victor Niederhoffer’s book Practical Speculation, he and Laurel Kenner mention the third variable’s omission as one of the pitfalls when researching.

For example, the greater the number of storks, the greater the number of births.

However, districts with large stork populations have many births and have many buildings where the storks can nest. Thus, it’s the population that explains both the frequency of births and sightings of storks.

Victor Niederhoffer goes on to mention sentiment indicators. A typical sentiment indicator becomes bearish when the sentiment reaches a certain optimistic level and vice versa.

But there is a strong negative/inverse relationship between the recent move and the subsequent performance in the stock market. But at the same time, any sentiment indicator is positively correlated with the recent market move.

Thus, when the market is up big over the previous weeks, sentiment tends to be optimistic, which is bearish. Opposite, when the market is down, the sentiment changes to pessimistic, which is bullish. Sentiment has an indirect relation to the future movements, but only because of its connection with the recent market move.

A typical error of omission in the stock market is survivorship bias. Assume you want to test some consumer staples and their performance, and you grab the first ten stocks in the XLP index. But you are looking at the companies that have survived until now – you are omitting the ones which might not have made it.

Likewise, many value investors make the same mistake. Value stocks often appear tempting because they presumably might suffer only temporary difficulties, but this also increases the risk for permanent financial difficulties and subsequent bankruptcy. Many end up on the graveyard, and hence they never show up in any performance statistics.

Survivorship bias distorts results a lot!

Correlations in trading breakdowns – nothing lasts forever:

Correlations vary over time. Something that is highly correlated over long intervals might be erratic on a shorter time frame:

Correlations between the S&P 500 and the Nasdaq.

The lower pane on the chart shows the 10-day correlation (red line), while the black line shows the 100-day correlation. The correlation is very high over long time frames but tens to “break down” over a few days.

Opposite, the correlation between the S&P 500 and long-term interest rates is much lower:

 

The correlation between the S&P 500 and long-term interest rates is most of the time inverted.

The chart above shows the 10- and the 100-day correlation between the ETFs SPY and TLT. The black line, the 100-day average, is most of the time negative, as expected due to the inverse relationship between stock market valuation and rates.

Should you understand why trading correlations change?

There are many reasons why correlations break down and change. Sentiment and global factors change all the time, and luckily the world is not static.

We would like to understand why things change, but we believe this is a pretty futile exercise that will keep you occupied 24/7. We think it makes more sense to accept that correlations come and go.

Non-correlation and diversification – the holy grail in trading?

The goal in trading system development is to have strategies that cancel each other out to lower the returns’ variability – we can call it correlation trades. To do this, you need to include various asset classes, trade both long and short, and use different time frames in your trading strategies. Even long-only trades done during a bear market can add diversification and profitability when the time frame is short.

Trading correlation can be used as a tool in strategy development. As a trader, you can use correlations to estimate the price tomorrow, next week, or next month.

ETFs and futures can be used as variables to predict the price of another asset. If you subscribe to our Trading Edges, you’ll get some ideas on how to use this to your advantage in forthcoming Trading Edges:

Trading correlations, or more correctly, the lack of correlation, is the closest you get to a “holy grail” in trading.

Moreover, inversely correlated assets are just as valuable. Why? Because adding instruments that are lowly correlated smooths the equity curve.

A perfect example of that is the example above in Brummer & Partners. Because of their high risk-adjusted performance, indicated by the Sharpe Ratio, they can use leverage to boost returns. Brummer’s Multi-Strategy fund is offered both without leverage and 2x leverage.

Conclusion – What does correlation mean in trading?

Correlation in trading refers to how your strategies perform together. In trading, you want a low correlation between your trading strategies.

To succeed, we recommend having a basket of many strategies – a portfolio of many strategies – that internally has a low correlation.

You add diversification and decrease correlation in trading by thinking like this:

  • Learn to code so you can use trading software and develop quantified strategies.
  • Quantitative trading makes you systematic and disciplined. Backtesting works.
  • There are practically no limitations on how many strategies you can run automatically (as long as you are well funded).
  • Trade different asset classes.
  • Trade both long and short. Short selling is difficult but offers very good risk mitigation in a portfolio.
  • Trade different time frames.

Similar Posts

  • Thank you for this brilliant article (as always). I’m also trading many automated strategies on many markets and I carefully look on the correlation between all trading items. Which software do you suggest to evaluate the whole basket of trading strategies? I’m using Trade Navigator at the moment which is quite useful to build and evaluate strategies, but I’m not very satisfied with the stability in live trading. Is there something you can recommend?

    • Hi Andreas,
      Thanks for your kind words!

      I have heard of Trade Navigator, but never used it. If I understand you correctly, you use it for backtesting but not for live trading? You describe it as unstable, what do you mean by that? Which program are you using now?

      I have only experience with Excel, Amibroker, and live trading. My experience is that theoretical simulations give an indication about how the strategies perform together, but it’s always difficult to assess unless it’s in live trading. The problem with simulations is that it just takes seconds, and you never get to understand the small details which you do in live trading. Perhaps what you can do is the following:
      – Run the same strategies on both a paper account and on the real account. However, add potential new strategies to the paper account and measure the difference to the real account. Depending on your software, this should be doable.
      – Alternatively, run a simulation daily with a paper account (out of sample) after hours.

      I used the latter approach for a long time,.

      I hope that answer partially your question.

      Regards,
      O.G.

      • Hello Oddmund,
        thank you very much for your immediate and detailed reply. That’s awesome.
        Sorry for being unprecise with my question, but I was indeed purely aiming at technical issues during live trading with the Trade Navigator.
        The points you describe are absolutely relevant and it took me years sorting this out. I’ve tried many tools and methods to get the backtesting and live results as closely together as possible. It all depends on the backtesting engine and the data. The Trade Navigator was the first tool, where the differences in backesting and live trading are neglectable. This is why I’m still sticking to it.
        The big disadvantage of the Trade Navigator is the reliability of the broker and data connection and the stability of the program itself. You need to monitor everything frequently to be sure, that everything is still working. And if something happens at night you could miss entries and exits, which cost money in most of the time.
        Therefore, I thought you might use another program, which is also capable of backtesting many strategies on many markets at the same time. I’ve checked so many (MetaTrader, NinjaTrader, Agena Trader, AmiBroker, Forex Strategy Builder, self written tools, ….) but nothing is perfect.
        Best regards
        Andreas