The "Equal Weight S&P 500 Screener" project is a Python script designed to retrieve and analyze data for stocks in the S&P 500 index. It aims to provide recommendations for portfolio allocation based on equal weighting principles.
- Data Retrieval: The script retrieves stock data from the S&P 500 index using the IEX Cloud API.
- Equal Weight Calculation: It calculates equal weights for each stock in the index.
- Portfolio Allocation: Based on a specified portfolio size provided by the user, the script recommends the number of shares to buy for each stock to achieve an equal-weighted portfolio.
- Output Generation: The script generates a spreadsheet (recommended_trades.xlsx) containing recommended trades for the user's portfolio allocation.
- Clone this repository to your local machine:
git clone https://github.com/shaikhmubin02/Equal_Weight_S-P_500_Screener.git
MIT