This is a simple web application to fetch and display historical stock prices using Streamlit and Yahoo Finance.
- User can input a stock ticker symbol.
- Displays historical closing prices of the stock.
- Shows basic statistics of the stock data.
- Clone the repository or download the source code.
- Navigate to the project directory.
cd simple-stock-price-app
- Install the required dependencies.
pip install -r requirements.txt
To run the Streamlit app, use the following command:
streamlit run streamlit_app.py
This will start a local server and open the app in your default web browser.
streamlit_app.py
: Main Streamlit application script.requirements.txt
: List of dependencies..streamlit/config.toml
: Configuration file for Streamlit.README.md
: Project overview and instructions.
- Open the app in your web browser.
- Enter a stock ticker symbol (e.g.,
AAPL
for Apple Inc.). - View the historical closing prices and basic statistics.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.