International Journal of Intelligent Systems and Applications(IJISA)

ISSN: 2074-904X (Print), ISSN: 2074-9058 (Online)

Published By: MECS Press

IJISA Vol.12, No.6, Dec. 2020

Predicting Financial Prices of Stock Market using Recurrent Convolutional Neural Networks

Full Text (PDF, 872KB), PP.21-32

Views:62   Downloads:6


Muhammad Zulqarnain, Rozaida Ghazali, Muhammad Ghulam Ghouse, Yana Mazwin Mohmad Hassim, Irfan Javid

Index Terms

Deep learning;RNN;GRU;CNN;financial time series prediction


Financial time-series prediction has been long and the most challenging issues in financial market analysis. The deep neural networks is one of the excellent data mining approach has received great attention by researchers in several areas of time-series prediction since last 10 years. “Convolutional neural network (CNN) and recurrent neural network (RNN) models have become the mainstream methods for financial predictions. In this paper, we proposed to combine architectures, which exploit the advantages of CNN and RNN simultaneously, for the prediction of trading signals. Our model is essentially presented to financial time series predicting signals through a CNN layer, and directly fed into a gated recurrent unit (GRU) layer to capture long-term signals dependencies. GRU model perform better in sequential learning tasks and solve the vanishing gradients and exploding issue in standard RNNs.  We evaluate our model on three datasets for stock indexes of the Hang Seng Indexes (HSI), the Deutscher Aktienindex (DAX) and the S&P 500 Index range 2008 to 2016, and associate the GRU-CNN based approaches with the existing deep learning models. Experimental results present that the proposed GRU-CNN model obtained the best prediction accuracy 56.2% on HIS dataset, 56.1% on DAX dataset and 56.3% on S&P500 dataset respectively. 

Cite This Paper

Muhammad Zulqarnain, Rozaida Ghazali, Muhammad Ghulam Ghouse, Yana Mazwin Mohmad Hassim, Irfan Javid, "Predicting Financial Prices of Stock Market using Recurrent Convolutional Neural Networks ", International Journal of Intelligent Systems and Applications(IJISA), Vol.12, No.6, pp.21-32, 2020. DOI: 10.5815/ijisa.2020.06.02


[1]S. Chambon et al., “A deep learning architecture for temporal sleep stage classification using multivariate and multimodal time series,” IEEE Trans. Neural Syst. Rehabil. Eng., vol. 26, no. 4, pp. 758–769, 2018.

[2]P. Zhou et al., “Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification,” Proc. 54th Annu. Meet. Assoc. Comput. Linguist. (Volume 2 Short Pap., pp. 207–212, 2016.

[3]A. M. El-Masry, M. F. Ghaly, M. A. Khalafallah, and Y. A. El-Fayed, “Deep Learning for Event-Driven Stock Prediction,” J. Sci. Ind. Res. (India)., vol. 61, no. 9, pp. 719–725, 2017.

[4]N. Huck, “Pairs selection and outranking: An application to the S&P 100 index,” Eur. J. Oper. Res., vol. 196, no. 2, pp. 819–825, 2009.

[5]M. Motwani and A. Tiwari, “A Novel Semi Supervised Algorithm for Text Classification Using BPNN by Active Search,” IJCSI Int. J. Comput. Sci. Issues, vol. 11, no. 3, pp. 154–160, 2014.

[6]E. Guresen, G. Kayakutlu, and T. U. Daim, “Expert Systems with Applications Using artificial neural network models in stock market index prediction,” Expert Syst. Appl., vol. 38, no. 8, pp. 10389–10397, 2011.

[7]M. F. Dixon, D. Klabjan, and J. Bang, “Implementing Deep Neural Networks for Financial Market Prediction on the Intel Xeon Phi,” Ssrn, 2015.

[8]N. Aloysius and M. Geetha, “A review on deep convolutional neural networks,” 2017 Int. Conf. Commun. Signal Process., pp. 0588–0592, 2017.

[9]G. Batres-estrada, “Deep Learning for Multivariate Financial Time Series,” DEGREE Proj. Math. Stat. , Second Lev. Stock. SWEDEN2015, 2015.

[10]R. Collobert and J. Weston, “A unified architecture for natural language processing,” Proc. 25th Int. Conf. Mach. Learn. - ICML ’08, pp. 160–167, 2008.

[11]U. Akram, R. Ghazali, L. H. Ismail, and M. Zulqarnain, “An improved Pi-Sigma Neural Network with Error Feedback for Physical Time Series Prediction,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 8, pp. 1–7, 2019.

[12]Z. C. Lipton, J. Berkowitz, and C. Elkan, “A Critical Review of Recurrent Neural Networks for Sequence Learning arXiv : 1506 . 00019v4 [ cs . LG ] 17 Oct 2015,” pp. 1–38, 2015.

[13]R. Ghazali, A. J. Hussain, P. Liatsis, and H. Tawfik, “The application of ridge polynomial neural network to multi-step ahead financial time series prediction,” Neural Comput. Appl., vol. 17, no. 3, pp. 311–323, 2008.

[14]S. Rönnqvist and P. Sarlin, “Bank distress in the news : Describing events through deep learning,” Artif. Intell. Rev., vol. 1603, pp. 1–30, 2016.

[15]“Improving Decision Aanalytics With Deep Learning : The Case Of Financial Disclousures,” J. Mach. Learn. Res., vol. 74, pp. 1–10, 2016.

[16]X. Ding, Y. Zhang, T. Liu, and J. Duan, “Deep Learning for Event-Driven Stock Prediction,” springer, no. Ijcai, pp. 2327–2333, 2015.

[17]Z. Lanbouri and S. Achchab, “A new approach for Trading based on Long-Short Term memory Ensemble technique,” IJCSI Int. J. Comput. Sci. Issues, vol. 16, no. 3, pp. 27–31, 2019.

[18]M. Dixon, D. Klabjan, and J. Hoon, “Classification-based financial markets prediction using deep neural networks,” J. Mach. Learn. Res., vol. 6, pp. 67–77, 2017.

[19]O. Hegazy, O. S. Soliman, and M. A. Salam, “A Machine Learning Model for Stock Market,” arXiv Prepr. arXiv1402.7351, vol. 4, no. 12, pp. 17–23, 2014.

[20]J. Gamboa, “Deep Learning for Time-Series Analysis,” axXiv, vol. 69, pp. 1–13, 2017.

[21]J. Liu, W.-C. Chang, Y. Wu, and Y. Yang, “Deep Learning for Extreme Multi-label Text Classification,” Proc. 40th Int. ACM SIGIR Conf. Res. Dev. Inf. Retr.  - SIGIR ’17, pp. 115–124, 2017.

[22]M. Zulqarnain, R. Ghazali, Y. M. M. Hassim, and M. Rehan, “A comparative review on deep learning models for text classification,” Indones. J. Electr. Eng. Comput. Sci., vol. 19, no. 1, pp. 325–335, 2020.

[23]R. Mittelman, “Time-series modeling with undecimated fully convolutional neural networks,” axXiv, no. August, pp. 1–9, 2015.

[24]S. Lahmiri, “Wavelet low- and high-frequency components as features for predicting stock prices with backpropagation neural networks,” J. King Saud Univ. - Comput. Inf. Sci., vol. 26, no. 2, pp. 218–227, 2014.

[25]K. Cho et al., “Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation,” arXiv, no. September, pp. 1–15, 2014.

[26]M. Zulqarnain, S. A. Ishak, R. Ghazali, and N. M. Nawi, “An Improved Deep Learning Approach based on Variant Two-State Gated Recurrent Unit and Word Embeddings for Sentiment Classification,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 1, pp. 594–603, 2020.

[27]T. Fischer and C. Krauss, “Deep learning with long short-term memory networks for financial market predictions,” Eur. J. Oper. Res., vol. 270, no. 2, pp. 654–669, 2018.