robertmartin8 / PyPortfolioOpt

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

Why Doesn't max_sharp have the option of market neutral portfolio?? #585

Open raphael7777777 opened 4 months ago

raphael7777777 commented 4 months ago

i want to optimize my portfolio ussing the max_sharp, but i need the weights to sum to zero, why does the max_sharp only offer the option of the portfolio summing net exposure being 1?