A simple and interactive Streamlit app that fetches and visualizes stock price data using the yfinance
library. The app allows users to input a stock ticker and date range to view stock data, along with visualizations for the closing price and volume.
- Stock Ticker Input: Enter any stock ticker (e.g., AAPL, TSLA, GOOG) to retrieve the data.
- Date Range Selector: Choose the start and end dates for the stock data.
- Data Visualizations: View line charts for stock closing prices and bar charts for stock trading volume over the selected period.
To run the app locally, follow these steps:
git clone https://github.com/yourusername/stock-price-data-web-app.git
cd stock-price-data-web-app
pip install streamlit yfinance pandas
streamlit run app.py
The app will open in your default web browser, and you can start exploring stock data and visualizations.
You can access the app online at the following links:
- Streamlit Deployment: https://astockprice.streamlit.app/
- Azure Deployment: https://stockprice-f7h3abc3cwghf5fw.centralindia-01.azurewebsites.net/
- Streamlit: For building the interactive user interface.
- yfinance: To fetch historical stock data.
- Pandas: For data manipulation and processing.
Feel free to fork the repository and submit pull requests. If you have any suggestions or issues, open an issue on GitHub.