Base on Markowitz Portfolio Theory, this program calculates the optimal selection ratios of 3 stocks: NVDA, AVGO, PFE. This is python program run on Jupyter notebook.
Install notebook by pip. In process I have can't run notebook but I dealed it by python -m notebook
I used math
matplotlib
numpy
datetime
cvxopt
seaborn
pandas
Stock data on yfinance
library