Stock Price Prediction using LSTM

A vital component of financial research is stock price prediction, This helps investors and traders make informed decisions about buying or selling stocks. This study proposes a model for predicting stock prices that predicts the closing price of Google stocks by using Recurrent Neural Networks and Long Short- Term Memory. The Google stock dataset is used to train the suggested model at first. The Yahoo Finance API was used to gather historical stock data over a 20-year span. To give trend insights, important parameters including percentage changes, adjusted closing prices, and moving averages for 100 and 250 days were calculated. Sequences of 100 days were utilized as input to predict the following day's stock price following the dataset had been preprocessed by standardizing the values using MinMaxScaler. The LSTM-based model, including two LSTM layers succeeded by dense layers was assessed using 30% of the dataset after being trained on 70% of it. The model demonstrated strong effectiveness with a RMSE of roughly 4.31, signifying its precision in predicting stock prices. The predictions were then inversely changed to conform to the initial stock price scale for verification. To improve prediction accuracy, we also employed a range of machine learning (ML) models, including Decision Tree, Random Forest, XGBoost, &Voting Classifier. Furthermore, Streamlit was utilized to deploy the model in an intuitive interface that let users enter stock IDs and view projected prices in addition to moving averages. This study shows how well LSTM handles time-series data and how it may be used for real-time stock market forecasting and decision-making.

Authors

Publication Details

Published
2025-04-24
DOI
https://doi.org/10.1109/icoei65986.2025.11013311
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Stock Price Prediction using LSTM

Sallauddin Mohmmad, Thatikonda Sai Teja, P. Amala Vijaya Sri, Ugge Reethu Varma et al.
Stock Market Forecasting Methods
article

Stock Price Prediction using LSTM

Sallauddin Mohmmad, Thatikonda Sai Teja, P. Amala Vijaya Sri, Ugge Reethu Varma, Kadarla Mithrasri, Juluri Keerthan
article en

Abstract

A vital component of financial research is stock price prediction, This helps investors and traders make informed decisions about buying or selling stocks. This study proposes a model for predicting stock prices that predicts the closing price of Google stocks by using Recurrent Neural Networks and Long Short- Term Memory. The Google stock dataset is used to train the suggested model at first. The Yahoo Finance API was used to gather historical stock data over a 20-year span. To give trend insights, important parameters including percentage changes, adjusted closing prices, and moving averages for 100 and 250 days were calculated. Sequences of 100 days were utilized as input to predict the following day's stock price following the dataset had been preprocessed by standardizing the values using MinMaxScaler. The LSTM-based model, including two LSTM layers succeeded by dense layers was assessed using 30% of the dataset after being trained on 70% of it. The model demonstrated strong effectiveness with a RMSE of roughly 4.31, signifying its precision in predicting stock prices. The predictions were then inversely changed to conform to the initial stock price scale for verification. To improve prediction accuracy, we also employed a range of machine learning (ML) models, including Decision Tree, Random Forest, XGBoost, &Voting Classifier. Furthermore, Streamlit was utilized to deploy the model in an intuitive interface that let users enter stock IDs and view projected prices in addition to moving averages. This study shows how well LSTM handles time-series data and how it may be used for real-time stock market forecasting and decision-making.

Openalex Percentile: Top 86%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.