AI & Quantitative5 min readUpdated Mar 2026

Correlation

A statistical measure ranging from -1 to +1 that describes how closely two assets' price movements are related to each other.

See Correlation in real trade signals

Tradewink uses correlation as part of its AI signal pipeline. Get signals with full analysis — free to start.

Start Free

Explained Simply

Correlation quantifies the relationship between two assets' returns. A correlation of +1.0 means they move in perfect lockstep; -1.0 means they move in exactly opposite directions; 0 means no relationship. Most stocks have positive correlations (0.3 to 0.7) with each other because they're influenced by the same macroeconomic factors. During market crashes, correlations spike toward 1.0 as panic selling hits everything — this is called "correlation convergence" and it undermines diversification precisely when you need it most. Understanding correlation is essential for portfolio construction: holding 10 stocks with 0.9 correlation gives much less diversification than holding 5 stocks with 0.3 correlation. Pairs traders specifically seek highly correlated assets that temporarily diverge.

How Correlation Is Calculated and Interpreted

Correlation is measured using the Pearson correlation coefficient, which ranges from -1.0 to +1.0:

Formula: Correlation(A,B) = Covariance(A,B) / (Std Dev A x Std Dev B)

The calculation uses daily returns (not prices) over a lookback period (typically 30, 60, or 252 trading days).

Interpretation scale:

  • +0.7 to +1.0: Strong positive correlation. Assets move together. Most stocks within the same sector fall here (AAPL and MSFT: ~0.75). Holding both provides little diversification.
  • +0.3 to +0.7: Moderate positive correlation. Assets move somewhat together. Stocks in different sectors (AAPL and JPM: ~0.45). Some diversification benefit.
  • -0.3 to +0.3: Low or no correlation. Asset movements are largely independent. Stocks vs gold: ~0.05. Strong diversification benefit.
  • -0.3 to -0.7: Moderate negative correlation. Assets tend to move in opposite directions. Stocks vs Treasury bonds: ~-0.30 to -0.50. Excellent for hedging.
  • -0.7 to -1.0: Strong negative correlation. Assets move in opposite directions. Long SPY vs short SPY: -1.0 by definition.

Critical caveat — correlation is not constant. It changes over time and, most dangerously, spikes toward +1.0 during market crises. In the 2008 financial crisis and 2020 COVID crash, almost everything fell together. The diversification you planned for may disappear precisely when you need it most.

Correlation in Portfolio Construction

The diversification math: Portfolio volatility is not just the weighted average of individual position volatilities — correlation reduces it. Two assets with 20% individual volatility and 0.0 correlation, held equally, produce a portfolio volatility of only 14.1% (not 20%). The lower the correlation between holdings, the more free risk reduction you get.

Practical application: When adding a new position to your portfolio, check its correlation with existing holdings. If you already hold AAPL, MSFT, GOOGL, and NVDA (all 0.6-0.8 correlated with each other), adding AMZN provides minimal diversification. Adding gold (GLD, correlation ~0.05) or a utility stock (NEE, correlation ~0.3) reduces portfolio risk more effectively.

Correlation matrix: Professional portfolio managers use correlation matrices showing the correlation of every asset pair in the portfolio. Visualize it as a heat map — clusters of high correlation identify concentrated risk. If your matrix shows many cells above 0.7, you have a concentrated portfolio that will suffer large drawdowns when the correlated sector declines.

Position sizing adjustment: Some traders adjust position sizes based on correlation. If adding a position that correlates 0.8 with an existing position, reduce both sizes by 20-30% because they effectively behave as a single larger bet. This prevents stealth concentration where nominally different positions create the same risk exposure.

Rolling correlation: Check 30-day rolling correlation to see if relationships are stable or shifting. If two assets that were historically uncorrelated suddenly show rising correlation, your portfolio may be more concentrated than you think.

Correlation vs Cointegration for Trading

Correlation measures direction of movement. Two stocks that both go up on most days have high positive correlation. But correlation says nothing about the magnitude or long-term relationship — highly correlated stocks can drift apart permanently.

Cointegration measures a long-term equilibrium. Two cointegrated stocks maintain a stable price relationship over time. They may diverge temporarily but always revert to their historical spread. This is a stronger and more useful relationship for trading.

Example: Coca-Cola (KO) and PepsiCo (PEP) are both correlated and cointegrated — they move together and maintain a stable price ratio. Tesla (TSLA) and NVIDIA (NVDA) may be highly correlated (both move with tech sentiment) but are NOT cointegrated — their price ratio drifts unpredictably over time.

For pairs trading: Use cointegration, not just correlation. A pairs trade based only on high correlation may suffer unlimited loss if the spread keeps widening. A cointegrated pair has a statistical tendency to revert, giving the trade a mathematical edge.

For portfolio diversification: Use correlation. You want to hold assets that tend to move independently. Cointegration is not relevant for diversification — two cointegrated assets provide poor diversification because they move together in the long run.

How to Use Correlation

  1. 1

    Calculate Correlation Between Two Assets

    Use a correlation calculator or spreadsheet. Input the daily returns of both assets over 60+ trading days. Correlation ranges from -1.0 (perfectly inverse) to +1.0 (perfectly correlated). Most financial platforms display correlation matrices for watchlist stocks.

  2. 2

    Interpret the Number

    Correlation above 0.7: the assets move together strongly. Correlation 0.3-0.7: moderate relationship. Correlation -0.3 to 0.3: weak or no relationship. Correlation below -0.3: they tend to move opposite. True diversification requires assets with low or negative correlation.

  3. 3

    Assess Portfolio Diversification

    Build a correlation matrix for all your positions. If most correlations are above 0.7, you're effectively making the same bet multiple times — your portfolio isn't truly diversified. Add assets with correlation below 0.3 to your existing holdings.

  4. 4

    Use Correlation for Pairs Trading

    Highly correlated stocks (>0.8) from the same sector make good pairs trade candidates. When they temporarily diverge, buy the underperformer and short the outperformer. The high historical correlation suggests they'll reconverge.

  5. 5

    Monitor Correlation Changes

    Correlation isn't static — it increases during market stress (everything drops together). Recalculate correlations quarterly. If a previously uncorrelated asset starts correlating with your portfolio, your actual risk is higher than you think. This 'correlation breakdown' is the biggest risk in portfolio management.

Frequently Asked Questions

What is correlation in the stock market?

Correlation measures how closely two stocks (or assets) move together, on a scale from -1 to +1. A correlation of +1 means they move in perfect lockstep. A correlation of -1 means they move in exactly opposite directions. A correlation of 0 means their movements are unrelated. Most stocks have moderate positive correlations (0.3-0.7). Correlation is essential for portfolio diversification — holding uncorrelated assets reduces overall portfolio risk.

Why does correlation spike during market crashes?

During crises, investors sell everything indiscriminately to raise cash, fund margin calls, or reduce risk. This panic selling drives all assets down simultaneously regardless of their fundamentals, pushing correlations toward +1.0. This phenomenon, called correlation convergence, undermines diversification at the worst possible time. It is why portfolio risk models that use average correlations underestimate tail risk during crashes.

How do you use correlation for portfolio diversification?

Select assets with low or negative correlations to each other. Instead of holding 10 tech stocks (high correlation), combine stocks from different sectors, bonds, commodities, and international markets. Check correlation matrices to ensure positions are genuinely diversified. When adding a new holding, verify its correlation with existing positions is below 0.5. Regularly review rolling correlations since relationships change over time.

How Tradewink Uses Correlation

Tradewink's PairsTrader uses correlation analysis to identify and monitor pairs trading candidates — stocks with historically high correlation whose prices have temporarily diverged. The PortfolioRiskAnalyzer tracks cross-asset correlations within the portfolio to ensure true diversification and warns when portfolio correlation is dangerously concentrated. The CointegrationAnalyzer goes beyond simple correlation to test for cointegration — a stronger statistical relationship that accounts for non-stationary price data.

Trading Insights Newsletter

Weekly deep-dives on strategy, signals, and market structure — written for active traders. No spam, unsubscribe anytime.

Related Terms

Learn More

See Correlation in real trade signals

Tradewink uses correlation as part of its AI signal pipeline. Get daily trade ideas with full analysis — free to start.

Enter the email address where you want to receive free AI trading signals.