The python code is capable of taking a stock portfolio and analyze the expected annual return, annual volatility and variance. As well as to this, it can dictate how much of each stock in the portfolio to purchase. There is a ipynb file for the Google Collabe file and then the regular py python file.