Fusion model of wavelet transform and adaptive neuro fuzzy inference system for stock market prediction

  • S. Kumar ChandarEmail author
Original Research


Stock market prediction is one of the most important financial subjects that have drawn researchers’ attention for many years. Several factors affecting the stock market make stock market forecasting highly complicated and a difficult task. The successful prediction of a stock market may promise attractive benefits. Various data mining methods such as artificial neural network (ANN), fuzzy system (FS), and adaptive neuro-fuzzy inference system (ANFIS) etc are being widely used for predicting stock prices. The goal of this paper is to find out an efficient soft computing technique for stock prediction. In this paper, time series prediction model of closing price via fusion of wavelet-adaptive network-based fuzzy inference system (WANFIS) is formulated, which is capable of predicting stock market. The data used in this study were collected from the internet sources. The fusion forecasting model uses the discrete wavelet transform (DWT) to decompose the financial time series data. The obtained approximation and detailed coefficients after decomposition of the original time series data are used as input variables of ANFIS to forecast the closing stock prices. The proposed model is applied on four different companies’ previous data such as opening price, lowest price, highest price and total volume share traded. The day end closing price of stock is the outcome of WANFIS model. Numerical illustration is provided to demonstrate the efficiency of the proposed model and is compared with the existing techniques namely ANN and hybrid of ANN and wavelet to prove its effectiveness. The experimental results reveal that the proposed fusion model achieves better forecasting accuracy than either of the models used separately. From the results, it is suggested that the fusion model WANFIS provides a promising alternative for stock market prediction and can be a useful tool for practitioners and economists dealing with the prediction of stock market.


Adaptive neuro fuzzy inference system Average absolute error Discrete wavelet transform Stock price prediction Fuzzy rules Fusion model 



  1. Abiyev RH, Abiyev VH (2012) Differential evaluation learning of fuzzy wavelet neural networks for stock price prediction. J Inf Comput Sci 7(2):121–130. Google Scholar
  2. Atsalakis GS, Valavanis KP (2009) Surveying stock market forecasting techniques–Part II: soft computing methods. Expert Syst Appl 36(3):5932–5941. Google Scholar
  3. Billah M, Waheed S, Hanifa A (2015) Predicting closing stock price using artificial neural network and adaptive neuro fuzzy inference system ANFIS: the case of the dhaka stock exchange. Int J Comput Appl. Google Scholar
  4. Box GE, Jenkins (1970) Time series analysis: forecasting and control. Holden Day, San Francisco. zbMATHGoogle Scholar
  5. Boyacioglu MA, Avci D (2010) An adaptive network-based fuzzy inference system (ANFIS) for the prediction of stock market return: the case of the Istanbul stock exchange. Expert Syst Appl 37(12):7908–7912. Google Scholar
  6. Caraiani P (2017) The predictive power of local properties of financial networks. Phys A 466:79–90. Google Scholar
  7. Cheng CH, Yang JH (2018) Fuzzy time-series model based on rough set rule induction for forecasting stock price. Neurocomputing 302:33–45. Google Scholar
  8. Chong E, Han C, Park FC (2017) Deep learning networks for stock market analysis and prediction: methodology, data representations, and case studies. Expert Syst Appl 83:187–205. 0957–4174Google Scholar
  9. Chou JS, Nguyen TK (2018) Forward forecast of stock price using sliding-window metaheuristic-optimized machine learning regression. IEEE Trans Ind Inform 14(7):3132–3142. Google Scholar
  10. Devadoss AV, Ligori TAA (2013) Stock prediction using artificial neural networks. Int J Data Min Tech Appl 2:283–291Google Scholar
  11. 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. MathSciNetzbMATHGoogle Scholar
  12. Gu R (2017) Multiscale Shannon entropy and its application in the stock market. Phys A Stat Mech Appl 484:215–224. Google Scholar
  13. Gu R, Shao Y (2016) How long the singular value decomposed entropy predicts the stock market?—Evidence from the Dow Jones Industrial Average Index. Phys A 453:150–161. MathSciNetzbMATHGoogle Scholar
  14. Hong W, Wang W, Weng Y, Luo S, Hu P, Zheng X, Qi J (2018) Stock price movements prediction with textual information. Mechatron Syst Control 46(3):141–149. Google Scholar
  15. Jang JS (1993) ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans Syst Man Cybern 23(3):665–685. Google Scholar
  16. John R, Guerard B, Schwartz E (2012) Regression analysis and forecasting models. Quant Corp Financ. Google Scholar
  17. Kaur G, Dhar J, Guha RK (2014a) Stock market forecasting using ANFIS with OWA operator. Int J Artif Intell 12(2):102–114Google Scholar
  18. Kaur G, Dhar J, Guha RK (2014b) Stock market prediction from sectoral indices using an adaptive network based fuzzy inference system. Int J Manag Comput Sci (IJMCS) 4(2):74Google Scholar
  19. Kia AN, Haratizadeh S, Shouraki SB (2018) A hybrid supervised semi-supervised graph-based model to predict one-day ahead movement of global stock markets and commodity prices. Expert Syst Appl 105:159–173. Google Scholar
  20. 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. Google Scholar
  21. Lai L, Liu J (2014) Support vector machine and least square support vector machine stock forecasting models. Comput Sci Inf Technol 2(1):30–39. Google Scholar
  22. Liu Z, Hajiali M, Torabi A, Ahmadi B, Simoes R (2018) Novel forecasting model based on improved wavelet transform, informative feature selection, and hybrid support vector machine on wind power forecasting. J Ambient Intell Humaniz Comput. Google Scholar
  23. Malagrino LS, Roman NT, Monteiro AM (2018) Forecasting stock market index daily direction: a Bayesian Network approach. Expert Syst Appl 105:11–22. Google Scholar
  24. Masoud N (2014) Predicting direction of stock prices index movement using artificial neural networks: the case of Libyan financial market. Br J Econ Manag Trade 4(4):597–619. Google Scholar
  25. Mirzapour F, Lakzaei M, Varamini G, Teimourian M, Ghadimi N (2017) A new prediction model of battery and wind-solar output in hybrid power system. J Ambient Intell Humaniz Comput. Google Scholar
  26. Nguyen DH, Le MT (2014) A two-stage architecture for stock price forecasting by combining SOM and fuzzy-SVM. Int J Comput Sci Inf Secur 12(8):102–109. arXiv preprint arXiv:1408.5241Google Scholar
  27. Nikam S, Ragha L, Kulkarni S (2013) Neuro fuzzy aprroach for financial forecasting. Int J Res Advent Technol (IJRAT) 1(2):49–65Google Scholar
  28. Rout AK, Dash PK, Dash R, Bisoi R (2017) Forecasting financial time series using a low complexity recurrent neural network and evolutionary learning approach. J King Saud Univ Comput Inf Sci 29(4):536–552. Google Scholar
  29. Shi L, Teng Z, Wang L, Zhang Y, Binder A (2018) DeepClue: visual interpretation of text-based deep stock prediction. IEEE Trans Knowl Data Eng. Google Scholar
  30. Thuillard M (2001) Wavelets in soft computing (25). World scientific.
  31. Vellido A, Lisboa PJ, Vaughan J (1999) Neural networks in business: a survey of applications (1992–1998). Expert Syst Appl 17(1):51–70. Google Scholar
  32. Wang YC (2018) Prediction of engine failure time using principal component analysis, categorical regression tree, and back propagation network. J Ambient Intell Humaniz Comput. Google Scholar
  33. Wang Y, Choi IC (2013) Market index and stock price direction prediction using machine learning techniques: an empirical study on the KOSPI and HSI. arXiv preprint arXiv:1309.7119.
  34. Xu Q (2013) A novel machine learning strategy based on two-dimensional numerical models in financial engineering. Math Probl Eng. Google Scholar
  35. Yang J, Li J, Liu S (2017) A new algorithm of stock data mining in Internet of multimedia things. J Supercomput. Google Scholar
  36. Yang J, Li J, Liu S (2018) A novel technique applied to the economic investigation of recommender system. Multimed Tools Appl 77(4):4237–4252. Google Scholar
  37. Ye Y, Zhang J, Huang Z, Chai (2017) A new information fusion method of forecasting. J Ambient Intell Humaniz Comput, 1–8.
  38. Yoshihara A, Fujikawa K, Seki K, Uehara K (2014) Predicting stock market trends by recurrent deep neural networks. In: Pacific rim international conference on artificial intelligence. Springer, Cham. pp. 759–769, Google Scholar
  39. Yu L, Wang S, Lai KK (2007) An online learning algorithm with adaptive forgetting factors for feedforward neural networks in financial time series forecasting. Nonlinear Dyn Syst Theory 7(1):97–112MathSciNetzbMATHGoogle Scholar
  40. Yu Y, Zhou H, Fu J (2018) Research on agricultural product price forecasting model based on improved BP neural network. J Ambient Intell Humaniz Comput, 1–6.
  41. Zhang Y, Wu L (2009) Stock market prediction of S&P 500 via combination of improved BCO approach and BP neural network. Expert Syst Appl 36(5):8849–8854. Google Scholar
  42. Zhong X, Enke D (2017) Forecasting daily stock market return using dimensionality reduction. Expert Syst Appl 67:126–139. Google Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Department of Management StudiesChrist UniversityBengaluruIndia

Personalised recommendations