hriday-goyal/stock-trend-visualizer
0
This app uses historical stock data and a trained LSTM model to forecast stock prices for multiple horizons (1, 7, 30, and 365 days).
๐ Stock Trend Visualizer
An interactive stock forecasting tool powered by machine learning. Predicts next-day, 7-day, 30-day, and 365-day closing prices using LSTM and technical indicators (SMA, EMA, RSI).
๐ Live App
๐ Launch the App on Streamlit Cloud
๐ง Key Features
- ๐ Visualizes historical stock prices with SMA and EMA overlays
- ๐ค Predicts the next-day closing price using Linear Regression
- ๐ก Fetches real-time data from Yahoo Finance (
yfinance) - ๐ Deployed on Streamlit Cloud, no local setup required
๐ ๏ธ Tech Stack
๐ Repository Structure
stock-trend-visualizer/ โโโ app/ โ โโโ streamlitapp.py โ Main app script โ โโโ linearmodel.pkl โ Trained ML model โโโ notebooks/ โ โโโ 01datacollection.ipynb โ โโโ 03modeltraining.ipynb โโโ requirements.txt โโโ README.md
๐งช To Run Locally
git clone https://github.com/hriday-goyal/stock-trend-visualizer
cd stock-trend-visualizer/app
pip install -r ../requirements.txt
streamlit run streamlit_app.py
---
## About the Creator
Built by Hriday Goyal, an aspiring data scientist and high school innovator passionate about AI, finance, and real-world problem solving.