This is a web-based Stock Prediction App that uses machine learning (LSTM model via Keras) to predict stock prices. The app is built using React for frontend and Django Rest Framework (DRF) for the backend and integrates an ML model to visualize and forecast stock trends.
- 🔍 Enter any stock ticker symbol to view predictions
- 📊 Displays historical closing prices in an interactive chart
- 🧠 Utilizes LSTM (Long Short-Term Memory) neural networks for predictions
- ⚙️ Backend built with Django Rest Framework
- 🖥️ Simple and intuitive UI
- Frontend: React JS
- Backend: Django Rest Framework
- ML/AI: Keras, TensorFlow, LSTM
- Data: Likely sourced from Yahoo Finance
- User enters a stock ticker (e.g.,
TSLA
,AAPL
,BTC
,GOOGL
). - The app fetches historical stock data.
- The LSTM model processes and predicts future prices based on 100-day and 200-day moving averages.
- A graph is displayed with the stock's historical performance.
- Clone the repository:
git clone https://github.com/CoderMahruf/stock-prediction-portal
- Create and activate a virtual environment:
python -m venv env source env\Scripts\activate # For Windows
- Install dependencies:
pip install -r requirements.txt
- Install dependencies:
python manage.py runserver
Built with 🖥️ by Mahruful Alam