Lesson 14 of 15
Black-Litterman Views
Black-Litterman Model
The Black-Litterman model (1990) combines a market equilibrium prior with investor views to produce a posterior estimate of expected returns.
The Framework
- Prior: Market equilibrium returns π (implied by market cap weights and a risk model)
- Views: An investor expresses a view that a linear combination of assets will return Q, with uncertainty Ω
- Posterior: The BL formula blends the prior and views using Bayes' theorem
Simplified Formula
For a single view expressed as a vector P (portfolio weights for the view) and target return Q:
In our simplified version, we use the identity matrix for Σ (unit covariance), so:
where τ (tau) is a scalar controlling prior uncertainty (default = 0.05).
Your Task
Implement bl_posterior_return(pi, omega, P, Q, tau=0.05) where:
pi— list of prior expected returnsomega— scalar view uncertaintyP— list of view portfolio weightsQ— scalar view expected return
Return a list of posterior expected returns, each rounded to 4 decimal places.
Python runtime loading...
Loading...
Click "Run" to execute your code.