Sub topic 14
Correlation and the Limits of Diversifying Within Crypto
This chapter assumes you can compute returns and standard deviation (earlier chapters), understand drawdown, and can read short Python scripts. It is educational material, not financial advice.
What correlation measures
Correlation is a number between -1 and +1 that describes how two series of returns move together.
- +1 means they always move in the same direction, in proportion.
- 0 means no linear relationship.
- -1 means they always move in opposite directions.
Diversification works because assets that are not perfectly correlated do not all fall at once. If two assets have the same volatility and a correlation below 1, a portfolio holding both has lower volatility than either alone. The lower the correlation, the larger the benefit.
The portfolio variance for two assets with weights w1 and w2, volatilities s1 and s2, and correlation rho is:
variance = w1²·s1² + w2²·s2² + 2·w1·w2·rho·s1·s2
The last term is the one correlation controls. When rho is 1, it is as large as it can be, and the portfolio's volatility is just the weighted average of the two volatilities. No risk is removed.
Why crypto assets are highly correlated
Holding ten tokens feels diversified. Often it is not. Several mechanisms push most crypto assets in the same direction:
- A common driver. Bitcoin is the largest asset and the main quote currency on many exchanges. Many other tokens are priced against it, so its moves pass through to them.
- A shared buyer base. The same traders buy many tokens on the same platforms. When sentiment turns, they sell across the board.
- Shared leverage. Leveraged positions in many tokens are held as margin on the same venues. A fall in one market triggers liquidations that force sales in others (see the leverage chapter).
- Shared infrastructure. Tokens on the same chain, exchange or stablecoin all depend on that component working.
- Shared news. Regulatory action, exchange failures and macroeconomic shifts hit the whole sector at once.
Correlation among large crypto assets tends to be high in normal times and can approach 1 during sharp sell-offs. This is the worst time for diversification to fail, because it is when you need it. Smaller tokens often fall more than Bitcoin in a downturn (they have a higher beta, meaning a larger move per unit of market move), so adding them can increase portfolio risk instead of reducing it.
Computing correlation in Python
The following script computes the correlation of two return series using only the standard library. The first series is a market proxy. The second is a smaller token that moves with it, but more strongly.
import math
def log_returns(prices):
return [math.log(b / a) for a, b in zip(prices, prices[1:])]
def correlation(x, y):
n = len(x)
mx = sum(x) / n
my = sum(y) / n
cov = sum((a - mx) * (b - my) for a, b in zip(x, y)) / (n - 1)
sx = math.sqrt(sum((a - mx) ** 2 for a in x) / (n - 1))
sy = math.sqrt(sum((b - my) ** 2 for b in y) / (n - 1))
return cov / (sx * sy)
btc = [100, 104, 98, 110, 105, 120, 90]
alt = [50, 54, 45, 58, 52, 64, 40]
r_btc = log_returns(btc)
r_alt = log_returns(alt)
print(f"Correlation: {correlation(r_btc, r_alt):.2f}")Seven prices give only six returns, so this is a toy example. Real estimates need many more observations, and they change depending on the window you choose.
A portfolio of two correlated assets
The next script shows how little volatility falls when correlation is high. It uses the two-asset variance formula with equal weights and equal volatility of 80% a year.
import math
def portfolio_vol(w1, s1, s2, rho):
w2 = 1 - w1
variance = (w1 * s1) ** 2 + (w2 * s2) ** 2 + 2 * w1 * w2 * rho * s1 * s2
return math.sqrt(variance)
for rho in [1.0, 0.9, 0.7, 0.3, 0.0]:
vol = portfolio_vol(0.5, 0.80, 0.80, rho)
print(f"Correlation {rho:.1f}: portfolio volatility {vol:.1%}")Running it gives these values:
| Correlation | Portfolio volatility |
|---|---|
| 1.0 | 80.0% |
| 0.9 | 78.0% |
| 0.7 | 73.5% |
| 0.3 | 64.0% |
| 0.0 | 56.6% |
At a correlation of 0.9, which is not unusual between large tokens, the second asset removes only two percentage points of volatility. You are holding two positions but carrying close to one position's risk.
Correlation is not stable
Three points make correlation less reliable than a single number suggests.
- It changes over time. A value measured over a calm year may not hold in a crash. Estimates from short windows are noisy.
- It rises under stress. Correlation measured on all days understates how assets behave on the worst days. If you care about drawdowns, look at how the assets moved during past drawdowns, not only the full-sample figure.
- It only captures linear co-movement. Two assets can have a moderate correlation and still crash on the same days.
Also remember that correlation says nothing about the level of risk, only about co-movement. A low-correlation asset that is itself extremely volatile can still dominate portfolio risk.
Where diversification still helps
High correlation does not make diversification useless. It changes where to look for benefit.
- Idiosyncratic risk. Individual tokens can fail from hacks, team abandonment, delistings or exploits that do not affect Bitcoin. Spreading across several established assets reduces the chance that one project-specific failure wipes out a large share of your holdings. This is a different kind of protection from reducing market swings.
- Separate failure points. Spreading holdings across custody methods, exchanges and chains reduces the damage from any single operational failure. This diversifies custody and counterparty risk (covered in earlier chapters), not price risk.
- Assets outside crypto. Cash, bonds, stocks and other holdings have different drivers. Correlation between crypto and traditional markets is not constant and sometimes rises in risk-off periods, so do not assume it is zero. But the number of shared drivers is lower than within crypto.
- Stablecoins as a cash position. Holding part of your balance in a stablecoin reduces exposure to price swings. It adds stablecoin risk (depegs, reserves, issuer failure), so it replaces one risk with another instead of removing risk.
Common errors
- Counting tokens instead of measuring exposure. Ten tokens with 0.9 correlations behave roughly like one.
- Assuming a historical correlation will hold in a crisis.
- Treating a larger number of small, speculative tokens as safer. They tend to carry more idiosyncratic risk and higher beta.
- Diversifying across assets while keeping everything on one exchange or in one wallet.
- Confusing "different category" with "different risk". A governance token, a game token and a layer-1 token can all fall together.
Implications for position sizing
Because correlation is high in the moments that matter, treat your whole crypto allocation as one risk when sizing. Assume the crypto portion as a group can suffer a drawdown similar to the large-token drawdown you used in the sizing formula, and cap that total, not each token separately. The next chapter builds on this.
Exercise
You hold two tokens, each with 80% annual volatility, in equal weights. Their correlation is 0.9. A friend suggests adding a third similar token to reduce risk further. Using the chapter's reasoning, will this help much with market risk, and what kind of risk might it still reduce?
Show answer
It will help very little with market risk. With a correlation of 0.9, two assets already reduced volatility only from 80% to about 78%, and a third highly correlated token would add little more, and its correlation may rise toward 1 in a sell-off. It can still reduce idiosyncratic risk, such as a hack, delisting or failure of one specific project, because that event affects only part of the holdings.
Exercise
Why is a full-period correlation figure potentially misleading when you are planning for a drawdown?
Show answer
Correlation tends to rise during sharp sell-offs, so an average over calm and stressed days understates how closely assets move on the worst days. For drawdown planning, check how the assets behaved together during past large falls, and assume diversification benefit may be smaller than the full-sample number suggests.