Black-Litterman Portfolio Optimization in Python: Market Equilibrium as a Bayesian Prior
Traditional Mean-Variance Optimization (Markowitz) is famous for producing extreme, unstable portfolio weights: tiny changes in expected returns or the covariance matrix move the allocation dramatically. The Black-Litterman model attacks that from an unexpected direction — instead of improving the return estimates, it changes where they come from: start from market equilibrium and treat your own views as noisy Bayesian evidence around it.
In this post we implement Black-Litterman from scratch in NumPy, and verify three things: that naive mean-variance really does collapse onto corner solutions, that Black-Litterman weights survive 200 bootstrapped re-estimations essentially unchanged, and — the part most demos skip — that the Black-Litterman portfolio actually has a higher Sharpe ratio out of sample, verified over 50 fresh simulated years.