A deep learning-based model that predicts stock prices using LSTM networks and historical data from Yahoo Finance. The project includes a Streamlit web app for interactive visualization and forecasting.
- Retrieves historical stock data using
yfinance - Applies 50, 100, and 200-day moving averages
- Trains a multi-layer LSTM neural network
- Predicts future stock prices
- Deploys an interactive Streamlit dashboard
git clone https://github.com/your-username/stock-market-predictor.git cd stock-market-predictor
python -m venv venv
source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
pip install -r requirements.txt
streamlit run app.py
- Enter a stock ticker (e.g.,
GOOG) - View historical stock data with moving averages
- Compare original vs predicted prices
- Python
- TensorFlow/Keras
- LSTM
- Scikit-learn
- yfinance
- Streamlit
- Matplotlib
- Run
model_training.pyto retrain the model with new data. - The model uses the last 100 days of closing prices for predictions.
For any feedback or issues, please open an issue or reach out via GitHub.