Prediction of Future Stock Price Using Recurrent Neural Network

Prediction of Future Stock Price Using Recurrent Neural Network


  • Nur Izzah Atirah Mohd Ikhram Universiti Teknologi MARA, Perlis Branch
  • Nor Hayati Binti Shafii Mrs
  • Nur Fatihah Fauzi Universiti Teknologi MARA, Perlis Branch
  • Diana Sirmayunie Md Nasir Universiti Teknologi MARA, Perlis Branch
  • Azriani Mohd Nor Universiti Teknologi MARA, Perlis Branch



Stock Price, Prediction, Recurrent Neural Network, Rapid Miner


The stock market can affect businesses in various ways, as the rise and fall of a company's share price values impact its market capitalization and overall market value. However, forecasting stock market returns is challenging because financial stock markets are unpredictable and non-linear, with factors such as market trends, supply and demand ratios, global economies, and public opinion affecting stock prices. With the advent of artificial intelligence and increased processing power, intelligent prediction techniques have become more effective in forecasting stock values. This study proposes a Recurrent Neural Network (RNN) model that uses a deep learning machine to predict stock prices. The process includes five stages: data analysis, dataset preparation, network design, network training, and network testing. The accuracy of the model is determined by the mean square error (MSE) and root mean square error (RMSE), which are 1.24 and 1.12, respectively. The predicted closing price is then compared to the actual closing price to assess the accuracy of the model. Finally, it is suggested that this approach can also be used to forecast other volatile time-series data.


Download data is not yet available.


Abu-Mustofa, Y. S. & Atiya, A. F. (1996). Introduction to Financial Forecasting. Applied Intelligence, 6(3).

Donges, N. (2021). A Guide to RNN: Understanding Recurrent Neural Networks and LSTM Networks. Built In.

Jahan, I. (2018). Stock Price Prediction Using Recurrent Neural Networks.

Kramer, L. (2021). How Is a Company's Stock Price and Market Capitalization Determined. Investopedia.

Kurnaz, G. & Demir, A. S. (2021). Prediction of SO2 and PM10 Air Pollutants Using a Deep Learning-Based Recurrent Neural Network: Case of Industrial City Sakarya. Urban Climate, 41 (101051).

Li, K. (2021). Predicting Stock Price Using Machine Learning. Neptune Blog.

Onnen, H. (2021). Temporal Loops: Intro to Recurrent Neural Networks for Time Series Forecasting in Python. Towards Data Science.

Pinsent, W. (2021). Understanding Stock Prices and Values. Investopedia.

Shriram, S., Anuradha, K., & Uma, K. P. (2021). Future Stock Price Prediction using Recurrent Neural Network, LSTM and Machine Learning. ICRADL, 09(05), 304-308.

Stock market prediction definition. (2018). Capital.Com.

Yates, T. (2021). 4 Ways to Predict Market Performance. Investopedia.

Techopedia. (2018). Recurrent Neural Network (RNN).

Zheng, L. & He, H. (2021). Share Price of Aerospace Relevant Companies with Recurrent Neural Networks Based on PCA. Expert System with Application, 183(115384).




How to Cite

Nur Izzah Atirah Mohd Ikhram, Shafii, N. H. B., Nur Fatihah Fauzi, Diana Sirmayunie Md Nasir, & Azriani Mohd Nor. (2023). Prediction of Future Stock Price Using Recurrent Neural Network. Journal of Computing Research and Innovation, 8(2), 103–111.



General Computing

Most read articles by the same author(s)