Skip to main content

A New Deep Network Model for Stock Price Prediction

  • Conference paper
  • First Online:
Machine Learning for Cyber Security (ML4CS 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13657))

Included in the following conference series:

Abstract

Over the recent past, many stock price prediction models that rely on deep neural networks have been developed. However, each has unique characteristics that cause variations in performance between models. With the existing deep neural network models, we propose a novel deep neural network-based stock price prediction model in this paper in order to predict stock prices more accurately. Specifically, this paper presents a method for extracting stock price series data based on the auto-encoder (AE) technique, which has strong non-smoothness and non-linear characteristics. Furthermore, the bi-directional long short-term memory (BiLSTM) module is imported as the primary unit structure in AE so that the historical and future important information of stock price series data can be sufficiently mined. Attention mechanisms are also investigated to make the extracted features more valuable for predicting stock prices. Lastly, the prediction is implemented by multi-layer, fully connected network work. The prediction results of the proposed method on two stock datasets are more prominent than other methods.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Cavalcante, R.C., Brasileiro, R.C., Souza, V.L.F., et al.: Computational intelligence and financial markets: A survey and future directions. Expert Syst. Appl. 55, 194–211 (2016)

    Article  Google Scholar 

  2. Thakkar, A., Chaudhari, K.: Fusion in stock market prediction: a decade survey on the necessity, recent developments, and potential future direction. Information Fusion 65, 95–107 (2021)

    Article  Google Scholar 

  3. Sezer, O.B., Gudelek, M.U., Ozbayoglu, A.M.: Financial time series forecasting with deep learning: A systematic literature review: 2005–2019. Appl. Soft Comput. 90, 106181 (2020)

    Article  Google Scholar 

  4. Ding, G., Qin, L.: Study on the prediction of stock price based on the associated network model of LSTM. Int. J. Mach. Learn. Cybern. 11(6), 1307–1317 (2019). https://doi.org/10.1007/s13042-019-01041-1

    Article  Google Scholar 

  5. Baek, Y., Kim, H.Y.: ModAugNet: a new forecasting framework for stock market index value with an overfitting prevention LSTM module and a prediction LSTM module. Expert Syst. Appl. 113, 457–480 (2018)

    Article  Google Scholar 

  6. Zhao, J., Zeng, D., Liang, S., Kang, H., Liu, Q.: Prediction model for stock price trend based on recurrent neural network. J. Ambient. Intell. Humaniz. Comput. 12(1), 745–753 (2020). https://doi.org/10.1007/s12652-020-02057-0

    Article  Google Scholar 

  7. Lu, W., Li, J., Wang, J., et al.: A CNN-BiLSTM-AM method for stock price prediction. Neural Comput. Appl. 33(10), 4741–4753 (2020). https://doi.org/10.1007/s00521-020-05532-z

    Article  Google Scholar 

  8. Niu, Z., Zhong, G., Yu, H.: A review on the attention mechanism of deep learning. Neurocomputing 452, 48–62 (2021)

    Article  Google Scholar 

  9. Hu, J., Zheng, W.: A deep learning model to effectively capture mutation information in multivariate time series prediction. Knowl.-Based Syst. 203, 106139 (2020)

    Article  Google Scholar 

  10. Torres, J.F., Hadjout, D., Sebaa, A., et al.: Deep learning for time series forecasting: a survey. Big Data 9(1), 3–21 (2021)

    Article  Google Scholar 

  11. Chong, E., Han, C., Park, F.C.: Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies. Expert Syst. Appl. 83, 187–205 (2017)

    Article  Google Scholar 

  12. Nti, I.K., Adekoya, A.F., Weyori, B.A.: A systematic review of fundamental and technical analysis of stock market predictions. Artificial Intelligence Review 53(4), 3007–3057 (2020)

    Google Scholar 

  13. Ahmed, N.K., Atiya, A.F., Gayar, N.E., et al.: An empirical comparison of machine learning models for time series forecasting. Economet. Rev. 29(5–6), 594–621 (2010)

    Article  MathSciNet  Google Scholar 

  14. Henrique, B.M., Sobreiro, V.A., Kimura, H.: Literature review: Machine learning techniques applied to financial market prediction. Expert Syst. Appl. 124, 226–251 (2019)

    Article  Google Scholar 

  15. Nayak, R.K., Mishra, D., Rath, A.K.: A Naïve SVM-KNN based stock market trend reversal analysis for Indian benchmark indices. Appl. Soft Comput. 35, 670–680 (2015)

    Article  Google Scholar 

  16. Chen, Y., Hao, Y.: A feature weighted support vector machine and K-nearest neighbor algorithm for stock market indices prediction. Expert Syst. Appl. 80, 340–355 (2017)

    Article  Google Scholar 

  17. Zhang, X., Li, A., Pan, R.: Stock trend prediction based on a new status box method and AdaBoost probabilistic support vector machine. Appl. Soft Comput. 49, 385–398 (2016)

    Article  Google Scholar 

  18. Picasso, A., Merello, A., Ma, Y., et al.: Technical analysis and sentiment embeddings for market trend prediction. Expert Syst. Appl. 135, 60–70 (2019)

    Article  Google Scholar 

  19. Shrestha, A., Mahmood, A.: Review of deep learning algorithms and architectures. IEEE access 7, 53040–53065 (2019)

    Article  Google Scholar 

  20. Han, Z., Zhao, J., Leung, H., et al.: A review of deep learning models for time series prediction. IEEE Sens. J. 21(6), 7833–7848 (2019)

    Article  Google Scholar 

  21. Li, A.W., Bastos, G.S.: Stock market forecasting using deep learning and technical analysis: a systematic review. IEEE access 8, 185232–185242 (2020)

    Article  Google Scholar 

  22. Rather, A.M., Agarwal, A., Sastry, V.N.: Recurrent neural network and a hybrid model for prediction of stock returns. Expert Syst. Appl. 42(6), 3234–3241 (2015)

    Article  Google Scholar 

  23. Bathla, G., Rani, R., Aggarwal, H.: Stocks of year 2020: prediction of high variations in stock prices using LSTM. Multimedia Tools and Applications, pp. 1–17 (2022)

    Google Scholar 

  24. Kim, H.Y., Won, C.H.: Forecasting the volatility of stock price index: A hybrid model integrating LSTM with multiple GARCH-type models. Expert Syst. Appl. 103, 25–37 (2018)

    Article  Google Scholar 

  25. Li, H., Hua, J., Li, J., et al.: Stock forecasting model FS-LSTM based on the 5G Internet of things. Wireless Communications and Mobile Computing, 2020 (2020)

    Google Scholar 

  26. 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 

  27. Chen, Y., Fang, R., Liang, T., et al.: Stock price forecast based on CNN-BiLSTM-ECA Model. Scientific Programming, 2021 (2021)

    Google Scholar 

  28. Sezer, O.B., Ozbayoglu, A.M.: Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach. Appl. Soft Comput. 70, 525–538 (2018)

    Article  Google Scholar 

  29. Barra, S., Carta, S.M., Corriga, A., et al.: Deep learning and time series-to-image encoding for financial forecasting. IEEE/CAA Journal of Automatica Sinica 7(3), 683–692 (2020)

    Article  Google Scholar 

  30. Wen, M., Li, P., Zhang, L., et al.: Stock market trend prediction using high-order information of time series. Ieee Access 7, 28299–28308 (2019)

    Article  Google Scholar 

  31. Long, J., Chen, Z., He, W., et al.: An integrated framework of deep learning and knowledge graph for prediction of stock price trend: An application in Chinese stock exchange market. Appl. Soft Comput. 91, 106205 (2020)

    Article  Google Scholar 

  32. Mohanty, D.K., Parida, A.K., Khuntia, S.S.: Financial market prediction under deep learning framework using auto encoder and kernel extreme learning machine. Appl. Soft Comput. 99, 106898 (2021)

    Article  Google Scholar 

  33. Guo, C., Szemenyei, M., Hu, Y., et al.: Channel attention residual u-net for retinal vessel segmentation. In: IEEE International Conference on Acoustics, Speech and Signal Processing. IEEE, pp. 1185–1189 (2021)

    Google Scholar 

Download references

Acknowledgment

This work is supported in part by grants from the National Natural Science Foundation of China (No. 62062040), the Outstanding Youth Project of Jiangxi Natural Science Foundation (No. 20212ACB212003), the Jiangxi Province Key Subject Academic and Technical Leader Funding Project (No. 20212BCJ23017).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Longjun Huang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Liu, M., Sheng, H., Zhang, N., Chen, Y., Huang, L. (2023). A New Deep Network Model for Stock Price Prediction. In: Xu, Y., Yan, H., Teng, H., Cai, J., Li, J. (eds) Machine Learning for Cyber Security. ML4CS 2022. Lecture Notes in Computer Science, vol 13657. Springer, Cham. https://doi.org/10.1007/978-3-031-20102-8_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-20102-8_32

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-20101-1

  • Online ISBN: 978-3-031-20102-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics