This project aims to predict stock prices using machine learning techniques and provide visualizations for technical indicators. This web application is built with Streamlit and powered by a pretrained LSTM model to forecast stock prices for the next 30 days.
- Python
- Streamlit
- TensorFlow
- Pandas
- NumPy
- Matplotlib
- Historical stock price data visualization.
- LSTM model-based forecasting for the next 30 days.
- User-friendly interface.
Make sure you have the following prerequisites installed:
- Python 3.9
- Required Python libraries (provided in requirements.txt)
-
Clone this repository to your local machine.
git clone https://github.com/lanre-akinbo/stock-price-forecast-app.git cd stock-price-forecast-app
-
Install the required Python libraries.
pip install -r requirements.txt
-
Run the Streamlit app.
streamlit run app.py
- Open the app in your browser.
- Enter a valid stock ticker symbol.
- Choose a start date.
- Explore historical TSLA stock prices.
- View technical indicators.
- Check the forecasted prices for the next 30 days.
- Gain insights into potential price trends.
A live demo of this project is available here.
app.py
: The main Streamlit application.LSTM Model.ipynb
: The training of the machine learning model.model.h5
: The trained model.requirements.txt
: List of Python libraries used in the project.
This project is licensed under the MIT License - see the LICENSE file for details.
- Data provided by Yahoo Finance.
- Inspired by various deep learning tutorials and resources.