Abstract
The prediction of stock price movement direction is significant in financial circles and academic. Stock price contains complex, incomplete, and fuzzy information which makes it an extremely difficult task to predict its development trend. Predicting and analysing financial data is a nonlinear, time-dependent problem. With rapid development in machine learning and deep learning, this task can be performed more effectively by a purposely designed network. This paper aims to improve prediction accuracy and minimizing forecasting error loss through deep learning architecture by using Generative Adversarial Networks. It was proposed a generic model consisting of Phase-space Reconstruction (PSR) method for reconstructing price series and Generative Adversarial Network (GAN) which is a combination of two neural networks which are Long Short-Term Memory (LSTM) as Generative model and Convolutional Neural Network (CNN) as Discriminative model for adversarial training to forecast the stock market. LSTM will generate new instances based on historical basic indicators information and then CNN will estimate whether the data is predicted by LSTM or is real. It was found that the Generative Adversarial Network (GAN) has performed well on the enhanced root mean square error to LSTM, as it was 4.35% more accurate in predicting the direction and reduced processing time and RMSE by 78 s and 0.029, respectively. This study provides a better result in the accuracy of the stock index. It seems that the proposed system concentrates on minimizing the root mean square error and processing time and improving the direction prediction accuracy, and provides a better result in the accuracy of the stock index.
Similar content being viewed by others
Abbreviations
- GAN:
-
Generative Adversarial Network
- CNN:
-
Convolution Neural Network
- RNN:
-
Recurrent Neural Network
- LSTM:
-
Long Short-Term Memory
- RMSE:
-
Root Mean Square Error
- 1D:
-
One Dimensional
- PSR:
-
Phase-space Reconstruction
- D:
-
discriminative model
References
Arora M, Kansal V (2019) Character level embedding with deep convolutional neural network for text normalization of unstructured data for Twitter sentiment analysis. Soc Netw Anal Min 9(1):1–14
Derakhshan A, Beigy H (2019) Sentiment analysis on stock social media for stock price movement prediction. Eng Appl Artif Intell 85:569–578
Göçken M, Özçalıcı M, Boru A, Dosdoğru AT (2019) Stock price prediction using hybrid soft computing models incorporating parameter tuning and input variable selection. Neural Comput Appl 31(2):577–592
Hoseinzade E, Haratizadeh S (2019) CNNpred: CNN-based stock market prediction using a diverse set of variables. Expert Syst Appl 129:273–285
Jeon S, Hong B, Chang V (2018) Pattern graph tracking-based stock price prediction using big data. Future Gener Comput Syst 80:171–187
Li X, Xie H, Wang R, Cai Y, Cao J, Wang F, Min H, Deng X (2016) Empirical analysis: stock market prediction via extreme learning machine. Neural Comput Appl 27(1):67–78
Long W, Lu Z, Cui L (2019) Deep learning-based feature engineering for stock price movement prediction. Knowl-Based Syst 164:163–173
Ning Y, Wah LC, Erdan L (2018) Stock price prediction based on error correction model and granger casuality test. Clust Comput:1–10
Sermpinis G, Karathanasopolulos A, Rosillo R, Fuente DDL (2019) Neural networks in financial trading. Ann Oper Res:1–16
Suryoday B, Kar S, Saha S, Khaidem L, Dey SR (2019) Predicting the direction of stock market prices using tree-based classifiers. North Am J Econ Finance 47:552–567
Werner KR, Kevin MV (2018) A stock market risk forecasting model through integration of switching regime, ANFIS and GARCH techniques. Appl Soft Comput 67:106–116
Yoojeong S, Jae L, Jongwoo L (2019) A study on novel filtering and relationship between input-features and target-vectors in a deep learning model for stock price prediction. Appl Intell 49(3):897–911
Yu P, Yan X (2019) Stock price prediction based on deep neural networks. Neural Comput Appl:1–20
Zhang X, Li Y, Wang S, Fang B, Yu P (2018) Enhancing stock market prediction with extended coupled hidden Markov model over multi-sourced data. Knowl Inf Syst:1–10
Zhou X, Pan Z, Hu G, Tang S, Zhao C (2018) Stock market prediction on high-frequency data using generative adversarial nets. Math Probl Eng 2018:1–11
Zhou Z, Xu K, Jichang Z (2018) Tales of emotion and stock in China: volatility, causality and prediction. World Wide Web 21(4):1093–1116
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Kumar, A., Alsadoon, A., Prasad, P.W.C. et al. Generative adversarial network (GAN) and enhanced root mean square error (ERMSE): deep learning for stock price movement prediction. Multimed Tools Appl 81, 3995–4013 (2022). https://doi.org/10.1007/s11042-021-11670-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-021-11670-w