Skip to main content

A Deep Learning Framework to Forecast Stock Trends Based on Black Swan Events

  • Conference paper
  • First Online:
Proceedings of International Conference on Innovations in Software Architecture and Computational Systems

Abstract

The stock trends prediction is the key interest area for the investors. If the successful stock trends prediction is achieved, then the investors can adopt a more appropriate trading strategy, and that can significantly reduce the risk of investment. But it is hard to predict the stock market due to the unpredictable fatal events called Black Swan events. In this work, we propose a deep learning framework to predict the daily stock market trends with the intent that our framework can predict the stock market even on the time periods of the Black Swan events. In this framework, the signals of various technical indicators along with the daily closing price of the stock market and other influencing stock markets are used as the input for more accurate predictions. The base module of this framework is 1D convolutional neural network (1D-CNN) and bidirectional gated recurrent unit (Bi-GRU) neural network. We conduct vast experiments on the real-world datasets from two different stock markets and show that our framework exhibit satisfactory prediction accuracy for the normal circumstances. It outperforms other existing similar works during the periods of Black Swan events.

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 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover 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

Similar content being viewed by others

References

  1. Dechow PM, Hutton AP, Meulbroek L, Sloan RG (2001) Short-sellers, fundamental analysis, and stock returns. J Financ Econ 61(1):77–106

    Article  Google Scholar 

  2. Shen KY, Tzeng GH (2015) Combined soft computing model for value stock selection based on fundamental analysis. Appl Soft Comput 37:142–155

    Article  Google Scholar 

  3. Mizuno H, Kosaka M, Yajima H, Komoda N (1998) Application of neural network to technical analysis of stock market prediction. Stud Inf Control 7(3):111–120

    Google Scholar 

  4. Chenoweth T, ObradoviĆ Z, Lee SS (2017) Embedding technical analysis into neural network based trading systems. In: Artificial intelligence applications on wall street. Routledge, pp 523–541

    Google Scholar 

  5. Jiang X, Pan S, Jiang J, Long G (2018) Cross-domain deep learning approach for multiple financial market prediction. In: 2018 international joint conference on neural networks (IJCNN), pp 1–8

    Google Scholar 

  6. Mukherjee D (2007) Comparative analysis of Indian stock market with international markets. Great Lakes Herald 1(1):39–71

    Google Scholar 

  7. Bhanja S, Das A (2019) Deep learning-based integrated stacked model for the stock market prediction. Int J Eng Adv Technol 9(1):5167–5174

    Article  Google Scholar 

  8. Bengio Y, Simard P, Frasconi P et al (1994) Learning long-term dependencies with gradient descent is difficult. IEEE Trans Neural Netw 5(2):157–166

    Article  Google Scholar 

  9. Wang Z, Yan W, Oates T (2017) Time series classification from scratch with deep neural networks: a strong baseline. In: 2017 international joint conference on neural networks (IJCNN), pp 1578–1585

    Google Scholar 

  10. Murphy J (1999) Technical analysis on the financial markets. New York institute of finance

    Google Scholar 

  11. AbdelKawy R, Abdelmoez WM, Shoukry A (2021) A synchronous deep reinforcement learning model for automated multi-stock trading. Progr Artif Intell, 1–15

    Google Scholar 

  12. Yu P, Yan X (2020) Stock price prediction based on deep neural networks. Neural Comput Appl 32(6):1609–1628

    Article  Google Scholar 

  13. Yuan X, Yuan J, Jiang T, Ain QU (2020) Integrated long-term stock selection models based on feature selection and machine learning algorithms for china stock market. IEEE Access 8:22672–22685

    Article  Google Scholar 

  14. Kamalakannan J, Sengupta I, Chaudhury S (2018) Stock market prediction using time series analysis. Comput Commun Data Eng Ser 1(3)

    Google Scholar 

  15. Du Y (2018) Application and analysis of forecasting stock price index based on combination of Arima model and BP neural network. In: 2018 Chinese control and decision conference (CCDC), pp 2854–2857

    Google Scholar 

  16. Oncharoen P, Vateekul P (2018) Deep learning for stock market prediction using event embedding and technical indicators. In: 2018 5th international conference on advanced informatics: concept theory and applications (ICAICTA), pp 19–24

    Google Scholar 

  17. Fischer T, Krauss C (2018) Deep learning with long short-term memory networks for financial market predictions. Eur J Oper Res 270(2):654–669

    Article  MathSciNet  Google Scholar 

  18. Di Persio L, Honchar O (2017) Recurrent neural networks approach to the financial forecast of google assets. Int J Math Comput Simul 11

    Google Scholar 

  19. Di Persio L, Honchar O (2016) Artificial neural networks approach to the forecast of stock market price movements. Int J Econ Manage Syst 1

    Google Scholar 

  20. Eapen J, Bein D, Verma A (2019) Novel deep learning model with CNN and bi-directional LSTM for improved stock market index prediction. In: 2019 IEEE 9th annual computing and communication workshop and conference (CCWC), pp 0264–0270

    Google Scholar 

  21. Wen M, Li P, Zhang L, Chen Y (2019) Stock market trend prediction using high-order information of time series. IEEE Access 7:28299–28308

    Article  Google Scholar 

  22. Yeoh W, Jhang YJ, Kuo SY, Chou YH (2018) Automatic stock trading system combined with short selling using moving average and GQTS algorithm. In: 2018 IEEE international conference on systems, man, and cybernetics (SMC), pp 1570–1575

    Google Scholar 

  23. Vargas MR, De Lima BS, Evsukoff AG (2017) Deep learning for stock market prediction from financial news articles. In: 2017 IEEE international conference on computational intelligence and virtual environments for measurement systems and applications (CIVEMSA), pp 60–65

    Google Scholar 

  24. Jozefowicz R, Zaremba W, Sutskever I (2015) An empirical exploration of recurrent network architectures. In: International conference on machine learning, pp 2342–2350

    Google Scholar 

  25. Chung J, Gulcehre C, Cho K, Bengio Y (2014) Empirical evaluation of gated recurrent neural networks on sequence modeling. 2014. arXiv preprint arXiv:1412.3555

  26. Yahoo finance—stock market live, quotes, business & finance news (2020 (Accessed May 1, 2020)). https://in.finance.yahoo.com/

  27. Bhanja S, Das A (2018) Impact of data normalization on deep neural network for time series forecasting. arXiv preprint arXiv:1812.05519

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bhanja, S., Das, A. (2021). A Deep Learning Framework to Forecast Stock Trends Based on Black Swan Events. In: Mandal, J.K., Mukhopadhyay, S., Unal, A., Sen, S.K. (eds) Proceedings of International Conference on Innovations in Software Architecture and Computational Systems. Studies in Autonomic, Data-driven and Industrial Computing. Springer, Singapore. https://doi.org/10.1007/978-981-16-4301-9_17

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-4301-9_17

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-4300-2

  • Online ISBN: 978-981-16-4301-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics