A mathematical approach to portfolio allocations.
E[R] =
where: ๐ -> tau scalar ๐ -> Implied Equilibrium Excess Returns โ-> Covariance Matrix of Excess Returns Q -> View Matrix P -> Pick Matrix for views ๐ฎ -> View Confidence Matrix (P(๐โ)Pโ) E[R] -> adjusted expected return matrix
- git clone the project
- pip install numpy and pandas
- run
python test_model.py
Calculate optimal asset allocation weights with mean-variance optimization