SlowioSlowio
Sign up free
Blog / Portfolio

Five Holdings — or One Bet Five Times? Measuring Portfolio Correlation

Counting positions is not diversification. Correlation heatmaps, rolling correlations and risk contribution — how to measure whether holdings actually offset each other.

Portfolio series · 2 of 2 · Part 1: Portfolio Look-Through: What a Portfolio Actually Holds

Diversification is routinely measured by counting positions, and the count is routinely misleading. Five holdings that rise and fall together are one bet written five times; the protection everyone assumes from “not putting everything in one place” only exists if the pieces actually move differently.

Whether they do is measurable: pairwise correlations over a rolling window, the portfolio’s weighted average against each holding, and each position’s share of total variance. Below, the full risk pass on a worked example — including what an optimizer would change and why.

Feature spotlight · The Portfolio page

Five holdings — or one bet five times?

A portfolio of five names that all move together behaves like a single position. The Correlations tab measures it instead of guessing: every pair of holdings, scored from −1 (moves opposite) to +1 (moves in lockstep). Every new Slowio account starts with a small sample portfolio — two stocks and three ETFs. It makes an honest test subject, because every figure below can be reproduced on the Portfolio page.

Heatmap: pairwise correlations of the five sample-portfolio holdings and the whole portfolio, from -1 to 1
The Correlations tab’s heatmap for the sample portfolio: 20-day returns over the last three years, the tab’s default view. Blue = moves together, red = moves opposite. The PORTFOLIO row scores each holding against the portfolio as a whole.

The pattern is visible at a glance: the stocks and the S&P 500 fund cluster together (AAPL–SPY at 0.50), while the gold fund sits apart from the stocks (AAPL–GLD at -0.16) — the reason mixing asset types changes how a portfolio moves:

0.18
Avg corr. (holdings)
AAPL–SPY 0.50
Most corr. (holdings)
AAPL–GLD -0.16
Least corr. (holdings)
20-day
Return period
3 years
Window
1.24
Diversif. ratio

The PORTFOLIO row is the concentration story in one line: AAPL moves with the whole portfolio at 0.95, while GLD barely registers at -0.07.

What a correlation of 0.50 looks like. Every dot below is one 20-day stretch — AAPL’s return across, SPY’s return up. The tab draws this view for any pair: histograms on the margins, a regression line through the cloud:

Scatter chart with marginal histograms: AAPL.US versus SPY.US 20-day returns with regression line
The Correlations tab’s pair view for the most correlated holdings pair, AAPL vs SPY: each dot is a 20-day return pair over the last three years; dashed line = regression.

Is “uncorrelated” a promise? No — every number in the heatmap is a three-year average, and averages move. The tab’s rolling view redraws the correlation of a pair week after week:

Line chart: rolling correlations of the most and least correlated pairs of the sample portfolio over three years
The Correlations tab’s rolling view, its default setup: the two most and two least correlated pairs, correlation over a 60-observation rolling window of 20-day returns. Dotted line = zero.

The AAPL–GLD pair averages -0.16 over the whole window — but along the way it swung all the way from -0.78 to 0.81 (today: -0.15). Diversification is a moving target; this view shows when it held and when it didn’t.

The same tab adds an adjustable return period and rolling window, and lets any company or ETF Slowio follows be added to the matrix — for any portfolio or watchlist.

Open the Correlations tab →

From measuring to acting

Weights drift. A position that doubles quietly rewrites the whole portfolio’s risk. The Rebalance & Opt. tab runs a classical portfolio optimizer on the actual holdings and shows the gap between the weights a portfolio has and the weights a chosen objective would give it — here on the same sample portfolio.

Grouped bar chart: current vs optimizer weights for the sample portfolio's biggest rebalance moves
The Rebalance & Opt. tab’s top-moves view for the sample portfolio: current weight vs the Max Sharpe weights (40% cap per holding, 3 years of 20-day returns — the tab’s own controls).

On the last three years of data, the Max Sharpe weights would have kept roughly the same expected return at less than half the volatility — mostly by trimming the AAPL.US position from 71% to 11%:

24% → 24%
Expected return
21% → 10%
Volatility (ann.)
1.05 → 2.23
Sharpe ratio

Where the risk actually lives. Weights say where the money is; the tab’s risk-contribution view says where the swings come from — each holding’s share of the portfolio’s variance, before and after the optimizer:

Grouped bars: share of portfolio variance per holding, current vs optimizer weights
The Rebalance & Opt. tab’s risk-contribution view for the sample portfolio: each holding’s share of total portfolio variance under the current weights vs the Max Sharpe weights.

AAPL is 71% of the money but 78% of the risk — concentration compounds faster in variance than in weight. The Max Sharpe weights would cut that holding’s risk share to 11%.

The optimizer’s output is a statement about past returns, not a forecast — the tab makes the assumptions explicit (objective, lookback, per-holding cap) and lets each one be changed. Five objectives are available, from minimum volatility to risk parity, plus the efficient frontier.

Try the rebalance view →

Open the Portfolio page →

Run the same analysis on any of the 9,000+ companies Slowio follows — free, no card required.

Create a free Slowio account →