This mini-project focuses on analyzing and visualizing the historical stock price data of a single company using Python. 🙌
Import pandas
and yfinance
, datetime modules
, plotly.express
module
- Import the necessary Python libraries and downloaded the historical stock price data for four companies: Apple, Microsoft, Netflix, and Google, for the last three months.
- Reset the index.
- Analyze and find the Stock Market Performance for the Last 3 Months and display it as a line chart.
- Compare the performance of different companies and identify similarities or differences in their stock price movements using the faceted area chart.
- Analyze moving averages, to identify trends and patterns in each company’s stock price movements over a period and visualize the data by line chart.
- Analyze the volatility of all companies. Volatility is a measure of how much and how often the stock price or market fluctuates over a given period.
- Analyze the correlation between the stock prices of Apple and Microsoft and display it as a scatter chart.
- Add Cumulative Analysis, Bar chart, and Sentiment Analysis