An AI-powered web application built with Streamlit that predicts future stock prices using a Long Short-Term Memory (LSTM) deep learning model trained on historical market data.
Stock-Prediction.webm
- Predicts future stock closing prices using an LSTM model.
- User-friendly Streamlit interface.
- Upload a CSV file with historical stock data.
- Generates predictions for 1–30 days ahead.
- Provides interactive charts for historical + predicted prices.
- Includes an About Me sidebar with portfolio links.
- Open the app in your browser.
- Upload a CSV file containing historical stock data.
- Must contain a column:
Close
(orAdj Close
).
- Must contain a column:
- Choose the number of days you want predictions for.
- Click Predict.
- Get results:
- 📊 Table of predicted prices.
- 📈 Graph combining historical + predicted trends.
The app works with stock market historical data.
- You can fetch stock data using Yahoo Finance API (
yfinance
) or download from any trusted source. - Columns required:
Date
Open
High
Low
Close
orAdj Close
Volume
- Python 3.9+
- Streamlit (Frontend Web App)
- NumPy & Pandas (Data Processing)
- Matplotlib & Plotly (Visualizations)
- Scikit-learn (Preprocessing & Scaling)
- TensorFlow / Keras (LSTM Deep Learning Model)




Mirza Yasir Abdullah Baig
This project is for educational and research purposes only and should NOT be considered as financial advice. Always do your own research before investing in the stock market.