Day 100 — The unconstrained solution wants 400 percent gross exposure
Saturday, 14 November 2026 · Week 15 of 52 · Portfolios and risk · Study day · 65 min
The numbers you wrote down last night are not a bug in your code, and understanding exactly what produces them tells you what every practical fix is doing.
What you should be able to do tonight
- Explain why the optimizer takes extreme offsetting positions in assets with similar risk profiles.
- Relate the size of those positions to the condition number of the covariance matrix, with your own numbers.
Tasks 65 min
30 min Connect the two facts: compute the eigenvalues of your covariance matrix, take the ratio of largest to smallest, and then compute the gross exposure of the tangency portfolio. Repeat with 10, 25 and 50 assets on the same sample length and plot both quantities against the number of assets.
25 min Show the mechanism directly: take two assets with 0.98 correlation and similar volatility, give one a slightly higher estimated mean, and solve. The optimizer goes long one and short the other in enormous size because it believes the difference in means is real and the difference in risk is nearly zero. Write down the weights.
10 min Write one paragraph connecting this to the linkage disequilibrium case: a near-singular estimated covariance inverted and multiplied by a noisy vector produces the same instability in both fields, and the fixes are the same family.
Resources
Deliverable
notebooks/day-100-instability.ipynb with condition number and gross exposure plotted against universe size, plus the two-asset demonstration.
Checkpoint
Why does the optimizer take a huge long-short position in two nearly identical assets, and what does that have to do with the smallest eigenvalue?
Prepare for tomorrow
Ten minutes tonight so Day 101, Sunday, 15 November 2026 starts clean. This is what the evening email sends you.
Split your monthly sample in half. Optimise on the first half and record the realised out-of-sample volatility and return in the second.
Do the same for an equal-weighted portfolio.
Write down the two pairs of numbers. Do not compare them yet.