Stock Price Prediction using Machine Learning

Project Code :TCMAPY2283

Objective

This project develops a machine learning system for predicting stock prices of five major Indian banks—State Bank of India, HDFC Bank, Axis Bank, ICICI Bank, and IndusInd Bank—using historical data from 2020 to 2026 via the yfinance library. It applies deep learning and statistical models like LSTM, Stacked LSTM, GRU, and ARIMA to analyze closing prices and forecast future trends. A web application built with Flask, HTML, CSS, and JavaScript allows users to register, log in, and predict stock prices for a user-defined number of days. The system compares multiple algorithms to assess prediction accuracy. Overall, it offers a structured, user-friendly interface for stock price forecasting using advanced machine learning techniques.

Abstract

This project presents a machine learning based system for stock price prediction using historical data collected through the yfinance library. The dataset contains daily stock data from five major banking stocks: State Bank of India, HDFC Bank, Axis Bank, ICICI Bank, and IndusInd Bank, covering the period from 2020 to 2026. The system applies deep learning and statistical models including LSTM, Stacked LSTM, GRU, and ARIMA to analyze historical closing prices and generate future price predictions based on the number of days provided by the user . A web-based application is developed using Flask for the backend and HTML, CSS, and JavaScript for the frontend. The system includes modules such as Home, Register, Login, Predict Price, and Logout. Users can create an account, log in securely, and input the number of days to obtain predicted stock prices. The project focuses on comparing multiple algorithms to evaluate prediction performance and accuracy. The developed system provides a structured and user-friendly interface for stock price forecasting using machine learning techniques.

Keywords: Stock Price Prediction, Machine Learning, LSTM, Stacked LSTM, GRU, ARIMA, Deep Learning, Time Series Analysis, Flask, yfinance

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

H/W CONFIGURATION:

Processor                                 - I3/Intel Processor

Hard Disk                                - 160GB

Key Board                               - Standard Windows Keyboard

Mouse                                     - Two or Three Button Mouse

Monitor                                   - SVGA

RAM                                       - 8GB

S/W CONFIGURATION:

•      Operating System                    :  Windows 7/8/10

•      Server-side Script                    :  HTML, CSS, Bootstrap & JS

•      Programming Language         :  Python

•      Libraries                                  :  Flask, Pandas, MySQL. Connector, Scikit-Learn,

•      IDE/Workbench                      :  VS Code

•      Technology                             :  Python 3.8+

•      Server Deployment                 :  Xampp Server

Demo Video

mail-banner
call-banner
contact-banner
Request Video