This project focuses on analyzing the historical stock performance of major tech companies using Python, Jupyter Notebook, and financial data from Yahoo Finance. It includes data visualization, return analysis, moving averages, and correlation heatmaps to explore patterns and relationships in stock behavior.
Project2.ipynb: Main Jupyter Notebook containing all code, visualizations, and analysis.
pandasfor data manipulationyfinancefor stock data retrievalmatplotlibandseabornfor data visualizationNumPyfor numerical computations
- β
Download historical stock data using
yfinance - π Plot closing prices and daily returns
- π Analyze moving averages over 10, 20, and 50-day windows
- π Visualize stock volatility
- π Correlation heatmaps to show relationships between different stock returns
- π Use scatter plots and KDE to inspect stock relationships
- Clone the repo or download the notebook:
git clone https://github.com/Hardikk-7/Stock-Analysis-Project.git cd Stock-Analysis-Project