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. Giacomini, Raffaella & White, Halbert, 2003. "Tests of Conditional Predictive Ability," University of California at San Diego, Economics Working Paper Series qt5jk0j5jh, Department of Economics, UC San Diego.
    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. Raffaella Giacomini & Halbert White, 2006. "Tests of Conditional Predictive Ability," Econometrica, Econometric Society, vol. 74(6), pages 1545-1578, November.
    12. 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.
    13. 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.
    14. 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.
    15. 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)

    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. Hassanniakalager, Arman & Sermpinis, Georgios & Stasinakis, Charalampos, 2021. "Trading the foreign exchange market with technical analysis and Bayesian Statistics," Journal of Empirical Finance, Elsevier, vol. 63(C), pages 230-251.
    10. 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).
    11. João C. Claudio & Katja Heinisch & Oliver Holtemöller, 2020. "Nowcasting East German GDP growth: a MIDAS approach," Empirical Economics, Springer, vol. 58(1), pages 29-54, January.
    12. Xilong Chen & Eric Ghysels, 2011. "News--Good or Bad--and Its Impact on Volatility Predictions over Multiple Horizons," The Review of Financial Studies, Society for Financial Studies, vol. 24(1), pages 46-81, October.
    13. Carlos Medel, 2017. "Forecasting Chilean inflation with the hybrid new keynesian Phillips curve: globalisation, combination, and accuracy," Journal Economía Chilena (The Chilean Economy), Central Bank of Chile, vol. 20(3), pages 004-050, December.
    14. Cavit Pakel & Neil Shephard & Kevin Sheppard & Robert F. Engle, 2021. "Fitting Vast Dimensional Time-Varying Covariance Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(3), pages 652-668, July.
    15. Takahashi, Makoto & Watanabe, Toshiaki & Omori, Yasuhiro, 2016. "Volatility and quantile forecasts by realized stochastic volatility models with generalized hyperbolic distribution," International Journal of Forecasting, Elsevier, vol. 32(2), pages 437-457.
    16. Seok, Sang Ik & Cho, Hoon & Ryu, Doojin, 2020. "The information content of funds from operations and net income in real estate investment trusts," The North American Journal of Economics and Finance, Elsevier, vol. 51(C).
    17. Cavit Pakel & Neil Shephard & Kevin Sheppard, 2009. "Nuisance parameters, composite likelihoods and a panel of GARCH models," OFRC Working Papers Series 2009fe03, Oxford Financial Research Centre.
    18. Martinez-Martin Jaime & Morris Richard & Onorante Luca & Piersanti Fabio Massimo, 2024. "Merging Structural and Reduced-Form Models for Forecasting," The B.E. Journal of Macroeconomics, De Gruyter, vol. 24(1), pages 399-437, January.
    19. Rangan Gupta & Alain Kabundi & Stephen Miller & Josine Uwilingiye, 2014. "Using large data sets to forecast sectoral employment," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 23(2), pages 229-264, June.
    20. Dimitrakopoulos, Stefanos & Tsionas, Mike, 2019. "Ordinal-response GARCH models for transaction data: A forecasting exercise," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1273-1287.

    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.