IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v43y2024i5p1199-1211.html
   My bibliography  Save this article

Stock movement prediction: A multi‐input LSTM approach

Author

Listed:
  • Pan Tang
  • Cheng Tang
  • Keren Wang

Abstract

Generally, the nonlinear and non‐stationary financial time series becomes an obstacle in the process of stock movement prediction. But the recent theories of machine learning and deep learning have provided with some new solutions. Based on LSTM (long short‐term memory), we propose a hybrid model of wavelet transform (WT) and multi‐input LSTM to predict the trend of SSE composite index. It can mine valid data in time series and support different types of data as input. The whole model is divided into two stages. In the first stage, we adopt the level 1 decomposition with db4 mother wavelet to eliminate noise. In the second stage, combinative and qualitative analysis was made base on the data from Chinese stock market, US stock market, and technical indicators as input. According to the result, the proposed model, with the accuracy of 72.19%, performs better than single‐input LSTM, decision tree, random forest, Support Vector Machine (SVM), and XGBoost.

Suggested Citation

  • Pan Tang & Cheng Tang & Keren Wang, 2024. "Stock movement prediction: A multi‐input LSTM approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(5), pages 1199-1211, August.
  • Handle: RePEc:wly:jforec:v:43:y:2024:i:5:p:1199-1211
    DOI: 10.1002/for.3071
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.3071
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.3071?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Basak, Suryoday & Kar, Saibal & Saha, Snehanshu & Khaidem, Luckyson & Dey, Sudeepa Roy, 2019. "Predicting the direction of stock market prices using tree-based classifiers," The North American Journal of Economics and Finance, Elsevier, vol. 47(C), pages 552-567.
    2. Agnolucci, Paolo, 2009. "Volatility in crude oil futures: A comparison of the predictive ability of GARCH and implied volatility models," Energy Economics, Elsevier, vol. 31(2), pages 316-321, March.
    3. Yousefi, Shahriar & Weinreich, Ilona & Reinarz, Dominik, 2005. "Wavelet-based prediction of oil prices," Chaos, Solitons & Fractals, Elsevier, vol. 25(2), pages 265-275.
    4. Anders Johansson, 2010. "China's financial market integration with the world," Journal of Chinese Economic and Business Studies, Taylor & Francis Journals, vol. 8(3), pages 293-314.
    5. Lin, Yu & Yan, Yan & Xu, Jiali & Liao, Ying & Ma, Feng, 2021. "Forecasting stock index price using the CEEMDAN-LSTM model," The North American Journal of Economics and Finance, Elsevier, vol. 57(C).
    6. Ye, George L., 2014. "The interactions between China and US stock markets: New perspectives," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 31(C), pages 331-342.
    7. Dutta, Anupam, 2018. "Implied volatility linkages between the U.S. and emerging equity markets: A note," Global Finance Journal, Elsevier, vol. 35(C), pages 138-146.
    8. repec:bla:jfinan:v:44:y:1989:i:4:p:849-69 is not listed on IDEAS
    9. Ramsey, J.B., 2002. "Wavelets in Economics and Finance: Past and Future," Working Papers 02-02, C.V. Starr Center for Applied Economics, New York University.
    10. Goh, Jeremy C. & Jiang, Fuwei & Tu, Jun & Wang, Yuchen, 2013. "Can US economic variables predict the Chinese stock market?," Pacific-Basin Finance Journal, Elsevier, vol. 22(C), pages 69-87.
    11. Torbat, Sheida & Khashei, Mehdi & Bijari, Mehdi, 2018. "A hybrid probabilistic fuzzy ARIMA model for consumption forecasting in commodity markets," Economic Analysis and Policy, Elsevier, vol. 58(C), pages 22-31.
    12. Ramsey James B., 2002. "Wavelets in Economics and Finance: Past and Future," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 6(3), pages 1-29, November.
    13. Xiaojun Li & Pan Tang, 2020. "Stock index prediction based on wavelet transform and FCD‐MLGRU," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(8), pages 1229-1237, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Singh, Sarbjit & Parmar, Kulwinder Singh & Kumar, Jatinder & Makkhan, Sidhu Jitendra Singh, 2020. "Development of new hybrid model of discrete wavelet decomposition and autoregressive integrated moving average (ARIMA) models in application to one month forecast the casualties cases of COVID-19," Chaos, Solitons & Fractals, Elsevier, vol. 135(C).
    2. Shalini, Velappan & Prasanna, Krishna, 2016. "Impact of the financial crisis on Indian commodity markets: Structural breaks and volatility dynamics," Energy Economics, Elsevier, vol. 53(C), pages 40-57.
    3. He, Kaijian & Yu, Lean & Lai, Kin Keung, 2012. "Crude oil price analysis and forecasting using wavelet decomposed ensemble model," Energy, Elsevier, vol. 46(1), pages 564-574.
    4. Kaijian He & Kin Keung Lai & Guocheng Xiang, 2012. "Portfolio Value at Risk Estimate for Crude Oil Markets: A Multivariate Wavelet Denoising Approach," Energies, MDPI, vol. 5(4), pages 1-26, April.
    5. Ying Fan & Abdullah Yavas, 2023. "Price Dynamics in Public and Private Commercial Real Estate Markets," The Journal of Real Estate Finance and Economics, Springer, vol. 67(1), pages 150-190, July.
    6. Garnier, Josselin & Solna, Knut, 2019. "Emergence of turbulent epochs in oil prices," Chaos, Solitons & Fractals, Elsevier, vol. 122(C), pages 281-292.
    7. Josselin Garnier & Knut Solna, 2018. "Emergence of Turbulent Epochs in Oil Prices," Papers 1808.09382, arXiv.org, revised Apr 2019.
    8. Seiler, Volker, 2024. "The relationship between Chinese and FOB prices of rare earth elements – Evidence in the time and frequency domain," The Quarterly Review of Economics and Finance, Elsevier, vol. 95(C), pages 160-179.
    9. Marco Gallegati & Mauro Gallegati, 2005. "Wavelet variance and correlation analyses of output in G7 countries," Macroeconomics 0512017, University Library of Munich, Germany.
    10. Dimitrios Panagiotou & Athanassios Stavrakoudis, 2023. "Price dependence among the major EU extra virgin olive oil markets: a time scale analysis," Review of Agricultural, Food and Environmental Studies, Springer, vol. 104(1), pages 1-26, March.
    11. Nigatu, Getachew & Adjemian, Michael K., 2016. "The U.S. Role in the Price Determination of Major Agricultural Commodities," 2016 Annual Meeting, July 31-August 2, Boston, Massachusetts 236045, Agricultural and Applied Economics Association.
    12. Chee Kian Leong & Weihong Huang, 2010. "Testing for spurious and cointegrated regressions: A wavelet approach," Journal of Applied Statistics, Taylor & Francis Journals, vol. 37(2), pages 215-233.
    13. Bhuiyan, Rubaiyat Ahsan & Husain, Afzol & Zhang, Changyong, 2021. "A wavelet approach for causal relationship between bitcoin and conventional asset classes," Resources Policy, Elsevier, vol. 71(C).
    14. Bouri, Elie & Gupta, Rangan & Tiwari, Aviral Kumar & Roubaud, David, 2017. "Does Bitcoin hedge global uncertainty? Evidence from wavelet-based quantile-in-quantile regressions," Finance Research Letters, Elsevier, vol. 23(C), pages 87-95.
    15. Akan, Taner & Gündüz, Halil İbrahim & Emirmahmutoğlu, Furkan & Işık, Ali Haydar, 2023. "Disaggregating renewable energy-growth nexus: W-ARDL and W-Toda-Yamamoto approaches," Renewable and Sustainable Energy Reviews, Elsevier, vol. 188(C).
    16. Selçuk, Faruk & Gençay, Ramazan, 2006. "Intraday dynamics of stock market returns and volatility," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 367(C), pages 375-387.
    17. Christian M. Hafner, 2012. "Cross-correlating wavelet coefficients with applications to high-frequency financial time series," Journal of Applied Statistics, Taylor & Francis Journals, vol. 39(6), pages 1363-1379, December.
    18. Luís Aguiar-Conraria & Maria Joana Soares, 2014. "The Continuous Wavelet Transform: Moving Beyond Uni- And Bivariate Analysis," Journal of Economic Surveys, Wiley Blackwell, vol. 28(2), pages 344-375, April.
    19. Muhammad Azmat Hayat & Huma Ghulam & Maryam Batool & Muhammad Zahid Naeem & Abdullah Ejaz & Cristi Spulbar & Ramona Birau, 2021. "Investigating the Causal Linkages among Inflation, Interest Rate, and Economic Growth in Pakistan under the Influence of COVID-19 Pandemic: A Wavelet Transformation Approach," JRFM, MDPI, vol. 14(6), pages 1-22, June.
    20. Jeff Schott & Jugal Kalita, 2011. "Neuro‐fuzzy time‐series analysis of large‐volume data," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 18(1), pages 39-57, January.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wly:jforec:v:43:y:2024:i:5:p:1199-1211. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.