Correlation
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
-
1FOREX.comActive Trader Program With A 15% Reduction In Costs
Ratings
$1000.01 Lots1:50NFA, CFTCForex, Stocks, Futures, Futures OptionsMT4, MT5, TradingView, eSignal, AutoChartist, TradingCentralWire Transfer, Credit Card, Debit Card, Visa, Mastercard, Skrill, Neteller, ACH TransferUSD, EUR, GBP, CAD, AUD, JPY, CHF, PLN -
2NinjaTrader
Ratings
$00.01 Lots1:50NFA, CFTCForex, Stocks, Options, Commodities, Futures, CryptoNinjaTrader Desktop, Web & Mobile, eSignalACH Transfer, Debit Card, Wire Transfer, ChequeUSD -
3Interactive Brokers
Ratings
$0$1001:50FCA, SEC, FINRA, CFTC, CBI, CIRO, SFC, MAS, MNB, FINMA, AFMStocks, Options, Futures, Forex, Funds, Bonds, ETFs, Mutual Funds, CFDs, CryptocurrenciesTrader Workstation (TWS), IBKR Desktop, GlobalTrader, Mobile, Client Portal, AlgoTrader, OmniTrader, eSignal, TradingCentralCheque, ACH Transfer, Wire Transfer, Automated Customer Account Transfer Service, TransferWise, Debit CardUSD, EUR, GBP, CAD, AUD, INR, JPY, SEK, NOK, DKK, CHF, AED, HUF -
4eToro USAInvest $100 and get $10Securities trading offered by eToro USA Securities, Inc. (“the BD”), member of FINRA and SIPC. Cryptocurrency offered by eToro USA LLC (“the MSB”) (NMLS: 1769299) and is not FDIC or SIPC insured. Investing involves risk. 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
$100$10SEC, FINRAStocks, Options, ETFs, CryptoeToro Trading Platform & CopyTraderACH Transfer, Debit Card, PayPal, Wire TransferUSD
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:
- -1 implies negative correlation: as A increases in value, so B decreases and vice versa
- 0 implies no correlation: the values of A and B have no relationship
- 1 implies positive correlation: A and B increase or decrease in value in unison.
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.
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
- Better than using covariance as it shows the strength of a relationship between two values.
- Although not quick to calculate, the correlation scale of -1 to 1 is easily understandable, even to trading beginners.
- A graph of a correlation coefficient can show trends that are helpful in determining the future direction of a value.
- Pearson’s formula can accommodate large quantities of data, allowing traders to calculate correlation over as large a time period as desired.
Cons
- Correlation shows the strength of a relationship, but cannot show whether the relationship is a cause-effect one. Even a strong correlation of -1 or 1 cannot show whether the movement of
- A directly affects the movement of B or vice versa.
- Whilst correlation can show trends based on historical data, it cannot predict the future. Even portfolio diversification based on low or non-correlated securities (see below) must work on the assumption that correlation coefficients will remain broadly the same.
- As with any calculation based on mean averages, atypical values can skew the average and therefore the correlation results – especially with smaller data samples.
- A strong correlation is best displayed when there is a linear relationship between the two values (as A moves up, so does B; as A moves up, B moves down etc.) However, two values that have a nonlinear relationship may still have a correlation that the coefficient calculation cannot display.
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’.