Skip to main content
Log in

Discrete Wavelet Transform-based feature engineering for stock market prediction

  • Original Research
  • Published:
International Journal of Information Technology Aims and scope Submit manuscript

Abstract

Stock market prediction is an interesting area of research where Technical Indicators (TI) play an important role. However, prediction of stock market movement is difficult due to the presence of noise and irregularities in the stock data. Data de-noising and decomposition techniques are apt to handle such noise. The data decomposition technique may lead to the generation of a large feature vector that needs to be handled carefully. Therefore, a suitable and effective feature engineering component must be included in the prediction model. To handle the above-mentioned issues, this paper proposes a stock market prediction model which offers a module for TI computation, feature engineering, and stock market prediction. A feature engineering component is proposed in which Discrete Wavelet Transform (DWT) is offered for data decomposition and Chicken Swarm Optimization (CSO) is offered to handle the large number of features generated through DWT. CSO is used to select the optimal feature subset. The proposed feature engineering component is named as DWT-CSO. The stock market trend prediction is performed by Machine Learning (ML) and Deep Learning (DL) models. The dataset of Indian (NIFTY50 and BSE) and US stock (S&P500 and DJI) indices is used for experimentation. The proposed DWT-CSO provided improved performance. The prediction models’ accuracy is increased by 19.59% (for S&P500), 18.33% (for DJI), 19.43% (for NIFTY50), 15.89% (for BSE). The performance of DWT-CSO is statistically analysed with Wilcoxon rank-sum test.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

References

  1. Agarwal S, Muppalaneni NB (2022) Portfolio optimization in stocks using mean–variance optimization and the efficient frontier. Int J Inf Technol 14(6):2917–2926. doi: https://doi.org/10.1007/s41870-022-01052-2

    Article  Google Scholar 

  2. Ayala J, García-Torres M, Noguera JLV, Gómez-Vela F, Divina F (2021) Technical analysis strategy optimization using a machine learning approach in stock market indices [formula presented]. Knowl-Based Syst 225:107119. https://doi.org/10.1016/j.knosys.2021.107119

    Article  Google Scholar 

  3. Kumar R, Kumar P, Kumar Y (2022) Multi-step time series analysis and forecasting strategy using ARIMA and evolutionary algorithms. Int J Inf Technol 14(1):359–373. doi: https://doi.org/10.1007/s41870-021-00741-8

    Article  MathSciNet  Google Scholar 

  4. Thakkar A, Chaudhari K (2021) A comprehensive survey on portfolio optimization, stock price and trend prediction using particle swarm optimization, vol 28. Springer, Netherlands, pp. 4

  5. Nayak SC, Sanjeev Kumar DC, Behera AK, Dehuri S (2020) Improving stock market prediction through linear combiners of predictive models BT. Computational Intell Data Min, 415–426

  6. Diqi M, Hiswati ME, Nur AS (2022) StockGAN: robust stock price prediction using GAN algorithm. Int J Inf Technol 14(5):2309–2315. doi: https://doi.org/10.1007/s41870-022-00929-6

    Article  Google Scholar 

  7. Liu X, Liu H, Guo Q, Zhang C (2020) Adaptive wavelet transform model for time series data prediction. Soft Comput 24(8):5877–5884. https://doi.org/10.1007/s00500-019-04400-w

    Article  Google Scholar 

  8. Liang X, Ge Z, Sun L, He M, Chen H (2019) LSTM with wavelet transform based data preprocessing for stock price prediction. Math Probl Eng, 2019

  9. Dastgerdi AK, Mercorelli P (2022) Investigating the effect of noise elimination on LSTM models for financial markets prediction using Kalman Filter and Wavelet Transform. WSEAS Trans Bus Econ 19:432–441

    Article  Google Scholar 

  10. Liu K, Cheng J, Yi J (2022) Copper price forecasted by hybrid neural network with bayesian optimization and wavelet transform. Resour Policy 75, 102520, 10.1016/j.resourpol.2021.102520

  11. Jarrah M, Salim N (2019) A recurrent neural network and a discrete wavelet transform to predict the saudi stock price trends. Int J Adv Comput Sci Appl 10(4):155–162. doi: https://doi.org/10.14569/ijacsa.2019.0100418

    Article  Google Scholar 

  12. Van M, Kang H-J (2015) Two-stage feature selection for bearing fault diagnosis based on dual-tree complex wavelet transform and empirical mode decomposition. Proc Inst Mech Eng Part C J Mech Eng Sci 230(2):291–302. https://doi.org/10.1177/0954406215573976

    Article  Google Scholar 

  13. Jović A, Brkić K, Bogunović N (2015) A review of feature selection methods with applications, in 2015 38th international convention on information and communication technology, electronics and microelectronics (MIPRO), pp. 1200–1205

  14. Almomani O (2020) A feature selection model for network intrusion detection system based on PSO, GWO, FFA and GA algorithms. Symmetry (Basel) 12(6):1046

    Article  Google Scholar 

  15. Deb S, Gao XZ, Tammi K, Kalita K, Mahanta P (2020) Recent studies on chicken swarm optimization algorithm: a review (2014–2018). Artif Intell Rev 53(3):1737–1765. https://doi.org/10.1007/s10462-019-09718-3

    Article  Google Scholar 

  16. Meng X, Liu Y, Gao X, Zhang H (2014) A new bio-inspired algorithm: chicken swarm optimization. Lect Notes Comput Sci (Including Subser Lect Notes Artif Intell Lect Notes Bioinform) 8794:86–94. https://doi.org/10.1007/978-3-319-11857-4_10

    Article  Google Scholar 

  17. Göçken M, Özçalici M, Boru A, Dosdoʇru AT (2016) Integrating metaheuristics and artificial neural networks for improved stock price prediction. Expert Syst Appl 44:320–331. https://doi.org/10.1016/j.eswa.2015.09.029

    Article  Google Scholar 

  18. Kumar G, Jain S, Singh UP (2021) Stock market forecasting using computational intelligence: a survey, vol 28. Springer. Netherlands, pp. 3

  19. Vuorenmaa T (2004) A multiresolution analysis of stock market volatility using wavelet methodology, Licent. Thesis, Univ. Helsinki, [Online]. Available: http://valotrading.com/assets/articles/multiresolution.pdf

  20. Lahmiri S (2014) Wavelet low- and high-frequency components as features for predicting stock prices with backpropagation neural networks. J King Saud Univ - Comput Inf Sci 26(2):218–227. doi: https://doi.org/10.1016/j.jksuci.2013.12.001

    Article  Google Scholar 

  21. Chandar SK, Sumathi M, Sivanandam SN (2016) Prediction of stock market price using hybrid of wavelet transform and artificial neural network. Indian J Sci Technol. https://doi.org/10.17485/ijst/2016/v9i8/87905

    Article  Google Scholar 

  22. Jothimani D, Shankar R, Yadav SS (2016) Discrete wavelet transform-based prediction of stock index: a study on national stock exchange fifty index, arXiv Prepr. arXiv1605.07278

  23. Qiu X, Suganthan PN, Amaratunga GAJ (2019) Fusion of multiple indicators with ensemble incremental learning techniques for stock price forecasting. J Bank Financ Technol 3(1):33–42. doi: https://doi.org/10.1007/s42786-018-00006-2

    Article  Google Scholar 

  24. Tripathy N, Jaipuria S (2020) Forecasting stock market using discrete wavelet transforms forecasting stock market using discrete wavelet transforms and artificial neural networks model, no.November

  25. Althelaya KA, Mohammed SA, El-Alfy ESM (2021) Combining deep learning and multiresolution analysis for stock market forecasting. IEEE Access 9:13099–13111. doi: https://doi.org/10.1109/ACCESS.2021.3051872

    Article  Google Scholar 

  26. Chen S, Zhou C (2021) Stock prediction based on genetic algorithm feature selection and long short-term memory neural network. IEEE Access 9:9066–9072. https://doi.org/10.1109/ACCESS.2020.3047109

    Article  Google Scholar 

  27. Wu D, Wang X, Wu S (2021) A hybrid method based on extreme learning machine and wavelet transform denoising for stock prediction. Entropy. https://doi.org/10.3390/e23040440

    Article  MathSciNet  Google Scholar 

  28. Syamala Rao P, Parthasaradhi Varma G, Durga Prasad C (2022) Financial time series forecasting using optimized multistage wavelet regression approach. Int J Inf Technol. doi: https://doi.org/10.1007/s41870-022-00924-x

    Article  Google Scholar 

  29. Ji G, Yu J, Hu K, Xie J, Ji X (2022) An adaptive feature selection schema using improved technical indicators for predicting stock price movements. Expert Syst Appl 200:116941. doi: https://doi.org/10.1016/j.eswa.2022.116941

    Article  Google Scholar 

  30. Yahoo Finance (2022) https://finance.yahoo.com/(Accessed 16 Nov 2022)

  31. Chorafas DN (2005) Technical and fundamental analysis. In: The management of equity investments, pp. 131–155

  32. Rath S, Samal P, Behera J (2020) Fundamental and technical analysis in future trading. Biot Res Today 2(4):60–63

    Google Scholar 

  33. Edwards RD, Magee J, Bassetti WHC (2018) Technical analysis of stock trends. CRC press

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Satya Verma.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Verma, S., Sahu, S.P. & Sahu, T.P. Discrete Wavelet Transform-based feature engineering for stock market prediction. Int. j. inf. tecnol. 15, 1179–1188 (2023). https://doi.org/10.1007/s41870-023-01157-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s41870-023-01157-2

Keywords

Navigation