Correlation

Contributor Image
Written By
Contributor Image
Written By
James Barra
James is an investment writer with a background in financial services. He has worked as a management consultant, where he delivered large-scale operational transformational programmes at some of Europe's biggest banks. James authors, edits and fact-checks content for a series of investing websites.
Contributor Image
Edited By
Contributor Image
Edited By
Jemma Grist
Jemma is a writer, editor and fact-checker focused on retail trading and investing. Jemma brings a unique perspective to the forex, stock, and cryptocurrency markets and works across several investment websites as a researcher and broker analyst.
Contributor Image
Fact Checked By
Contributor Image
Fact Checked By
Tobias Robinson
Tobias is a partner at DayTrading.com, director of a UK limited company and active trader. He has over 25 years of experience in the financial industry and contributed via CySec to the regulatory response to digital options and CFD trading in Europe. Toby’s expertise and dedication to financial education make him a trusted voice in the industry, including a BBC investigation into digital options.
Updated

Correlation describes the mutual relationship between two independent values. The most basic use of correlation in trading is in finding out whether there’s a relationship between two variables and, if there is, what kind of relationship it is. The number is generally given as a figure between -1 and 1, where -1 implies a negative correlation, 0 represents no correlation whatsoever, and 1 implies a positive correlation.

The Best Brokers For Correlation-Based Trading

Click a broker for details
  1. 1
    FOREX.com
    Active Trader Program With A 15% Reduction In Costs

    Ratings
    4.9 / 5
    4 / 5
    4.3 / 5
    4.6 / 5
    4.6 / 5
    4.3 / 5
    4.8 / 5
    4.5 / 5
    3.6 / 5
    3.8 / 5

    $100
    0.01 Lots
    1:50
    NFA, CFTC
    Forex, Stocks, Futures, Futures Options
    MT4, MT5, TradingView, eSignal, AutoChartist, TradingCentral
    Wire Transfer, Credit Card, Debit Card, Visa, Mastercard, Skrill, Neteller, ACH Transfer
    USD, EUR, GBP, CAD, AUD, JPY, CHF, PLN
  2. 2
    NinjaTrader

    Ratings
    4.3 / 5
    2.8 / 5
    2.9 / 5
    4.3 / 5
    4.5 / 5
    4 / 5
    4 / 5
    3.5 / 5
    3 / 5
    3.2 / 5

    $0
    0.01 Lots
    1:50
    NFA, CFTC
    Forex, Stocks, Options, Commodities, Futures, Crypto
    NinjaTrader Desktop, Web & Mobile, eSignal
    ACH Transfer, Debit Card, Wire Transfer
    USD
  3. 3
    eToro USA
    Invest $100 and get $10
    https://www.daytrading.com/ is not an affiliate and may be compensated if you access certain products or services offered by the MSB and/or the BD.

    Ratings
    4.3 / 5
    3 / 5
    3.9 / 5
    3.4 / 5
    4 / 5
    3 / 5
    4.3 / 5
    4.5 / 5
    4.3 / 5
    4 / 5

    $10
    $10
    SEC, FINRA
    Stocks, Options, ETFs, Crypto
    eToro Trading Platform & CopyTrader
    ACH Transfer, Debit Card, PayPal, Wire Transfer
    USD
  4. 4
    OANDA US
    CFDs are not available to residents in the United States.

    Ratings
    4.5 / 5
    3.5 / 5
    2.8 / 5
    4 / 5
    4.5 / 5
    3.5 / 5
    4.3 / 5
    3.8 / 5
    4.7 / 5
    3.7 / 5

    $0
    0.01 Lots
    1:50
    NFA, CFTC
    Forex, Crypto with Paxos (Cryptocurrencies are offered through Paxos. Paxos is a separate legal entity from OANDA)
    OANDA Trade, MT4, TradingView, AutoChartist
    Wire Transfer, Visa, Mastercard, Debit Card, ACH Transfer
    USD, EUR, GBP, CAD, AUD, JPY, CHF, HKD, SGD

For trading, correlation can have many different uses, as so much of what traders do is based on analysing the relationships between different stocks, currencies and markets etc. Here, we’re going to look at how we define and employ correlation in day-to-day trading.

Defining Correlation in Trading

To find whether there’s a relationship between two variables, we use the correlation coefficient. This is a scale which runs from -1 to 1 and provides the following information:

This being a scale, there are also in-between values although, in trading, a coefficient of more than -0.8 or less than 0.8 is not considered significant.

Correlation forex day trading

Pearson’s Correlation Coefficient

The formula used to calculate correlation coefficients is the Pearson Correlation Coefficient (PCC), a method of statistical analysis named after Victorian mathematician Karl Pearson.

Let’s say we want to find if there is any correlation between stock A and stock B: to find the correlation, we first need to know the covariance and standard deviation of our two stocks.
In trading, covariance is the measure of the relationship between A and B. This might sound the same as correlation, but it is different (see note below).

Covariance is found by taking a set of values for A and B from a given time period and calculating each one’s mean average. The mean is then subtracted from each A and B value. The subsequent totals for A are added together and likewise with B. The sum of these A and B values is multiplied and then divided by the number of values you started with minus 1 (so if you took the values of A and B once a day over a ten-day period, you’d divide by 9).

Standard deviation in trading is a measure of how far the value of a security varies from its mean average over a given period of time.

To find the standard deviation, you first need to know the variance (different from covariance): this is calculated by taking the values of one stock, A, over a given time period. As with covariance, the mean average of A is worked out and then subtracted from each value.

Each of these totals is then squared and added together. This total is then divided by the original amount of values minus 1 to give you the variance. The square root of the variance is the standard deviation.

The correlation coefficient is found by dividing the covariance of A and B by the sum of the standard deviations of A and B.

Difference Between Correlation and Covariance

The subtle but important difference for traders between correlation and covariance is thus: covariance only measures the rate at which two values change in tandem whereas correlation measures the extent to which these value changes are related. When these are seen plotted on the same graph, correlation will tend to stay closer to the mean than covariance.

Pros and Cons of Correlation

As with anything in trading, the correlation coefficient has its advantages and disadvantages:

Pros

Cons

Using Correlation in Trading

Now we know what correlation means for traders, let’s look at ways in which it’s employed in everyday trading:

Measuring the Relative Performance of Two Variables

The main reason any trader would want to know the correlation between two variables is ultimately to inform their investing.

An interesting example of this is the correlation between stocks and bonds, particularly those of the S&P 500 and US Treasury bonds. Since the turn of the century, these two asset classes have been almost consistently negatively correlated.

Two decades of negative stock-bond correlation have given rise to the assumption that as stocks increase, bonds will always drop as investors seek to free up capital to take advantage of bull markets. The reverse is also deemed to be true; in a bear market, investors can look to bonds as a way of protecting their portfolio (this is sometimes referred to as a ‘flight to quality’ or ‘flight to safety’ – more on this below).

However, it’s worth bearing mind that during the 1980s and 1990s, the correlation between stocks and bonds was almost exclusively positive. This was largely due to inflation rates both expected and realised. Therefore, investors can see that there is a correlation between stocks and bonds, but its nature can change over time due to outside economic factors (remember that correlation cannot show causality).

Portfolio Protection and Diversification

Traders want to guard their assets as much as possible against systematic risk – i.e. factors that affect a large section of a market, if not the whole market. Popular ways of doing this are portfolio diversification and portfolio protection.

Both of these employ correlation by including securities which have either low or no correlation to equities. Low and non-correlated assets are also referred to as alternative investments and can include private equity, precious metals and options. The thinking is that by balancing a portfolio in this way then, should one set of equities suddenly depreciate in value, the low correlated securities won’t be as badly affected as the equities and therefore help hedge any losses.

Other Trading Strategies Which Employ Correlation

Pairs Trading

Pairs trading looks for two securities which are historically highly correlated (a coefficient of 0.8 or above) and seeks to capitalise on any diversion from their correlation.
The strategy was developed at Morgan Stanley in the 1980s.

It involves taking a short position on the over-performing stock (A) and a long position on the under-performing stock (B) once they deviate a certain distance from their correlation. The trader then simultaneously sells A and buys B. The theory is that as correlation tends to be mean reverting, profit is made from going short on A and long B.

Correlation Swaps

Correlation swaps are over-the-counter (OTC) financial derivatives. Essentially a correlation swap is a contract which promises a return for every increase in the correlation coefficient between two products. As with pairs trading, an ideal correlation swap would be based on two highly-correlated securities that have deviated a distance from their mean.

Multi-Asset Options

These are also known as rainbow options or correlation options. Multi-asset options have many different variations but, at base level, are derivatives based on more than one underlying asset and pay out on the best (or worst) performing of them. Such option prices are sensitive to the correlation between the underlying assets, hence the term correlation options.

Dispersion Trading

Dispersion trading is a complex trading strategy. It works on the idea that the difference between the implied and realised volatility of an index tends to be greater than that of its component stocks. In theory, profit is made by selling index options and buying options in its individual parts.

Correlation is involved in dispersion trading in two ways: Firstly because trades can be more profitable when component stocks are not highly correlated. Secondly, part of the formula for calculating a dispersion trading strategy involves working out the implied correlation of an index, also known as the ‘dirty correlation’.