IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0299164.html
   My bibliography  Save this article

Modeling opening price spread of Shanghai Composite Index based on ARIMA-GRU/LSTM hybrid model

Author

Listed:
  • Yuancheng Si
  • Saralees Nadarajah
  • Zongxin Zhang
  • Chunmin Xu

Abstract

In the dynamic landscape of financial markets, accurate forecasting of stock indices remains a pivotal yet challenging task, essential for investors and policymakers alike. This study is motivated by the need to enhance the precision of predicting the Shanghai Composite Index’s opening price spread, a critical measure reflecting market volatility and investor sentiment. Traditional time series models like ARIMA have shown limitations in capturing the complex, nonlinear patterns inherent in stock price movements, prompting the exploration of advanced methodologies. The aim of this research is to bridge the gap in forecasting accuracy by developing a hybrid model that integrates the strengths of ARIMA with deep learning techniques, specifically Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) networks. This novel approach leverages the ARIMA model’s proficiency in linear trend analysis and the deep learning models’ capability in modeling nonlinear dependencies, aiming to provide a comprehensive tool for market prediction. Utilizing a comprehensive dataset covering the period from December 20, 1990, to June 2, 2023, the study develops and assesses the efficacy of ARIMA, LSTM, GRU, ARIMA-LSTM, and ARIMA-GRU models in forecasting the Shanghai Composite Index’s opening price spread. The evaluation of these models is based on key statistical metrics, including Mean Squared Error (MSE) and Mean Absolute Error (MAE), to gauge their predictive accuracy. The findings indicate that the hybrid models, ARIMA-LSTM and ARIMA-GRU, perform better in forecasting the opening price spread of the Shanghai Composite Index than their standalone counterparts. This outcome suggests that combining traditional statistical methods with advanced deep learning algorithms can enhance stock market prediction. The research contributes to the field by providing evidence of the potential benefits of integrating different modeling approaches for financial forecasting, offering insights that could inform investment strategies and financial decision-making.

Suggested Citation

  • Yuancheng Si & Saralees Nadarajah & Zongxin Zhang & Chunmin Xu, 2024. "Modeling opening price spread of Shanghai Composite Index based on ARIMA-GRU/LSTM hybrid model," PLOS ONE, Public Library of Science, vol. 19(3), pages 1-19, March.
  • Handle: RePEc:plo:pone00:0299164
    DOI: 10.1371/journal.pone.0299164
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0299164
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0299164&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0299164?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. Ho, Hsiao-Wei & Hsiao, Yu-Jen & Lo, Wen-Chi & Yang, Nien-Tzu, 2023. "Momentum investing and a tale of intraday and overnight returns: Evidence from Taiwan," Pacific-Basin Finance Journal, Elsevier, vol. 82(C).
    2. Lixu Chi & Xintian Zhuang & Dalei Song, 2012. "Investor sentiment in the Chinese stock market: an empirical analysis," Applied Economics Letters, Taylor & Francis Journals, vol. 19(4), pages 345-348, March.
    3. Zhang, Hang & Tsai, Wei-Che & Weng, Pei-Shih & Tsai, Pin-Chieh, 2023. "Overnight returns and investor sentiment: Further evidence from the Taiwan stock market," Pacific-Basin Finance Journal, Elsevier, vol. 80(C).
    4. Plastun, Alex & Sibande, Xolani & Gupta, Rangan & Wohar, Mark E., 2020. "Price gap anomaly in the US stock market: The whole story," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    5. Su, Zhifang & Bao, Haohua & Li, Qifang & Xu, Boyu & Cui, Xin, 2022. "The prediction of price gap anomaly in Chinese stock market: Evidence from the dependent functional logit model," Finance Research Letters, Elsevier, vol. 47(PB).
    6. Lo, Andrew W, 1991. "Long-Term Memory in Stock Market Prices," Econometrica, Econometric Society, vol. 59(5), pages 1279-1313, September.
    7. Yuancheng Si & Saralees Nadarajah, 2023. "A Statistical Analysis of Chinese Stock Indices Returns From Approach of Parametric Distributions Fitting," Annals of Data Science, Springer, vol. 10(1), pages 73-88, February.
    8. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    9. Aboody, David & Even-Tov, Omri & Lehavy, Reuven & Trueman, Brett, 2018. "Overnight Returns and Firm-Specific Investor Sentiment," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 53(2), pages 485-505, April.
    10. Paul C. Tetlock, 2010. "Does Public Financial News Resolve Asymmetric Information?," The Review of Financial Studies, Society for Financial Studies, vol. 23(9), pages 3520-3557.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Yuancheng Si & Saralees Nadarajah, 2025. "Price Gap Anomaly: Empirical Study of Opening Price Gaps and Price Disparities in Chinese Stock Indices," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(2), pages 525-561, June.

    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. Yuancheng Si & Saralees Nadarajah, 2025. "Price Gap Anomaly: Empirical Study of Opening Price Gaps and Price Disparities in Chinese Stock Indices," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(2), pages 525-561, June.
    2. Cornelis A. Los, 2004. "Nonparametric Efficiency Testing of Asian Stock Markets Using Weekly Data," Finance 0409033, University Library of Munich, Germany.
    3. Zhong, Meirui & Zhang, Rui & Ren, Xiaohang, 2023. "The time-varying effects of liquidity and market efficiency of the European Union carbon market: Evidence from the TVP-SVAR-SV approach," Energy Economics, Elsevier, vol. 123(C).
    4. Guglielmo Maria Caporale & Luis A. Gil-Alana & Alex Plastun, 2017. "Long Memory and Data Frequency in Financial Markets," CESifo Working Paper Series 6396, CESifo.
    5. Massa, Massimo & Manconi, Alberto & Luo, Mancy, 2017. "Much Ado About Nothing: Is the Market Affected by Political Bias?," CEPR Discussion Papers 11991, C.E.P.R. Discussion Papers.
    6. Sensoy, Ahmet & Hacihasanoglu, Erk, 2014. "Time-varying long range dependence in energy futures markets," Energy Economics, Elsevier, vol. 46(C), pages 318-327.
    7. Kyaw, NyoNyo A. & Los, Cornelis A. & Zong, Sijing, 2006. "Persistence characteristics of Latin American financial markets," Journal of Multinational Financial Management, Elsevier, vol. 16(3), pages 269-290, July.
    8. Vasile Brătian & Ana-Maria Acu & Camelia Oprean-Stan & Emil Dinga & Gabriela-Mariana Ionescu, 2021. "Efficient or Fractal Market Hypothesis? A Stock Indexes Modelling Using Geometric Brownian Motion and Geometric Fractional Brownian Motion," Mathematics, MDPI, vol. 9(22), pages 1-20, November.
    9. Alpha Basweti Kenyatta & Antony Ngunyi & Anthony Gichuhi Waititu, 2020. "News Classification using Support Vector Machine to Model and Forecast Volatility," Journal of Statistical and Econometric Methods, SCIENPRESS Ltd, vol. 9(1), pages 1-1.
    10. Amin Aminimehr & Ali Raoofi & Akbar Aminimehr & Amirhossein Aminimehr, 2022. "A Comprehensive Study of Market Prediction from Efficient Market Hypothesis up to Late Intelligent Market Prediction Approaches," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 781-815, August.
    11. Hull, Matthew & McGroarty, Frank, 2014. "Do emerging markets become more efficient as they develop? Long memory persistence in equity indices," Emerging Markets Review, Elsevier, vol. 18(C), pages 45-61.
    12. Yudong Wang & Chongfeng Wu, 2013. "Efficiency of Crude Oil Futures Markets: New Evidence from Multifractal Detrending Moving Average Analysis," Computational Economics, Springer;Society for Computational Economics, vol. 42(4), pages 393-414, December.
    13. Jebabli, Ikram & Roubaud, David, 2018. "Time-varying efficiency in food and energy markets: Evidence and implications," Economic Modelling, Elsevier, vol. 70(C), pages 97-114.
    14. Chaker Aloui & Duc Khuong Nguyen, 2014. "On the detection of extreme movements and persistent behaviour in Mediterranean stock markets: a wavelet-based approach," Applied Economics, Taylor & Francis Journals, vol. 46(22), pages 2611-2622, August.
    15. Kim, Jae H. & Shamsuddin, Abul, 2008. "Are Asian stock markets efficient? Evidence from new multiple variance ratio tests," Journal of Empirical Finance, Elsevier, vol. 15(3), pages 518-532, June.
    16. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2020. "Multifractal Analysis of Market Efficiency across Structural Breaks: Implications for the Adaptive Market Hypothesis," JRFM, MDPI, vol. 13(10), pages 1-18, October.
    17. David Chappel & Joanne Padmore & Julia Pidgeon, 1998. "A note on ERM membership and the efficiency of the London Stock Exchange," Applied Economics Letters, Taylor & Francis Journals, vol. 5(1), pages 19-23.
    18. Zhou, Liyun & Yang, Chunpeng, 2019. "Stochastic investor sentiment, crowdedness and deviation of asset prices from fundamentals," Economic Modelling, Elsevier, vol. 79(C), pages 130-140.
    19. F. DePenya & L. Gil-Alana, 2006. "Testing of nonstationary cycles in financial time series data," Review of Quantitative Finance and Accounting, Springer, vol. 27(1), pages 47-65, August.
    20. He, Shanshan & Wang, Yudong, 2017. "Revisiting the multifractality in stock returns and its modeling implications," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 467(C), pages 11-20.

    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:plo:pone00:0299164. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.