Open adalseno opened 1 year ago
Hi Andrea,
I think this is to do with which implementation of the uncertainty matrix they are using. The methods comment mentions that the closed-form solution proposed by Jay Walter's-The Black-Litterman Model in Detail (2014) is used. This solution utilises tau.
Idzorek paper actually has $\tau$ in the formula for the Omega matrix - formula 8. In the paper, he assumed that $\tau = 0.025$ but you can take arbitrarily any number.
Describe the bug It's not a bug, but I think the formula is not accurate (line 386):
omega = tau * alpha * P_view @ cov_matrix @ P_view.T # formula (41)
Expected behavior According to the paper, the formula should be: $\alpha P \Sigma P^{\intercal}$
Code sample Thus, in my view, the code should be:
omega = alpha * P_view @ cov_matrix @ P_view.T # formula (41)
Operating system, python version, PyPortfolioOpt version Not relevant
Additional context Am I wrong? Thank you very much for your work.