Skip to content

Harsha-2005/stock-price-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Stock Price Predictor (LSTM + Transformer)

A fully functional Streamlit web app that predicts future stock prices using a hybrid LSTM + Transformer model. Fetches real-time data via Yahoo Finance.

🚀 Features

  • Real-time stock ticker prediction
  • Transformer + LSTM hybrid deep learning model
  • Technical indicators: RSI, EMA12/26, MACD, Bollinger Bands
  • Multi-day future predictions
  • Interactive Plotly charts

▶️ Run locally

pip install -r requirements.txt
streamlit run app.py

🌐 Deploy to Streamlit Cloud

  1. Push this repo to GitHub
  2. Go to https://share.streamlit.io/
  3. Select this repo → choose app.py
  4. Deploy

Files

  • app.py — Streamlit app
  • best_model.pth — trained PyTorch model
  • scaler.save — MinMaxScaler for input normalization
  • requirements.txt — app dependencies

About

Stock Price Prediction

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages