robertmartin8 / PyPortfolioOpt

Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity
https://pyportfolioopt.readthedocs.io/
MIT License
4.26k stars 929 forks source link

Feature request: [your feature] #463

Closed heartwxmddd closed 2 years ago

heartwxmddd commented 2 years ago

Is your feature request related to a problem? A clear and concise description of what the problem is.

We cannot take short position in some assest on real markets, but blacklitterman could give negative weights.

so i think it would be better if we could add constrains, like 0 to 1, on weights in blacklitterman model.

many thanks!