`Analyze Financial Data with Python Capstone - Josef

Contains both the Jupyter notebook and presentation.

The thing that most people likely get stuck on is the last part where you are supposed to choose low risk high profile portfolio.

Unless I did something wrong, I think the “optimal_portfolios” function doesn’t actually give you weights of the optimal portfolios - only the returns and risks and one set of weights for the highest return portfolio (which ends up being 100% of the highest performing stock).

I found the only option to find something close to optimal portfolio for a low risk high return investment was to use the “return_portfolios” function of random portfolios and specify what risk and return we want.

If anyone knows how to get the weights from the “optimal_portfolios” function, I’d be happy to learn how to do that.