Skip to main content

A Novel Multi-day Ahead Index Price Forecast Using Multi-output-Based Deep Learning System

  • Conference paper
  • First Online:
Soft Computing for Problem Solving

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 547))

  • 413 Accesses

Abstract

Movement in the stock market or equity market can have unfathomable consequences on the economy and individual investors. A collapse in the stock market especially in the indexes has the potential to cause extensive economic disruption. Today’s smart AI has the capability to capture extreme fluctuations, irrational exuberance, and episodes of very high volatility. These sophisticated AI driven systems can detect such non-linearity with much-improved forecast results compared to conventional statistical methods. Prediction and analysis of index prices have greater importance in today’s economy. In this piece of work, we have experimented with three types of deep learning architectures, a simple feed-forward neural network (ANN), a long short-term memory network (LSTM), and a blend of convolutional neural networks with LSTMs (CNN-LSTMs). Along with open, high, low, close (OHLC) data, a set of 55 technical indicators have been considered based on their importance in technical analysis to predict the daily price for 5 different global indices. A random forest-based recursive feature elimination has also been used to obtain the most important technical indicators, and these results have been compared with all deep learning models for a horizon of 5 days ahead index price forecast.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.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

Similar content being viewed by others

References

  1. Zhang GP (2003) Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50:159–175. https://doi.org/10.1016/S0925-2312(01)00702-0

    Article  MATH  Google Scholar 

  2. Yegnanarayana B (2009) Artificial neural networks. PHI Learning Pvt. Ltd. https://www.google.co.in/books/edition/ARTIFICIAL_NEURAL_NETWORKS/RTtvUVU_xL4C

  3. Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44. https://doi.org/10.1109/2.485891

    Article  Google Scholar 

  4. Sahoo D, Sood N, Rani U, Abraham G, Dutt V, Dileep AD (2020) Comparative analysis of multi-step time-series forecasting for network load dataset. In: 2020 11th International conference on computing, communication and networking technologies (ICCCNT). IEEE, pp 1–7. https://doi.org/10.1109/ICCCNT49239.2020.9225449

  5. Yadav A, Jha CK, Sharan A (2020) Optimizing LSTM for time series prediction in Indian stock market. Procedia Comput Sci 167:2091–2100. https://doi.org/10.1016/j.procs.2020.03.257

    Article  Google Scholar 

  6. Kim HY, Won CH (2018) Forecasting the volatility of stock price index: a hybrid model integrating LSTM with multiple GARCH-type models. Expert Syst Appl 103:25–37. https://doi.org/10.1016/j.eswa.2018.03.002

    Article  Google Scholar 

  7. Khashei M, Hajirahimi Z (2019) A comparative study of series arima/mlp hybrid models for stock price forecasting. Commun Stat Simul Comput 48(9):2625–2640. https://doi.org/10.1080/03610918.2018.1458138

    Article  MathSciNet  MATH  Google Scholar 

  8. Tsang PM, Kwok P, Choy SO, Kwan R, Ng SC, Mak J, Wong TL (2007) Design and implementation of NN5 for Hong Kong stock price forecasting. Eng Appl Artif Intell 20(4):453–461. https://doi.org/10.1016/j.engappai.2006.10.002

    Article  Google Scholar 

  9. Nikou M, Mansourfar G, Bagherzadeh J (2019) Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms. Intell Syst Acc Finan Manag 26(4):164–174. https://doi.org/10.1002/isaf.1459

    Article  Google Scholar 

  10. Wang Y, Liu Y, Wang M, Liu R (2018) LSTM model optimization on stock price forecasting. In: 2018 17th International symposium on distributed computing and applications for business engineering and science (DCABES). IEEE, pp 173–177. https://doi.org/10.1109/DCABES.2018.00052

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

    Article  Google Scholar 

  12. Althelaya KA, El-Alfy ESM, Mohammed S (2018) Stock market forecast using multivariate analysis with bidirectional and stacked (LSTM, GRU). In: 2018 21st Saudi computer society national computer conference (NCC). IEEE, pp 1–7. https://doi.org/10.1109/NCG.2018.8593076

  13. Dutta A, Kumar S, Basu M (2020) A gated recurrent unit approach to bitcoin price prediction. J Risk Finan Manag 13(2):23. https://doi.org/10.3390/jrfm13020023

    Article  Google Scholar 

  14. Huang Y, Gao Y, Gan Y, Ye M (2021) A new financial data forecasting model using genetic algorithm and long short-term memory network. Neurocomputing 425:207–218. https://doi.org/10.1016/j.neucom.2020.04.086

    Article  Google Scholar 

  15. Hadavandi E, Shavandi H, Ghanbari A (2010) Integration of genetic fuzzy systems and artificial neural networks for stock price forecasting. Knowl Based Syst 23(8):800–808. https://doi.org/10.1016/j.knosys.2010.05.004

    Article  Google Scholar 

  16. Ramadhan NG, Atastina I (2021) Neural network on stock prediction using the stock prices feature and Indonesian financial news titles. Int J Inf Commun Technol (IJoICT) 7(1):54–63. https://doi.org/10.1007/s00521-019-04212-x

    Article  Google Scholar 

  17. Mehtab S, Sen J (2020) Stock price prediction using convolutional neural networks on a multivariate timeseries. arXiv preprint arXiv:2001.09769. https://doi.org/10.48550/arXiv.2001.09769

  18. Gao P, Zhang R, Yang X (2020) The application of stock index price prediction with neural network. Math Comput Appl 25(3):53. https://doi.org/10.3390/mca25030053

    Article  MathSciNet  Google Scholar 

  19. Taieb SB, Bontempi G, Atiya AF, Sorjamaa A (2012) A review and comparison of strategies for multi-step ahead time series forecasting based on the NN5 forecasting competition. Expert Syst Appl 39(8):7067–7083. https://doi.org/10.1016/j.eswa.2012.01.039

    Article  Google Scholar 

  20. Cheng H, Tan PN, Gao J, Scripps J (2006) Multistep-ahead time series prediction. In: Pacific-Asia conference on knowledge discovery and data mining. Springer, Berlin, pp 765–774. https://doi.org/10.1007/11731139_89

  21. Sorjamaa A, Hao J, Reyhani N, Ji Y, Lendasse A (2007) Methodology for long-term prediction of time series. Neurocomputing 70(16–18):2861–2869. https://doi.org/10.1016/j.neucom.2006.06.015

    Article  Google Scholar 

  22. Hussein S, Chandra R, Sharma A (2016) Multi-step-ahead chaotic time series prediction using coevolutionary recurrent neural networks. In: 2016 IEEE Congress on evolutionary computation (CEC). IEEE, pp 3084–3091. https://doi.org/10.1109/CEC.2016.7744179

  23. Alghamdi D, Alotaibi F, Rajgopal J (2021) A novel hybrid deep learning model for stock price forecasting. In: 2021 International joint conference on neural networks (IJCNN). IEEE, pp 1–8. https://doi.org/10.1109/IJCNN52387.2021.9533553

  24. Sunny MAI, Maswood MMS, Alharbi AG (2020) Deep learning-based stock price prediction using LSTM and bi-directional LSTM model. In: 2020 2nd Novel intelligent and leading emerging sciences conference (NILES). IEEE, pp 87–92. https://doi.org/10.1109/NILES50944.2020.9257950

  25. Liu G, Wang X (2018) A numerical-based attention method for stock market prediction with dual information. IEEE Access 7:7357–7367. https://doi.org/10.1109/ACCESS.2018.2886367

    Article  Google Scholar 

  26. Fan C, Zhang Y, Pan Y, Li X, Zhang C, Yuan R, Wu D, Wang W, Pei J, Huang H (2019) Multi-horizon time series forecasting with temporal attention learning. In: Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining, pp 2527–2535. https://doi.org/10.1145/3292500.3330662

  27. Zhang H, Li S, Chen Y, Dai J, Yi Y (2022) A novel encoder-decoder model for multivariate time series forecasting. Comput Intell Neurosci. https://doi.org/10.1155/2022/5596676

    Article  Google Scholar 

  28. Chen YC, Huang WC (2021) Constructing a stock-price forecast CNN model with gold and crude oil indicators. Appl Soft Comput 112:107760. https://doi.org/10.1016/j.asoc.2021.107760

    Article  Google Scholar 

  29. Park HJ, Kim Y, Kim HY (2022) Stock market forecasting using a multi-task approach integrating long short-term memory and the random forest framework. Appl Soft Comput 114:108106. https://doi.org/10.1016/j.asoc.2021.108106

    Article  Google Scholar 

  30. Song Y, Lee JW, Lee J (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. https://doi.org/10.1007/s10489-018-1308-x

    Article  Google Scholar 

  31. Yu L, Wang S, Lai KK (2009) A neural-network-based nonlinear metamodeling approach to financial time series forecasting. Appl Soft Comput 9(2):563–574. https://doi.org/10.1016/j.asoc.2008.08.001

    Article  Google Scholar 

  32. Gao T, Chai Y (2018) Improving stock closing price prediction using recurrent neural network and technical indicators. Neural Comput 30(10):2833–2854. https://doi.org/10.1162/neco_a_01124

    Article  MathSciNet  MATH  Google Scholar 

  33. Wen Y, Lin P, Nie X (2020) Research of stock price prediction based on PCA-LSTM model. IOP Conf Ser Mater Sci Eng 790(1):012109. http://iopscience.iop.org/article/10.1088/1757-899X/790/1/012109/meta

  34. Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44. https://doi.org/10.1109/2.485891

    Article  Google Scholar 

  35. Lettvin JY, Maturana HR, McCulloch WS, Pitts WH (1959) What the frog’s eye tells the frog’s brain. Proc IRE 47(11):1940–1951. https://doi.org/10.1109/JRPROC.1959.287207

    Article  Google Scholar 

  36. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

    Article  Google Scholar 

  37. LeCun Y, Boser B, Denker JS, Henderson D, Howard RE, Hubbard W, Jackel LD (1989) Backpropagation applied to handwritten zip code recognition. Neural Comput 1(4):541–551. https://doi.org/10.1162/neco.1989.1.4.541

    Article  Google Scholar 

  38. Wu JMT, Li Z, Herencsar N, Vo B, Lin JCW (2021) A graph-based CNN-LSTM stock price prediction algorithm with leading indicators. Multimedia Syst 1–20. https://doi.org/10.1007/s00530-021-00758-w

  39. Chandra R, Goyal S, Gupta R (2021) Evaluation of deep learning models for multi-step ahead time series prediction. IEEE Access 9:83105–83123. https://doi.org/10.1109/ACCESS.2021.3085085

    Article  Google Scholar 

  40. Lu W, Li J, Li Y, Sun A, Wang J (2020) A CNN-LSTM-based model to forecast stock prices. Complexity. https://doi.org/10.1155/2020/6622927

    Article  Google Scholar 

  41. Livieris IE, Pintelas E, Pintelas P (2020) A CNN-LSTM model for gold price time-series forecasting. Neural Comput Appl 32(23):17351–17360. https://doi.org/10.1007/s00521-020-04867-x

    Article  Google Scholar 

  42. Kumar D, Meghwani SS, Thakur M (2016) Proximal support vector machine based hybrid prediction models for trend forecasting in financial markets. J Comput Sci 17:1–13. https://doi.org/10.1016/j.jocs.2016.07.006

    Article  MathSciNet  Google Scholar 

  43. Kim KJ (2003) Financial time series forecasting using support vector machines. Neurocomputing 55(1–2):307–319. https://doi.org/10.1016/S0925-2312(03)00372-2

    Article  Google Scholar 

  44. Nti IK, Adekoya AF, Weyori BA (2020) A systematic review of fundamental and technical analysis of stock market predictions. Artif Intell Rev 53(4):3007–3057. https://doi.org/10.1007/s10462-019-09754-z

    Article  Google Scholar 

  45. Huang CL, Tsai CY (2009) A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting. Expert Syst Appl 36(2):1529–1539. https://doi.org/10.1016/j.eswa.2007.11.062

    Article  MathSciNet  Google Scholar 

  46. Breiman L (2001) Random forests. Mach Learn 45(1):5–32. https://doi.org/10.1023/A:1010933404324

    Article  MATH  Google Scholar 

  47. Genuer R, Poggi JM, Tuleau-Malot C (2010) Variable selection using random forests. Pattern Recogn Lett 31(14):2225–2236. https://doi.org/10.1016/j.patrec.2010.03.014

    Article  Google Scholar 

  48. Strobl C, Boulesteix AL, Zeileis A, Hothorn T (2007) Bias in random forest variable importance measures: illustrations, sources and a solution. BMC Bioinf 8(1):1–21. https://doi.org/10.1186/1471-2105-8-25

    Article  Google Scholar 

  49. Keras callback API—early stopping. https://keras.io/api/callbacks/. Last accessed 15 Apr 2022

Download references

Acknowledgements

We would like to show our gratitude to Dr. Dileep A. D., Associate Professor School of Computing and Electrical Engineering, IIT Mandi and Dr. Manoj Thakur, Professor, School of Mathematical and Statistical Sciences, IIT Mandi, for sharing their pearls of wisdom with us during the course of this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Debashis Sahoo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Sahoo, D., Sahoo, K., Jena, P.K. (2023). A Novel Multi-day Ahead Index Price Forecast Using Multi-output-Based Deep Learning System. In: Thakur, M., Agnihotri, S., Rajpurohit, B.S., Pant, M., Deep, K., Nagar, A.K. (eds) Soft Computing for Problem Solving. Lecture Notes in Networks and Systems, vol 547. Springer, Singapore. https://doi.org/10.1007/978-981-19-6525-8_14

Download citation

Publish with us

Policies and ethics