
Stock Price Prediction LSTM
Deep learning system predicting stock prices with R² of 0.913 on Tesla using live market data.
Project Overview
A stacked LSTM neural network trained on 6 years of live Yahoo Finance data. Predicts next 30 days of stock prices for any company worldwide. Includes moving average analysis, multi-stock comparison, and interactive forecasting dashboard.
⚠ The Problem
Financial analysts and traders need intelligent tools to forecast price trends from historical market patterns for investment decision support.
✓ The Solution
Built a 3-layer stacked LSTM (128→64→32 units) with early stopping, learning rate reduction, and 60-day sequence window. Fetches live data via yfinance API for any stock.
Results & Outcomes
R² 0.9131 on Tesla, 0.8324 on Google. 30-day forecast with confidence visualization. Works for any stock symbol worldwide.