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