PyPortfolioOpt
PyPortfolioOpt copied to clipboard
Update black_litterman.py
Handling the singular matrix error. If an inversion of the matrix is not possible, then solve the linear equation by least squares methods. Else, we are getting a lot of singular matrices errors for some of the actions done by the manager