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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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
Yegnanarayana B (2009) Artificial neural networks. PHI Learning Pvt. Ltd. https://www.google.co.in/books/edition/ARTIFICIAL_NEURAL_NETWORKS/RTtvUVU_xL4C
Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44. https://doi.org/10.1109/2.485891
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44. https://doi.org/10.1109/2.485891
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
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
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
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
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
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
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
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
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
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
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
Breiman L (2001) Random forests. Mach Learn 45(1):5–32. https://doi.org/10.1023/A:1010933404324
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
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
Keras callback API—early stopping. https://keras.io/api/callbacks/. Last accessed 15 Apr 2022
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
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
DOI: https://doi.org/10.1007/978-981-19-6525-8_14
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-6524-1
Online ISBN: 978-981-19-6525-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)