A Markowitz-efficient portfolio lies on the efficient frontier: no alternative offers higher expected return at the same risk or lower risk at the same return. Diversification balances expected return against variance, making the model a practical way to compare portfolio choices rather than a guarantee of future performance. section 7.6.1
A Python portfolio calculation
Using three years of data for AAPL, WMT, GOOGL, KO, PFE, BRK-B, and NVDA, the calculation uses a 0.0422 risk-free rate and 10,000 candidate portfolios. One resulting allocation assigns 63.6% to NVDA, 29.3% to PFE, and smaller weights to the remaining stocks. Such concentration is a useful prompt to inspect assumptions and risk, not an investment recommendation.
