PyPortfolioOpt icon indicating copy to clipboard operation
PyPortfolioOpt copied to clipboard

Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity

Results 146 PyPortfolioOpt issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem?** It plots the portfolio contra each of its components, to demonstrate how portfolio reduces variance **Describe the feature you'd like** 1. It...

enhancement

Hello I want to calculate a Markowitz portfolio while using exponentially-weighted mean and covariance. Since I wanted to use alpha rather than span, I wrote: `alpha = 0.3` `span_alpha =...

question

**What are you trying to do?** Basic function tests with a monthly frequency of ETF prices. However, it looks like the expected_returns and risk_models classes don't handle the frequency=12 parameters...

question

**Describe the bug** Hi there, I was experiencing a very strange bug. When I used a loop to optimize the mean-variance weights, it seems randomly popping-up error messages. When retry...

bug

Hi, could you please check how to set the minimum optimal weight of an asset? For example, if the optimized assets are 90 out of 100. the minimum weight of...

question

The method `expected_returns.capm_returns()` fails if you provide a Series as `market_prices`. I added a similar check to the one that is done in the `prices` argument and transformed it into...

Bumps [lxml](https://github.com/lxml/lxml) from 4.8.0 to 4.9.1. Changelog Sourced from lxml's changelog. 4.9.1 (2022-07-01) Bugs fixed A crash was resolved when using iterwalk() (or canonicalize()) after parsing certain incorrect input. Note...

dependencies

**Operating system, environment, python version** Windows, Atom, python3.10 **What you tried** pip install PyPortfolioOpt **Error message** ``` Collecting PyPortfolioOpt Using cached pyportfolioopt-1.5.2-py3-none-any.whl (61 kB) Requirement already satisfied: pandas>=0.19 in c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages...

packaging

Hello, thank you very much for this great tool! I have a question. I allowed short selling for individual asset weights in my code and I am trying to put...