'ValueError: Covariance matrix does not match expected returns

I am trying to optimize a portfolio for a certain timer period

Error message



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source