IDEAS home Printed from https://ideas.repec.org/a/spr/portec/v23y2024i3d10.1007_s10258-023-00246-1.html
   My bibliography  Save this article

Evaluating ensemble learning techniques for stock index trend prediction: a case of China

Author

Listed:
  • Xiaolu Wei

    (Hubei University)

  • Yubo Tian

    (CCB Frontier Capital (Hong Kong ) Limited)

  • Na Li

    (Northeast Agricultural University)

  • Huanxin Peng

    (Northeast Agricultural University)

Abstract

Stock index trend prediction is a very important topic in the finance. The purpose of this paper is to compare six ensemble learning related techniques for stock index direction prediction, including four boosting methods (Categorical Boosting (CatBoost), Light Gradient Boosting Machine (LightGBM), eXtreme Gradient Boosting (XGBoost) and Gradient Boosting Decision Tree (GBDT)), one bagging method (Random Forest (RF)) and one tree-structured machine learning method (Decision Tree (DT)). The Shanghai Composite Index is chosen for experimental evaluation. A factor library of seventy-two technical factors, thirty-five macro factors and seven micro factors are our inputs. Our predictions are one month ahead, and each prediction model is evaluated by the Area Under Curve (AUC). The results indicate that ensemble learning techniques perform well in stock index prediction, with all AUC values above 0.5. RF is considered as the top algorithm with an AUC value of 0.7355 before feature selection and 0.6736 after feature selection. Also, we predict the stock index trend using a comprehensive factor library and three single factor libraries, respectively. The results show that forecasting stock index directions with a complete factor library is of great importance, which could achieve more stable forecasting results. This study contributes to literature in that it is, to the best of our knowledge, the first to make an extensive evaluation of ensemble learning related methods by constructing a comprehensive factor library and three single factor libraries.

Suggested Citation

  • Xiaolu Wei & Yubo Tian & Na Li & Huanxin Peng, 2024. "Evaluating ensemble learning techniques for stock index trend prediction: a case of China," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 23(3), pages 505-530, September.
  • Handle: RePEc:spr:portec:v:23:y:2024:i:3:d:10.1007_s10258-023-00246-1
    DOI: 10.1007/s10258-023-00246-1
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10258-023-00246-1
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10258-023-00246-1?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Lakonishok, Josef & Shleifer, Andrei & Vishny, Robert W, 1994. "Contrarian Investment, Extrapolation, and Risk," Journal of Finance, American Finance Association, vol. 49(5), pages 1541-1578, December.
    2. Andrew Ang & Geert Bekaert, 2007. "Stock Return Predictability: Is it There?," The Review of Financial Studies, Society for Financial Studies, vol. 20(3), pages 651-707.
    3. Huang, Darien & Kilic, Mete, 2019. "Gold, platinum, and expected stock returns," Journal of Financial Economics, Elsevier, vol. 132(3), pages 50-75.
    4. Fama, Eugene F, 1976. "Efficient Capital Markets: Reply," Journal of Finance, American Finance Association, vol. 31(1), pages 143-145, March.
    5. Haim Levy, 1992. "Stochastic Dominance and Expected Utility: Survey and Analysis," Management Science, INFORMS, vol. 38(4), pages 555-593, April.
    6. Pitkäjärvi, Aleksi & Suominen, Matti & Vaittinen, Lauri, 2020. "Cross-asset signals and time series momentum," Journal of Financial Economics, Elsevier, vol. 136(1), pages 63-85.
    7. Basu, S, 1977. "Investment Performance of Common Stocks in Relation to Their Price-Earnings Ratios: A Test of the Efficient Market Hypothesis," Journal of Finance, American Finance Association, vol. 32(3), pages 663-682, June.
    8. Huiting Zheng & Jiabin Yuan & Long Chen, 2017. "Short-Term Load Forecasting Using EMD-LSTM Neural Networks with a Xgboost Algorithm for Feature Importance Evaluation," Energies, MDPI, vol. 10(8), pages 1-20, August.
    9. Shen, Sheng & Sadoughi, Mohammadkazem & Li, Meng & Wang, Zhengdao & Hu, Chao, 2020. "Deep convolutional neural networks with ensemble learning and transfer learning for capacity estimation of lithium-ion batteries," Applied Energy, Elsevier, vol. 260(C).
    10. Mojtaba Nabipour & Pooyan Nayyeri & Hamed Jabani & Amir Mosavi, 2020. "Deep learning for Stock Market Prediction," Papers 2004.01497, arXiv.org.
    11. Kiss, Tamás & Österholm, Pär, 2020. "Fat tails in leading indicators," Economics Letters, Elsevier, vol. 193(C).
    12. Jonathan Brogaard & Lili Dai & Phong T H Ngo & Bohui Zhang, 2020. "Global Political Uncertainty and Asset Prices," The Review of Financial Studies, Society for Financial Studies, vol. 33(4), pages 1737-1780.
    13. Jonathan Brogaard & Lili Dai & Phong T H Ngo & Bohui Zhang, 2020. "Global Political Uncertainty and Asset Prices," Review of Finance, European Finance Association, vol. 33(4), pages 1737-1780.
    14. Ballings, Michel & Van den Poel, Dirk, 2015. "CRM in social media: Predicting increases in Facebook usage frequency," European Journal of Operational Research, Elsevier, vol. 244(1), pages 248-260.
    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. John Y. Campbell & Tuomo Vuolteenaho, 2004. "Bad Beta, Good Beta," American Economic Review, American Economic Association, vol. 94(5), pages 1249-1275, December.
    2. Koijen, Ralph S.J. & Lustig, Hanno & Van Nieuwerburgh, Stijn, 2017. "The cross-section and time series of stock and bond returns," Journal of Monetary Economics, Elsevier, vol. 88(C), pages 50-69.
    3. Cakici, Nusret & Zaremba, Adam, 2023. "Misery on Main Street, victory on Wall Street: Economic discomfort and the cross-section of global stock returns," Journal of Banking & Finance, Elsevier, vol. 149(C).
    4. Kwame Addae-Dapaah & James Webb & Kim Ho & Yan Tan, 2010. "Industrial Real Estate Investment: Does the Contrarian Strategy Work?," The Journal of Real Estate Finance and Economics, Springer, vol. 41(2), pages 193-227, August.
    5. Polk, Christopher & Thompson, Samuel & Vuolteenaho, Tuomo, 2006. "Cross-sectional forecasts of the equity premium," Journal of Financial Economics, Elsevier, vol. 81(1), pages 101-141, July.
    6. Christopher Polk & Samuel Thompson & Tuomo Vuolteenaho, 2004. "New Forecasts of the Equity Premium," NBER Working Papers 10406, National Bureau of Economic Research, Inc.
    7. Jozef Barunik & Martin Hronec & Ondrej Tobek, 2024. "Predicting the distributions of stock returns around the globe in the era of big data and learning," Papers 2408.07497, arXiv.org.
    8. Wang, He & Yao, Yang & Zhou, Yue, 2022. "Markets price politicians: Evidence from China’s municipal bond markets," Journal of Economics and Business, Elsevier, vol. 122(C).
    9. Eero Pätäri & Timo Leivo, 2017. "A Closer Look At Value Premium: Literature Review And Synthesis," Journal of Economic Surveys, Wiley Blackwell, vol. 31(1), pages 79-168, February.
    10. Luo, Bing, 2019. "Effects of auditor-provided tax services on book-tax differences and on investors' mispricing of book-tax differences," Advances in accounting, Elsevier, vol. 47(C).
    11. António Afonso & José Alves & João Jalles & Sofia Monteiro & João Tovar Jalles, 2024. "Energy Price Dynamics in the Face of Uncertainty Shocks and the Role of Exchange Rate Regimes: A Global Cross-Country Analysis," CESifo Working Paper Series 11384, CESifo.
    12. Paulo Alves, 2013. "The Fama French Model or the Capital Asset Pricing Model: International Evidence," The International Journal of Business and Finance Research, The Institute for Business and Finance Research, vol. 7(2), pages 79-89.
    13. Zura Kakushadze, 2014. "4-Factor Model for Overnight Returns," Papers 1410.5513, arXiv.org, revised Jun 2015.
    14. Fernandez, Pablo, 2004. "Are calculated betas good for anything?," IESE Research Papers D/555, IESE Business School.
    15. La Porta, Rafael, et al, 1997. "Good News for Value Stocks: Further Evidence on Market Efficiency," Journal of Finance, American Finance Association, vol. 52(2), pages 859-874, June.
    16. Connor, Gregory & Linton, Oliver, 2007. "Semiparametric estimation of a characteristic-based factor model of common stock returns," Journal of Empirical Finance, Elsevier, vol. 14(5), pages 694-717, December.
    17. Blackburn, Douglas W. & Cakici, Nusret, 2017. "Overreaction and the cross-section of returns: International evidence," Journal of Empirical Finance, Elsevier, vol. 42(C), pages 1-14.
    18. Guo, Hui, 2006. "Time-varying risk premia and the cross section of stock returns," Journal of Banking & Finance, Elsevier, vol. 30(7), pages 2087-2107, July.
    19. Ying Xiao & Chris Yung, 2015. "Extrapolation Errors in IPOs," Financial Management, Financial Management Association International, vol. 44(4), pages 713-751, October.
    20. Paul Gompers & Joy Ishii & Andrew Metrick, 2003. "Corporate Governance and Equity Prices," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 118(1), pages 107-156.

    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:spr:portec:v:23:y:2024:i:3:d:10.1007_s10258-023-00246-1. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.