PyPortfolioOpt icon indicating copy to clipboard operation
PyPortfolioOpt copied to clipboard

Add check to `market_prices`

Open duranvrNubank opened this issue 3 years ago • 0 comments

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 a dataframe. It should fix it.

duranvrNubank avatar Jul 09 '22 16:07 duranvrNubank