IDEAS home Printed from https://ideas.repec.org/a/eee/reveco/v84y2023icp507-526.html
   My bibliography  Save this article

Binary gravity search algorithm and support vector machine for forecasting and trading stock indices

Author

Listed:
  • Kang, Haijun
  • Zong, Xiangyu
  • Wang, Jianyong
  • Chen, Haonan

Abstract

A hybrid Support Vector Machine (SVM) model is proposed and applied to the task of forecasting the daily returns of five popular stock indices in the world, including the S&P500, NKY, CAC, FTSE100 and DAX. The originality of this work is that the Binary Gravity Search Algorithm (BGSA) is utilized, in order to optimize the parameters and inputs of SVM. The results show that the forecasts made by this model are significantly better than the Random Walk (RW), SVM, best predictors and Buy-and-Hold. The average accuracy of BGSA-SVM for five stock indices is 52.87%. In general, this study proves that a profitable trading strategy based on BGSA-SVM prediction can be realized in a real stock market.

Suggested Citation

  • Kang, Haijun & Zong, Xiangyu & Wang, Jianyong & Chen, Haonan, 2023. "Binary gravity search algorithm and support vector machine for forecasting and trading stock indices," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 507-526.
  • Handle: RePEc:eee:reveco:v:84:y:2023:i:c:p:507-526
    DOI: 10.1016/j.iref.2022.11.009
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1059056022002775
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.iref.2022.11.009?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. Christian L Dunis & Spiros D Likothanassis & Andreas S Karathanasopoulos & Georgios S Sermpinis & Konstantinos A Theofilatos, 2013. "A hybrid genetic algorithm–support vector machine approach in the task of forecasting and trading," Journal of Asset Management, Palgrave Macmillan, vol. 14(1), pages 52-71, February.
    2. Kong, Dongmin & Pan, Yue & Tian, Gary Gang & Zhang, Pengdong, 2020. "CEOs' hometown connections and access to trade credit: Evidence from China," Journal of Corporate Finance, Elsevier, vol. 62(C).
    3. Fernandez-Rodriguez, Fernando & Gonzalez-Martel, Christian & Sosvilla-Rivero, Simon, 2000. "On the profitability of technical trading rules based on artificial neural networks:: Evidence from the Madrid stock market," Economics Letters, Elsevier, vol. 69(1), pages 89-94, October.
    4. Lin, Nan & Liu, Chengyi & Chen, Sicen & Pan, Jianping & Zhang, Pengdong, 2022. "The monitoring role of venture capital on controllers' tunneling: Evidence from China," International Review of Financial Analysis, Elsevier, vol. 82(C).
    5. Yan Li & Lian Luo & Chao Liang & Feng Ma, 2020. "The role of model bias in predicting volatility: evidence from the US equity markets," China Finance Review International, Emerald Group Publishing Limited, vol. 13(1), pages 140-155, October.
    6. Teo Jasic & Douglas Wood, 2004. "The profitability of daily stock market indices trades based on neural network predictions: case study for the S&P 500, the DAX, the TOPIX and the FTSE in the period 1965-1999," Applied Financial Economics, Taylor & Francis Journals, vol. 14(4), pages 285-297.
    7. Qiaoqi Lang & Jiqian Wang & Feng Ma & Dengshi Huang & Mohamed Wahab Mohamed Ismail, 2021. "Is Baidu index really powerful to predict the Chinese stock market volatility? New evidence from the internet information," China Finance Review International, Emerald Group Publishing Limited, vol. 13(2), pages 263-284, July.
    8. Raffaella Giacomini & Halbert White, 2006. "Tests of Conditional Predictive Ability," Econometrica, Econometric Society, vol. 74(6), pages 1545-1578, November.
    9. Andrew B. Jackson, 2021. "Financial statement analysis: a review and current issues," China Finance Review International, Emerald Group Publishing Limited, vol. 12(1), pages 1-19, December.
    10. Sermpinis, Georgios & Stasinakis, Charalampos & Hassanniakalager, Arman, 2017. "Reverse adaptive krill herd locally weighted support vector regression for forecasting and trading exchange traded funds," European Journal of Operational Research, Elsevier, vol. 263(2), pages 540-558.
    11. Dejun Xie & Yu Cui & Yujian Liu, 2021. "How does investor sentiment impact stock volatility? New evidence from Shanghai A-shares market," China Finance Review International, Emerald Group Publishing Limited, vol. 13(1), pages 102-120, May.
    12. Ghulam Abbas & Shouyang Wang, 2020. "Does macroeconomic uncertainty really matter in predicting stock market behavior? A comparative study on China and USA," China Finance Review International, Emerald Group Publishing Limited, vol. 10(4), pages 393-427, May.
    13. Georgios Sermpinis & Thanos Verousis & Konstantinos Theofilatos, 2016. "Adaptive Evolutionary Neural Networks for Forecasting and Trading without a Data‐Snooping Bias," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 35(1), pages 1-12, January.
    14. Sicen Chen & Shuping Lin & Jinli Xiao & Pengdong Zhang, 2022. "Do managers learn from stock prices in emerging markets? Evidence from China," The European Journal of Finance, Taylor & Francis Journals, vol. 28(4-5), pages 377-396, March.
    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. Guo, Minjia & Liu, Jianhe & Luo, Ziping & Han, Xiao, 2024. "Deep reinforcement learning for pairs trading: Evidence from China black series futures," International Review of Economics & Finance, Elsevier, vol. 93(PB), pages 981-993.

    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. Guo, Xiaozhu & Huang, Dengshi & Li, Xiafei & Liang, Chao, 2023. "Are categorical EPU indices predictable for carbon futures volatility? Evidence from the machine learning method," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 672-693.
    2. Chen, Zhonglu & Zhang, Li & Weng, Chen, 2023. "Does climate policy uncertainty affect Chinese stock market volatility?," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 369-381.
    3. Pan, Di & Chen, Wenchuan & Zhang, Jinjin & Fang, Hongrui, 2023. "Government accounting supervision and excessive perk consumption of executives: Evidence from China," Finance Research Letters, Elsevier, vol. 57(C).
    4. Lin, Xiaowei & Ding, Zijun & Chen, Aihua & Shi, Huaizhi, 2022. "Internal whistleblowing and stock price crash risk," International Review of Financial Analysis, Elsevier, vol. 84(C).
    5. Liu, Jing & Chen, Zhonglu, 2023. "How do stock prices respond to the leading economic indicators? Analysis of large and small shocks," Finance Research Letters, Elsevier, vol. 51(C).
    6. Huang, Dayan & Kou, Aiju & Liu, Chengyi & Liu, Shanmin, 2023. "The effect of PWS arrangements on M&A activities," Finance Research Letters, Elsevier, vol. 52(C).
    7. Zhang, Jinjin & Chen, Huili & Zhang, Pengdong & Jiang, Min, 2022. "Product market competition and the value of corporate cash: An agency theory explanation," International Review of Financial Analysis, Elsevier, vol. 84(C).
    8. Zhang, Mengtao & Li, Wenwen & Luo, Yalin & Chen, Wenchuan, 2023. "Government audit supervision, financialization, and executives' excess perks: Evidence from Chinese state-owned enterprises," International Review of Financial Analysis, Elsevier, vol. 89(C).
    9. Zhang, Mengtao & Chen, Wenchuan & Kou, Aidi & Wu, Yanjun, 2023. "Promotion incentives, tenure uncertainty, and local government debt risk," Finance Research Letters, Elsevier, vol. 56(C).
    10. Zhao, Lei & Li, Na & Wu, Yanjun, 2023. "Institutional investors' site visits, information asymmetry, and investment efficiency," International Review of Financial Analysis, Elsevier, vol. 88(C).
    11. Duygu Ider & Stefan Lessmann, 2022. "Forecasting Cryptocurrency Returns from Sentiment Signals: An Analysis of BERT Classifiers and Weak Supervision," Papers 2204.05781, arXiv.org, revised Mar 2023.
    12. Ozgur Ican & Taha Bugra Celik, 2017. "Stock Market Prediction Performance of Neural Networks: A Literature Review," International Journal of Economics and Finance, Canadian Center of Science and Education, vol. 9(11), pages 100-108, November.
    13. Lin, Xiaowei & Wang, Jianyong & Zhang, Lingli & Chen, Ying, 2023. "Real effect of bond yield liberalization on corporate investment," Finance Research Letters, Elsevier, vol. 52(C).
    14. Lin, Xiaowei & Li, Ao & Zhang, Pengdong & Chen, Wenchuan, 2023. "The disciplinary role of product market competition on cash holding," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 653-671.
    15. Stelios D. Bekiros, 2013. "Irrational fads, short‐term memory emulation, and asset predictability," Review of Financial Economics, John Wiley & Sons, vol. 22(4), pages 213-219, November.
    16. Zhang, Jinjin & Wu, Jinyu & Luo, Yalin & Huang, Ziyan & He, Ruzhen, 2022. "COVID-19 pandemic, limited attention, and analyst forecast dispersion," Finance Research Letters, Elsevier, vol. 50(C).
    17. Shen, Lihua & Lu, Xinjie & Luu Duc Huynh, Toan & Liang, Chao, 2023. "Air quality index and the Chinese stock market volatility: Evidence from both market and sector indices," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 224-239.
    18. Liu, Na & Chen, Wenchuan & Wang, Jianyong & Shi, Huaizhi, 2023. "Typhoon strikes, distracted analyst and forecast accuracy: Evidence from China," Finance Research Letters, Elsevier, vol. 51(C).
    19. Lin, Nan & Li, Ao & Ke, Jinjun & Yuan, Jiayue & Chen, Han, 2023. "The governance role of corporate party organization on innovation," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 657-670.
    20. Bekiros, Stelios D., 2010. "Heterogeneous trading strategies with adaptive fuzzy Actor-Critic reinforcement learning: A behavioral approach," Journal of Economic Dynamics and Control, Elsevier, vol. 34(6), pages 1153-1170, June.

    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:eee:reveco:v:84:y:2023:i:c:p:507-526. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620165 .

    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.