Skip to content
Wildflower
Join free
Portfolios of strategies and instruments

Free Trading School · Level 7 · Course 7.6

Correlation between markets

Lesson 3 of 10 in Portfolios of strategies and instrumentsModule 1: Why combine

Advanced · Portfolios of strategies and instruments

Correlation between markets

Wildflower Trading School · Lesson 7.6.1.3

Wildflower

Last time, strategies. This time, the markets underneath them. In Level 2, you saw that some markets have tended to move together. By the end of this lesson, you'll know how to read a correlation table for six micro futures, and why they fall into groups. You'll know three ways those links break. And you'll see why the length of the window changes the answer.

1 of 8

What you'll learn

  • Read a correlation table. It shows how closely each pair of markets moves together.
  • Group linked markets. Buying each stock index market can act like one bigger trade.
  • Measure daily changes. Two rising prices can look linked even when their days differ.
  • Watch for links breaking. A market's own news, a sell-off or a long shift can change them.
  • Pick your window. 20 days is quick but jumpy. 250 days is steady but slow.

Exercise

  1. Pick four markets you watch, and download their daily closes from your platform.
  2. Turn them into daily changes, and work out each pair's with CORREL over the last 20 days and the last 250.
  3. Put them in a small table, and see which pairs form groups, and which change most between the two windows.

Quick check

  1. 1. In a correlation table, why is the diagonal always 1?

  2. 2. Two markets showed a correlation of 0.2 for a calm year. What can happen in a broad sell-off?

  3. 3. Why work out correlation from daily changes rather than prices?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Combining equity curves” is waiting next time.

Read the full notes

Markets fall into groups that have tended to move together, such as the stock index micros and the precious metals, while crude oil has its own news; the links weaken on a market's own news, tighten in a sell-off and can change for years, and the window used changes the number.

  • A shows every pair of markets at once. Made-up, from a year of daily changes: S&P 500 and Nasdaq-100 0.92, S&P 500 and Russell 2000 0.82, gold and silver 0.80, crude oil 0.30 or less with everything. The diagonal is always 1.
  • Six markets fall into about three groups: stock indexes, precious metals and oil. A long in each index market is, much of the time, one bigger index trade (Correlation between trades). These are .
  • Build your own with CORREL on each pair of daily changes, not prices: two prices that both drift up can show a high even if their days don't match. TradingView's Correlation Coefficient indicator shows one pair on a chart; other platforms have their own.
  • Links break three ways: a market's own news (crude on an day, or an decision); stress, when links tighten in a sell-off (made-up: S&P 500 and crude jumped from 0.1–0.3 to about 0.75); and long shifts (US stocks and bond prices fell together in 2022, How markets move together).
  • The window changes the answer: 20 days is quick but jumpy, 250 days steady but slow to show a change. Some traders group markets by the higher reading. More: Market correlation.

Worked example

Made-up numbers

Correlation of changes, not prices

Made-up numbers · two markets over 5 days

  1. Market X closes: 100, 101, 103, 104, 106. Changes: +1, +2, +1, +2
  2. Market Y closes: 50, 52, 53, 55, 56. Changes: +2, +1, +2, +1
  3. The prices have a correlation of about 0.97. The daily changes have a correlation of −1: on every day, when one rose more, the other rose less

Both prices drifting up made them look linked. Their days moved in opposite ways.

Your turn

Drill

Made-up numbers · products of the distances add to 12 · squared distances add to 16 and 25

Trading is risky. A stop isn't guaranteed, so you can lose more than you planned. All numbers here are made up, and past results don't tell you what comes next. This lesson explains how portfolios work. It isn't advice.