The S&P 500 is the world's most popular stock market index. The largest fund that is benchmarked to this index is the SPDR® S&P 500® ETF Trust. It has more than US$250 billion of assets under management.
The goal of this project is to create a Python script that will accept the value of your portfolio and tell you how many shares of each S&P 500 constituent you should purchase to get an equal-weight version of the index fund.
Static Stock Data has been acquired from IEX Cloud API
Equal-Weight-S-and-P-500 # Main project folder
├── sp_500_stocks.csv # S&P 500 constituents
├── Equal Weight S&P 500.ipynb # Main script
├── recommended trades.xlsx # Output
├── .gitignore
├── README.md
├── requirements.txt