This project fetches historical stock market data for the S&P 500 Index (^GSPC) using yfinance and prepares it for analysis. The dataset can be used for time series forecasting, trend analysis, and predictive modeling in stock market research.
- 🐍 Python
- 📊 yfinance (Yahoo Finance API)
- 📈 Time Series Analysis
Before running the script, install the required library:
pip install yfinance