Application of LSTM, RNN, and Transformer in Stock Price Prediction of Information Technology Companies: A Comparative Analysis

This research presents a comparative analysis of the Long Short-Term Memory (LSTM), Recurrent Neural Network (RNN), and Transformer models in predicting the stock prices with a multi-step prediction approach of five major information technology companies—Capgemini, Infosys, IBM Consulting, NTT Data, and Cognizant. The study uses historical stock data from 2018 to 2023, employing the Knowledge Discovery in Databases (KDD) methodology. This research also added Moving Average Convergence Divergence (MACD) analysis to identify stock momentum trends. The models were evaluated based on prediction accuracy (Mean Absolute Error and Mean Squared Error), training time, and memory usage. Results indicate that while the Transformer model outperforms LSTM and RNN in accuracy, it demands higher computational resources. RNN showed faster training times but moderate prediction accuracy, and LSTM had lower performance but was more memory efficient. MACD analysis revealed balanced trends in Golden Cross and Death Cross patterns across companies, with higher Golden Cross frequencies signaling favorable stock performance. This research offers valuable insights for investors in selecting suitable prediction models and highlights the potential for future application of these models across different industries.

Authors

Institutions

Publication Details

Published
2024-10-09
DOI
https://doi.org/10.1109/ic3ina64086.2024.10732754
Citations
8
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
3.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Application of LSTM, RNN, and Transformer in Stock Price Prediction of Information Technology Companies: A Comparative Analysis

Hanif Fakhrurroja, Putri Utami Rukmana, Asriana
8 citations
Stock Market Forecasting Methods
3.92
article

Application of LSTM, RNN, and Transformer in Stock Price Prediction of Information Technology Companies: A Comparative Analysis

Hanif Fakhrurroja, Putri Utami Rukmana, Asriana
article en
8 citations

Abstract

This research presents a comparative analysis of the Long Short-Term Memory (LSTM), Recurrent Neural Network (RNN), and Transformer models in predicting the stock prices with a multi-step prediction approach of five major information technology companies—Capgemini, Infosys, IBM Consulting, NTT Data, and Cognizant. The study uses historical stock data from 2018 to 2023, employing the Knowledge Discovery in Databases (KDD) methodology. This research also added Moving Average Convergence Divergence (MACD) analysis to identify stock momentum trends. The models were evaluated based on prediction accuracy (Mean Absolute Error and Mean Squared Error), training time, and memory usage. Results indicate that while the Transformer model outperforms LSTM and RNN in accuracy, it demands higher computational resources. RNN showed faster training times but moderate prediction accuracy, and LSTM had lower performance but was more memory efficient. MACD analysis revealed balanced trends in Golden Cross and Death Cross patterns across companies, with higher Golden Cross frequencies signaling favorable stock performance. This research offers valuable insights for investors in selecting suitable prediction models and highlights the potential for future application of these models across different industries.

Telkom University (ID)
Openalex Percentile: Top 6%
Stock Market Forecasting Methods
3.92
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.