This project focuses on extracting essential stock data and visualizing it through graphs, which can help in making informed decisions. The data is retrieved using both the yfinance library and web scraping techniques.
- Define a Function that Makes a Graph
- Question 1: Use yfinance to Extract Stock Data
- Question 2: Use Web Scraping to Extract Tesla Revenue Data
- Question 3: Use yfinance to Extract Stock Data
- Question 4: Use Web Scraping to Extract GME Revenue Data
- Question 5: Plot Tesla Stock Graph
- Question 6: Plot GameStop Stock Graph
Write a Python function that takes stock data and plots a graph to visualize the stock's performance over time.
Utilize the yfinance library to retrieve historical stock data for the selected company. Use the data to analyze key financial indicators.
Apply web scraping techniques to extract Tesla's revenue data from reliable financial websites.
Use the yfinance library again to extract stock data for another selected company.
Perform web scraping to extract revenue data for GameStop (GME) from trusted online sources.
Visualize Tesla's stock data by plotting it on a graph using the matplotlib or seaborn library in Python.
Plot the historical stock data of GameStop and visualize its performance over time.