Applying metaheuristics and SVMs to forecast stock price crashes in Tehran Stock Exchange

Document Type : Original Article

Authors

1 Department of Financial Management and Insurance, University of Tehran, Tehran, Iran.

2 Department of Financial Management and Insurance, , University of Tehran, Tehran, Iran

Abstract
Sudden and severe stock price crashes pose a significant challenge to stock markets. The substantial losses incurred from such events underscore the need for more effective forecasting tools. This study aims to enhance the predictive power of models for stock price crashes in Tehran Stock Exchange and commenced with a comprehensive literature review to identify key financial factors influencing stock price volatility. Given the high dimensionality of the dataset and the extended time period, metaheuristic algorithms were employed for feature selection. 10 algorithms, namely Ant Colony Optimization, Hill Climbing, Las Vegas, Whale Optimization, Simulated Annealing, Genetic Algorithm, Tabu Search, Particle Swarm Optimization (PSO), Honey Bee (HBA) and Firefly were utilized to reduce dimensionality and enhance model performance. Subsequently, Support Vector Machines were implemented to develop predictive models. The models were trained and evaluated using historical data from Tehran Stock Exchange spanning from 2001 to 2020. The findings of this research demonstrate that combining metaheuristic algorithms for model reduction and optimization, along with advanced machine learning techniques, yields results that can significantly improve investment decision-making.

Keywords


  1. Abdi, Mohamad, Hosseini, & Maqsood (2013). The Effect of Liquidity Management on Reducing the Stock Price Crash Risk. International Research Journal of Applied and Basic Sciences, (6) 333-338.

    Ahmadpour, A., Zare Behnamiri, M. J., & Heidari Rastami, K. (2014). The impact of firm characteristics on the risk of stock price decline (companies listed on the Tehran Stock Exchange). The Securities Market, 7(28), 29-45. (In Persian)

    Chen, Joseph, Hong, Harrison and Stein, Jeremy, (2001), Forecasting crashes: trading volume, past returns, and conditional skewness in stock prices, Journal of Financial Economics, 61, issue 3, p. 345-381.

    Dang, V.A., Lee, E., Liu, Y., & Zeng, C.H. (2016). Does debt maturity affect stock price crash risk? www.ssrn.com.

    Dianati, Z., Moradizadeh, M., & Mahmoodi, S. (2012). The impact of institutional investors on reducing the risk of stock price decline. Investment Knowledge, 1(2), 1-18. (In Persian)

    Eberhart, R.C., & Kennedy, J. (1995). A new optimizer using particle swarm theory. In Proceedings of the 6th international symposium on micro machine and human science, (Nagoya, Japan) (pp. 39–43).

    Gillis, G. (2024). Predictability of firm-level stock crash risk. The American Finance Association Journal, 78(1), 1-25.

    Glover F., Future paths for integer programming and links to artificial intelligence, Computers and Operations Research, 1986, 13, pp. 533–549.

    Haghanifar, A., Shamakhi, H., & Hajji, G. A. (2015). The impact of investment criteria on the future stock price crash risk in the Iranian capital market. International Conference on New Research in Management, Economics, and Accounting. (In Persian)

    Hutton, A.P., Marcus, A.J., Tehranian, H., (2009). Opaque financial reports, R2, and crash risk. Journal of Financial Economics, 94, 67-86.

     

    Karaboga, D. (2005) An Idea Based on Honey Bee Swarm for Numerical Optimization. Technical Report-TR06, Erciyes University, Engineering Faculty, Department of Computer Engineering.

    Kaya, D., Reichmann, D., & Reichmann, M. (2023). Out‐of‐sample predictability of firm‐specific stock price crashes: A machine learning approach. Journal of Business Finance & Accounting.

    Kim, J. B., Zhang, L., 2010. Does accounting conservatism reduce stock price crash risk? Available at: (www.ssrn.com).

    Kirkpatrick, S., Gelatt, Jr., C.D. and Vecchi, M.P. (1983) Optimization by Simulated Annealing. Science, 220, 671- 680.

    László Babai (1979). “Monte-Carlo algorithms in graph isomorphism testing”. Université tde Montréal Technical Report, DMS 79-10, p. 42.

    Luo, Y., & Zhang, C. (2020). Economic Policy Uncertainty and Stock Price Crash Risk. Research in International Business and Finance, 51, 101112.

    McLean, R.D., and J. Pontiff. 2016. Does academic research destroy stock return predictability? The Journal of Finance 71 (1): 5–32.

    1. Dorigo, Optimization, Learning and Natural Algorithms, PhD thesis, Politecnico di Milano, Italy, 1992.

    Mirjalili, S., & Lewis, A. (2016). The Whale Optimization Algorithm. Advances in Engineering Software, 95, 51-67.

    Najafi Kangarloui, N., Jebel Ameli, F. , Mehrara, M. , & Fatehi, M. B. (2024). Probability of stock price crash and the expected return of stock under sanctions. Iranian Journal of Finance, 8(1), 131-145.

    YANG Xin-she. Nature-inspired metaheuristic algorithms[M]. Luniver Press, 2008: 83-96.