Skip to main content

A Graphic CNN-LSTM Model for Stock Price Predication

  • Conference paper
  • First Online:
Artificial Intelligence and Soft Computing (ICAISC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12854))

Included in the following conference series:

  • 1094 Accesses

Abstract

In this paper, we presented a novel model that combines Convolution Neural Network (CNN) and Long Short-term Memory Neural Network (LSTM) for better and accurate stock price prediction. We then developed a model called stock sequence array convolutional LSTM (SACLSTM) that builds both a sequence array of the historical data and leading indicators (i.e., futures and options). This built array is then considered as the input data of the CNN model, thus specific feature vectors via convolutional and pooling layers are then extracted for being the input vector of the LSTM model. Based on this flowchart, the stock price can be better predicted, that can be seen from the conducted experiments in 10 stocks data from USA and Taiwan stock markets. Results also indicated that the designed model is better than the existing models.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Azzouni, A., Pujolle, G.: A long short-term memory recurrent neural network framework for network traffic matrix prediction. arXiv preprint arXiv:1705.05690 (2017)

  2. Bao, W., Yue, J., Rao, Y.: A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PloS one 12(7), e0180944 (2017)

    Google Scholar 

  3. Cai, X., Hu, S., Lin, X.: Feature extraction using restricted Boltzmann machine for stock price prediction. In: IEEE International Conference on Computer Science and Automation Engineering, vol. 3, pp. 80–83 (2012)

    Google Scholar 

  4. Chen, K., Zhou, Y., Dai, F.: A lstm-based method for stock returns prediction: a case study of china stock market. In: IEEE International Conference on Big Data, pp. 2823–2824 (2015)

    Google Scholar 

  5. Chen, Q.a., Li, C.D.: Comparison of forecasting performance of ar, star and ann models on the Chinese stock market index. In: International Symposium on Neural Networks, pp. 464–470 (2006)

    Google Scholar 

  6. Di Persio, L., Honchar, O.: Artificial neural networks architectures for stock price prediction: comparisons and applications. Int. J. Circuits Syst. Signal Process. 10(2016), 403–413 (2016)

    Google Scholar 

  7. Ding, X., Zhang, Y., Liu, T., Duan, J.: Deep learning for event-driven stock prediction. In: Twenty-Fourth International Joint Conference on Artificial Intelligence (2015)

    Google Scholar 

  8. Ghosh, A., Bose, S., Maji, G., Debnath, N., Sen, S.: Stock price prediction using lstm on indian share market. In: The International Conference on Computer Applications in Industry and Engineering, vol. 63, pp. 101–110 (2019)

    Google Scholar 

  9. Graves, A., Mohamed, A.R., Hinton, G.: Speech recognition with deep recurrent neural networks. In: IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 6645–6649 (2013)

    Google Scholar 

  10. Gunduz, H., Yaslan, Y., Cataltepe, Z.: Intraday prediction of borsa istanbul using convolutional neural networks and feature correlations. Knowl.-Based Syst. 137, 138–148 (2017)

    Article  Google Scholar 

  11. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  12. Hoseinzade, E., Haratizadeh, S.: Cnnpred: Cnn-based stock market prediction using a diverse set of variables. Expert Syst. Appl. 129, 273–285 (2019)

    Article  Google Scholar 

  13. LeCun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278–2324 (1998)

    Article  Google Scholar 

  14. Rani, S., Sikka, G.: Recent techniques of clustering of time series data: a survey. Int. J. Comput. Appl. 52(15) (2012)

    Google Scholar 

  15. Siripurapu, A.: Convolutional networks for stock trading. Stanford Univ. Dep. Comput. Sci., 1–6 (2014)

    Google Scholar 

  16. Williams, R.J., Zipser, D.: A learning algorithm for continually running fully recurrent neural networks. Neural Comput. 1(2), 270–280 (1989)

    Article  Google Scholar 

  17. Wu, J.M.T., Li, Z., Srivastava, G., Tasi, M.H., Lin, J.C.W.: A graph-based convolutional neural network stock price prediction with leading indicators. Practice and Experience, Software (2020)

    Google Scholar 

  18. Yong, B.X., Rahim, M.R.A., Abdullah, A.S.: A stock market trading system using deep neural network. In: Asian Simulation Conference, pp. 356–364. Springer (2017)

    Google Scholar 

  19. Zhang, X., Tan, Y.: Deep stock ranker: a lstm neural network model for stock selection. In: International Conference on Data Mining and Big Data, pp. 614–623 (2018)

    Google Scholar 

  20. Zhao, Z., Zhang, X., Zhou, H., Li, C., Gong, M., Wang, Y.: Hetnerec: heterogeneous network embedding based recommendation. Knowl.-Based Syst. 204, 106218 (2020)

    Google Scholar 

Download references

Acknowledgment

This research is supported by Shandong Provincial Natural Science Foundation (ZR201911150391).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jerry Chun-Wei Lin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wu, J.MT., Li, Z., Djenouri, Y., Polap, D., Srivastava, G., Lin, J.CW. (2021). A Graphic CNN-LSTM Model for Stock Price Predication. In: Rutkowski, L., Scherer, R., Korytkowski, M., Pedrycz, W., Tadeusiewicz, R., Zurada, J.M. (eds) Artificial Intelligence and Soft Computing. ICAISC 2021. Lecture Notes in Computer Science(), vol 12854. Springer, Cham. https://doi.org/10.1007/978-3-030-87986-0_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-87986-0_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-87985-3

  • Online ISBN: 978-3-030-87986-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics