Skip to content

Predict future stock prices using a pre-trained LSTM deep learning model. Upload a CSV file with historical stock data or use a sample to visualize trends and forecast closing prices.

Notifications You must be signed in to change notification settings

mirzayasirabdullahbaig07/StockMarket-Trend-Prediction-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📈 Stock Market Trend Prediction App

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.


🚀 Demo

🔗 Live App on Streamlit

🚀 Video Demo

Stock-Prediction.webm

📌 Features

  • 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.

🔍 Usage

  1. Open the app in your browser.
  2. Upload a CSV file containing historical stock data.
    • Must contain a column: Close (or Adj Close).
  3. Choose the number of days you want predictions for.
  4. Click Predict.
  5. Get results:
    • 📊 Table of predicted prices.
    • 📈 Graph combining historical + predicted trends.

📊 Dataset

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 or Adj Close
    • Volume

⚙️ Tech Stack

  • Python 3.9+
  • Streamlit (Frontend Web App)
  • NumPy & Pandas (Data Processing)
  • Matplotlib & Plotly (Visualizations)
  • Scikit-learn (Preprocessing & Scaling)
  • TensorFlow / Keras (LSTM Deep Learning Model)

📸 Screenshots

🏠 Home Page

image

📊 Prediction Results

image

📊 Prediction Results

image

📊 Prediction Results

image

👨‍💻 Author

Mirza Yasir Abdullah Baig


❤️ Acknowledgements


⚠️ Disclaimer

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.


About

Predict future stock prices using a pre-trained LSTM deep learning model. Upload a CSV file with historical stock data or use a sample to visualize trends and forecast closing prices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages