Prediction of Future Stock Price Using Recurrent Neural Network

Prediction of Future Stock Price Using Recurrent Neural Network

Authors

  • 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

DOI:

https://doi.org/10.24191/jcrinn.v8i2.349

Keywords:

Stock Price, Prediction, Recurrent Neural Network, Rapid Miner

Abstract

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.

Downloads

Download data is not yet available.

References

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. https://builtin.com/data-science/recurrent-neural-networks-and-lstm

Jahan, I. (2018). Stock Price Prediction Using Recurrent Neural Networks. https://library.ndsu.edu/ir/bitstream/handle/10365/28797/Stock%20Price%20Prediction%20Using%20Recurrent%20Neural%20Networks.pdf?sequence=1&isAllowed=y

Kramer, L. (2021). How Is a Company's Stock Price and Market Capitalization Determined. Investopedia. https://www.investopedia.com/ask/answers/how-companys-stock-price-and-market-cap-determined/

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. https://neptune.ai/blog/predicting-stock-prices-using-machine-learning

Onnen, H. (2021). Temporal Loops: Intro to Recurrent Neural Networks for Time Series Forecasting in Python. Towards Data Science. https://towardsdatascience.com/temporal-loops-intro-to-recurrent-neural-networks-for-time-series-forecasting-in-python-b0398963dc1f

Pinsent, W. (2021). Understanding Stock Prices and Values. Investopedia. https://www.investopedia.com/articles/stocks/08/stock-prices-fool.asp

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. https://capital.com/stockmarket-prediction-definition

Yates, T. (2021). 4 Ways to Predict Market Performance. Investopedia. https://www.investopedia.com/articles/07/mean_reversion_martingale.asp

Techopedia. (2018). Recurrent Neural Network (RNN). https://www.techopedia.com/definition/32834/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).

Downloads

Published

2023-09-01

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. https://doi.org/10.24191/jcrinn.v8i2.349

Issue

Section

General Computing

Most read articles by the same author(s)

Loading...