Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

Research on a hybrid prediction model for stock price based on long short-term memory and variational mode decomposition

  • Data analytics and machine learning
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

The stock market plays a vital role in the economic and social organization of many countries. Since stock price time series are highly noisy, nonparametric, volatility, complexity, nonlinearity, dynamics, and chaos, the stock market prediction is an important issue for investors and professional analysts. In the financial field, stock market prediction is not only an important task but also an important research topic. For different problems, researchers have proposed many prediction methods. Many papers provide strong evidence that stock prices can be predicted from past price data. In this paper, we propose a hybrid prediction model for stock price based on long short-term memory (LSTM) and variational mode decomposition (VMD). We use the variational mode decomposition method to decompose the complex time series of stock prices into several relatively flat, regular, and stable subsequences. Then, we use each subsequence to train the long- and short-term memory neural network and predict each subsequence. Finally, we merge the predicted values of several subsequences to form the predicted results of the stock price complex original time series. To verify fully the method, we selected four experimental data for testing. Compared with the prediction results of various prediction methods, the prediction accuracy of our proposed model is higher. Especially in the R2 index, the experimental effect is very good. The proposed method achieves good results of more than 0.991 on each data set. Therefore, our proposed hybrid prediction model is accurate and effective in forecasting stock prices and has practical significance and reference value.

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

Access this article

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

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

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data Availability

Data are fully available without restriction. The original experimental data can be downloaded from Yahoo Finance for free(http://finance.yahoo.com).

References

  • Abualiga H, Qasim LM (2018) Feature selection and enhanced krill herd algorithm for text document clustering. Stud Comput Intell (2018).

  • Abualigah L et al. (2021) Matlab code of aquila optimizer: a novel meta-heuristic optimization algorithm. Comput Ind Eng

  • Abualigah L, Diabat A (2021) Advances in sine cosine algorithm: a comprehensive survey. Artif Intell Rev 3

  • Alhazbi S, Said AB, Al-Maadid A (2020) Using deep learning to predict stock movements direction in emerging markets: the case of Qatar stock exchange. 2000 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), Doha, Qatar, pp 440–444

  • Altabeeb AM et al (2021) Solving capacitated vehicle routing problem using cooperative firefly algorithm. Appl Soft Comput 1:107403

    Article  Google Scholar 

  • Bukhari H, Raja MAZ, Sulaiman M, Islam S, Shoaib M, Kumam P (2020) Fractional neuro-sequential ARFIMA-LSTM for financial market forecasting. IEEE Access. https://doi.org/10.1109/ACCESS.2020.2985763

    Article  Google Scholar 

  • Chen K, Zhou Y, Dai F (2015) A LSTM-based method for stock returns prediction: a case study of China stock market. 2015 IEEE International Conference on Big Data (Big Data), Santa Clara, CA, 2015, pp 2823–2824. https://doi.org/10.1109/BigData.2015.7364089

  • Cheng, Shiu H (2014) A novel GA-SVR time series model based on selected indicators method for forecasting stock price. 2014 international conference on information science, electronics and electrical engineering, Sapporo, 2014, pp 395–399

  • Chong C, Han FC (2017) Park, Deep learning networks for stock market analysis and prediction: methodology data representations and case studies. Expert Syst Appl 83:187–205

    Article  Google Scholar 

  • Day M, Lee C (2016) Deep learning for financial sentiment analysis on finance news providers. 2016 IEEE/ACM international conference on advances in social networks analysis and mining (ASONAM), San Francisco, CA, pp 1127–1134

  • Dragomiretskiy K, Zosso D (2014) Variational mode decomposition. IEEE Trans Signal Process 62(3):531–534

    Article  MathSciNet  Google Scholar 

  • Elaziz MA, Abualigah L, Attiya I (2021) Advanced optimization technique for scheduling IoT tasks in cloud-fog computing environments. Future Gener Comput Syst 124.9

  • Gao T, Chai Y (2018) Improving stock closing price prediction using recurrent neural network and technical indicators. Neural Comput 30(10):2833–2854

    Article  MathSciNet  Google Scholar 

  • Gendeel M, Yuxian Z, Aoqi H (2018) Performance comparison of ANNs model with VMD for short-term wind speed forecasting. IET Renew Power Gener 12(12):1424–1430

    Article  Google Scholar 

  • Gers FA, Schmidhuber J (2000) Recurrent nets that time and count. Proceedings of IEEE-INNS-ENNS International Joint Conference Neural Network (IJCNN) Neural Comput. New Challenges Perspect. New Millennium, vol 3, pp 189–194, 2000

  • Guo Y, Han S, Shen C, Li Y, Yin X, Bai Y (2018) An Adaptive SVR for High-Frequency Stock Price Forecasting. IEEE Access 6:11397–11404

    Article  Google Scholar 

  • Han L, Zhang R, Wang X, Bao A, Jing H (2019) Multi-step wind power forecast based on VMD-LSTM. IET Renew Power Gener 13(10):1690–1700

    Article  Google Scholar 

  • Hasan OK, Akyokuş S (2017) Predicting financial market in big data: Deep learning. 2017 International conference on computer science and engineering (UBMK), Antalya, pp 510–515.

  • Hassan (2017) Exploiting noisy data normalization for stock market prediction. J Eng Appl Sci 12(1):69–77

    Google Scholar 

  • Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9:1735–1780

    Article  Google Scholar 

  • Hu Y, Sun X, Nie X, Li Y, Liu L (2019) An enhanced LSTM for trend following of time series. IEEE Access 7:34020–34030. https://doi.org/10.1109/ACCESS.2019.2896621

    Article  Google Scholar 

  • Idrees SM, Alam MA, Agarwal P (2019) A prediction approach for stock market volatility based on time series data. IEEE Access 7:17287–17298

    Article  Google Scholar 

  • Jeon S, Hong B, Chang V (2018) Pattern graph tracking-based stock price prediction using big data. Future Gener Comput Syst 80:171–187

    Article  Google Scholar 

  • Kaya MY, Karsligil ME (2010) Stock price prediction using financial news articles. 2010 2nd IEEE international conference on information and financial engineering, Chongqing, pp 478–482.

  • Khare K, Darekar O, Gupta P, Attar VZ (2017) Short term stock price prediction using deep learning. 2017 2nd IEEE international conference on recent trends in electronics, information & communication technology (RTEICT), Bangalore, pp 482–486

  • Kwon Y, Sun H-D (2011) A hybrid system integrating a piecewise linear representation and a neural network for stock prediction. Proceedings of 2011 6th International Forum on Strategic Technology, Harbin, Heilongjiang, pp 796–799

  • Lai CY, Chen R, Caraka RE (2019) Prediction stock price based on different index factors using LSTM. International conference on machine learning and cybernetics (ICMLC), Kobe, Japan, 2019, pp 1–6

  • Lee J, Kim R, Koh Y, Kang J (2019) Global stock market prediction based on stock chart images using deep Q-network. IEEE Access 7:167260–167277. https://doi.org/10.1109/ACCESS.2019.2953542

    Article  Google Scholar 

  • Lim M, Yeo CK (2020) Harvesting social media sentiments for stock index prediction. IEEE 17th annual consumer communications and networking conference (CCNC), Las Vegas, NV, USA, pp 1–4

  • Liu F, Li X, Wang L (2019) Exploring cluster stocks based on deep learning for stock prediction. 2019 12th international symposium on computational intelligence and design (ISCID), Hangzhou, China, pp 107–110

  • Liu S, Liao G, Ding Y (2018) Stock transaction prediction modeling and analysis based on LSTM. 2018 13th IEEE conference on industrial electronics and applications (ICIEA), Wuhan, 2018, pp 2787–2790. https://doi.org/10.1109/ICIEA.2018.8398183

  • Liu H, Song B (2018) Stock price trend prediction model based on deep residual network and stock price graph. 11th international symposium on computational intelligence and design (ISCID), Hangzhou, China, pp 328–331.

  • Ma S, Gao L, Liu X, Lin J (2019) Deep learning for track quality evaluation of high-speed railway based on vehicle-body vibration prediction. IEEE Access 7:185099–185107. https://doi.org/10.1109/ACCESS.2019.2960537

    Article  Google Scholar 

  • Mankar T, Hotchandani T, Madhwani M, Chidrawar A, Lifna CS (2018) Stock market prediction based on social sentiments using machine learning. 2018 International conference on smart city and emerging technology (ICSCET), Mumbai, pp 1–3

  • Mhha B et al. (2021) Development and application of slime mould algorithm for optimal economic emission dispatch. Expert Syst Appl

  • Minh Dang L, Sadeghi-Niaraki A, Huy HD, Min K, Moon H (2018) Deep learning approach for short-term stock trends prediction based on two-stream gated recurrent unit network. IEEE Access 6:55392–55404. https://doi.org/10.1109/ACCESS.2018.2868970

    Article  Google Scholar 

  • Ojo SO, Owolawi PA, Mphahlele M, Adisa JA (2019) Stock market behaviour prediction using stacked LSTM networks. International multidisciplinary information technology and engineering conference (IMITEC), Vanderbijlpark, South Africa, 2019, pp 1–5. https://doi.org/10.1109/IMITEC45504.2019.9015840

  • Shi L, Teng Z, Wang L, Zhang Y, Binder A (2019) DeepClue: visual interpretation of text-based deep stock prediction. IEEE Trans Knowl Data Eng 31(6):1094–1108

    Article  Google Scholar 

  • Sismanoglu MA, Onde FK, Sahingoz OK (2019) Deep learning based forecasting in stock market with big data analytics. Scientific meeting on electrical-electronics and biomedical engineering and computer science (EBBT), Istanbul, Turkey, pp 1–4

  • Sohangir S, Wang D (2018) Finding expert authors in financial forum using deep learning methods. 2018 Second IEEE international conference on robotic computing (IRC), Laguna Hills, CA, pp 399–402

  • Sun Z, Zhao M (2020) Short-term wind power forecasting based on VMD decomposition, ConvLSTM networks and error analysis. IEEE Access 8:134422–134434

    Article  Google Scholar 

  • Sun Z, Zhao S, Zhang J (2019) Short-term wind power forecasting on multiple scales using VMD Decomposition, K-Means clustering and LSTM principal computing. IEEE Access 7:166917–166929

    Article  Google Scholar 

  • Tang L, Sheng H, Tang L (2009) Stock returns prediction using manifold wavelet Kernel. International conference on electronic commerce and business intelligence, Beijing, pp 306–309

  • Upadhyay A, Pachori RB (2017) Speech enhancement based on mEMD-VMD method. Electron Lett 53(7):502–504

    Article  Google Scholar 

  • Wang J, Sun T, Liu B, Cao Y, Wang D (2018) Financial markets prediction with deep learning. 17th IEEE international conference on machine learning and applications (ICMLA), Orlando, FL, pp 97–104

  • Wang C, Li H, Huang G, Ou J (2019) Early fault diagnosis for planetary gearbox based on adaptive parameter optimized VMD and singular kurtosis difference spectrum. IEEE Access 7:31501–31516

    Article  Google Scholar 

  • Waqar M, Dawood H, Guo P, Shahnawaz MB, Ghazanfar MA (2017) Prediction of stock market by principal component analysis. 2017 13th 2017 International conference on computational intelligence and security (CIS), Hong Kong, pp 599–602

  • Wei D (2019) Prediction of stock price based on LSTM neural network. International conference on artificial intelligence and advanced manufacturing (AIAM), Dublin, Ireland, 2019, pp 544–547. https://doi.org/10.1109/AIAM48774.2019.00113

  • Wei P, Wang H (2019) Evaluation method of spindle performance degradation based on VMD and random forests. J Eng 23:8862–8866

    Article  Google Scholar 

  • Wei Y, Wang Z, Xu M, Qiao S (2017) An LSTM method for predicting CU splitting in H. 264 to HEVC transcoding. Proceedings of IEEE visual communication image process (VCIP), pp 1–4

  • Weng B, Ahmed MA, Megahed FM (2017) Stock market one-day ahead movement prediction using disparate data sources. Expert Syst Appl 79:153–163

    Article  Google Scholar 

  • Xi G (2018) A novel stock price forecasting method using the dynamic neural network. 2018 International conference on robots and intelligent system (ICRIS), Changsha, pp 242–245. https://doi.org/10.1109/ICRIS.2018.00069

  • Xiao Y, Che W, Wang Z, Yang C (2013) The research of morphological characteristics in time series of stock prices based on CBR. 2013 Third international conference on intelligent system design and engineering applications, Hong Kong, pp 1518–1521.

  • Xu Y, Gao Y, Li Z, Lu M (2020) Detection and classification of power quality disturbances in distribution networks based on VMD and DFA. CSEE J Power Energy Syst 6(1):122–130

    Google Scholar 

  • Yang YJ, Yang YM (2020) Hybrid method for short-term time series forecasting based on EEMD. IEEE Access 8:61915–61928

    Article  Google Scholar 

  • Yang Y, Yang Y, Li J (2017) Role of mean in the multifractal analysis of financial time series. 2017 14th International computer conference on wavelet active media technology and information processing (ICCWAMTIP), Chengdu, pp 74–78

  • Yang Y, Li J, Yang Y (2017b) The cross-correlation analysis of multi property of stock markets based on MM-DFA. Phys A Stat Mech Appl 481:23–33

    Article  Google Scholar 

  • Yıldırım S, Jothimani D, Kavaklioğlu C, Başar A (2019) Deep learning approaches for sentiment analysis on financial microblog dataset. IEEE international conference on big data (Big Data), Los Angeles, CA, USA, pp 5581–5584.

  • Yu Y, Wang S, Zhang L (2017) Stock price forecasting based on BP neural network model of network public opinion. 2nd International Conference on Image, Vision and Computing (ICIVC), Chengdu, pp 1058–1062. https://doi.org/10.1109/ICIVC.2017.7984716

  • 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 

  • Yujun Y, Yimei Y, Jianping L (2016) Research on financial time series forecasting based on SVM. 2016 13th International computer conference on wavelet active media technology and information processing (ICCWAMTIP), Chengdu, pp 346–349.

  • Yujun Y, Jianping L, Yimei Y (2016b) An efficient stock recommendation model based on big order net inflow. Math Probl Eng 5725143:1–15

    Article  Google Scholar 

  • Yujun Y, Jianping L, Yimei Y (2017) Multiscale multifractal multiproperty analysis of financial time series based on Rényi entropy. Int J Mod Phys C 28(02)

  • Zhang L, Liu N, Yu P (2012) A novel instantaneous frequency algorithm and its application in stock index movement prediction. IEEE J Select Topics Signal Process 6(4):311–318

    Article  Google Scholar 

  • Zhang Y, Zhao Y, Gao S (2019) A novel hybrid model for wind speed prediction based on VMD and neural network considering atmospheric uncertainties. IEEE Access 7:60322–60332

    Article  Google Scholar 

  • Zhang J et al (2020) Can the exchange rate be used to predict the shanghai composite index? IEEE Access 8:2188–2199

    Article  Google Scholar 

  • Zhao Q, Bao K, Wang J, Han Y, Wang J (2019) An online hybrid model for temperature prediction of wind turbine gearbox components. Energies 12(20):3920

    Article  Google Scholar 

  • Zheng C, Zhu J (2017) Research on stock price forecast based on gray relational analysis and ARMAX model. 2017 International Conference on Grey Systems and Intelligent Services (GSIS), Stockholm, pp 145–148. https://doi.org/10.1109/GSIS.2017.8077689

  • Zhou P, Chan KCC, Ou CX (2018) Corporate communication network and stock price movements: insights from data mining. IEEE Trans Comput Soc Syst 5(2):391–402

    Article  Google Scholar 

  • Zhou S, Li J, Zhang K, Wen M, Guan Q (2020) An accurate ensemble forecasting approach for highly dynamic cloud workload with VMD and R-transformer. IEEE Access 8:115992–116003

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported in part by the Scientific Research Fund of Hunan Provincial Education under Grants 20C1487 and 19C1472, Research results of Educational Science Planning in Hunan Province under Grant XJ212259, the Key Laboratory of Intelligent Control Technology for Wuling-Mountain Ecological Agriculture in Hunan Province under Grants ZNKZD2020-1 and ZNKZ2018-5, Key scientific research projects of Huaihua University under Grant HHUY2019-08, Project of Huaihua City Social Science Achievement Review Committee under Grant HSP2021YB101 and HSP2021YB102, Key Laboratory of Wuling-Mountain Health Big Data Intelligent Processing and Application in Hunan Province Universities.

Author information

Authors and Affiliations

Authors

Contributions

Yang Yujun contributed to all aspects of this work. Yang Yimei and Zhou Wang conducted the experiment and analyzed the data. All authors reviewed the manuscript.

Corresponding author

Correspondence to Yang Yimei.

Ethics declarations

Conflict of interest

The authors declare that they have no conflicts of interest.

Additional information

Publisher's Note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yujun, Y., Yimei, Y. & Wang, Z. Research on a hybrid prediction model for stock price based on long short-term memory and variational mode decomposition. Soft Comput 25, 13513–13531 (2021). https://doi.org/10.1007/s00500-021-06122-4

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-021-06122-4

Keywords

Navigation