IDEAS home Printed from https://ideas.repec.org/p/cer/papers/wp713.html
   My bibliography  Save this paper

Forecasting Realized Volatility Using Machine Learning and Mixed-Frequency Data (the Case of the Russian Stock Market)

Author

Listed:
  • Vladimir Pyrlik
  • Pavel Elizarov
  • Aleksandra Leonova

Abstract

We assess the performance of selected machine learning algorithms (lasso, random forest, gradient boosting, and long short-term memory) in forecasting the daily realized volatility of returns of selected top stocks in the Russian stock market in comparison with a heterogeneous autoregressive realized volatility benchmark in 2018-2020. We seek to improve the predictive power of the models by including various economic indicators that carry information about future volatility. We find that lasso delivers a good combination of easy implementation and forecast precision. The other algorithms require fine-tuning and frequent re-training, otherwise they are likely to fail to outperform the benchmark often enough. Only the basic lagged log-RV values are significant explanatory variables in terms of the benchmark in-sample quality. Many economic indicators of mixed frequencies improve the predictive power of lasso though, including calendar and overnight effects, financial spillovers from local and global markets, and various macroeconomics indicators.

Suggested Citation

  • Vladimir Pyrlik & Pavel Elizarov & Aleksandra Leonova, 2021. "Forecasting Realized Volatility Using Machine Learning and Mixed-Frequency Data (the Case of the Russian Stock Market)," CERGE-EI Working Papers wp713, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
  • Handle: RePEc:cer:papers:wp713
    as

    Download full text from publisher

    File URL: http://www.cerge-ei.cz/pdf/wp/Wp713.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Balli, Faruk & Hajhoj, Hassan Rafdan & Basher, Syed Abul & Ghassan, Hassan Belkacem, 2015. "An analysis of returns and volatility spillovers and their determinants in emerging Asian and Middle Eastern countries," International Review of Economics & Finance, Elsevier, vol. 39(C), pages 311-325.
    2. Heng Chih Chou & Wei Ning Chen & Dar Hsin Chen, 2006. "The Expiration Effects of Stock-Index Derivatives: Empirical Evidence from the Taiwan Futures Exchange," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 42(5), pages 81-102, October.
    3. Luo, Xingguo & Qin, Shihua, 2017. "Oil price uncertainty and Chinese stock returns: New evidence from the oil volatility index," Finance Research Letters, Elsevier, vol. 20(C), pages 29-34.
    4. Shahzad, Hassan & Duong, Huu Nhan & Kalev, Petko S. & Singh, Harminder, 2014. "Trading volume, realized volatility and jumps in the Australian stock market," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 31(C), pages 414-430.
    5. Fang, Tong & Lee, Tae-Hwy & Su, Zhi, 2020. "Predicting the long-term stock market volatility: A GARCH-MIDAS model with variable selection," Journal of Empirical Finance, Elsevier, vol. 58(C), pages 36-49.
    6. Torben G. Andersen & Tim Bollerslev & Francis X. Diebold & Paul Labys, 2003. "Modeling and Forecasting Realized Volatility," Econometrica, Econometric Society, vol. 71(2), pages 579-625, March.
    7. Thampanya, Natthinee & Wu, Junjie & Nasir, Muhammad Ali & Liu, Jia, 2020. "Fundamental and behavioural determinants of stock return volatility in ASEAN-5 countries," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 65(C).
    8. Kang, Wensheng & Ratti, Ronald A. & Yoon, Kyung Hwan, 2015. "The impact of oil price shocks on the stock market return and volatility relationship," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 34(C), pages 41-54.
    9. Paye, Bradley S., 2012. "‘Déjà vol’: Predictive regressions for aggregate stock market volatility using macroeconomic variables," Journal of Financial Economics, Elsevier, vol. 106(3), pages 527-546.
    10. Andersen, Torben G & Bollerslev, Tim, 1997. "Heterogeneous Information Arrivals and Return Volatility Dynamics: Uncovering the Long-Run in High Frequency Returns," Journal of Finance, American Finance Association, vol. 52(3), pages 975-1005, July.
    11. Chen, Yufeng & Li, Wenqi & Qu, Fang, 2019. "Dynamic asymmetric spillovers and volatility interdependence on China’s stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 523(C), pages 825-838.
    12. Nonejad, Nima, 2017. "Forecasting aggregate stock market volatility using financial and macroeconomic predictors: Which models forecast best, when and why?," Journal of Empirical Finance, Elsevier, vol. 42(C), pages 131-154.
    13. Díaz-Mendoza, Ana-Carmen & Pardo, Angel, 2020. "Holidays, weekends and range-based volatility," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    14. Audrino, Francesco & Sigrist, Fabio & Ballinari, Daniele, 2020. "The impact of sentiment and attention measures on stock market volatility," International Journal of Forecasting, Elsevier, vol. 36(2), pages 334-357.
    15. T. Bazhenov & D. Fantazzini, 2019. "Forecasting Realized Volatility of Russian stocks using Google Trends and Implied Volatility," Russian Journal of Industrial Economics, MISIS, vol. 12(1).
    16. Caihong Xu, 2014. "Expiration‐Day Effects of Stock and Index Futures and Options in Sweden: The Return of the Witches," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 34(9), pages 868-882, September.
    17. Yaw-Huei Wang & Yu-Jen Hsiao, 2010. "The Impact of Non-trading Periods on the Measurement of Volatility," Review of Pacific Basin Financial Markets and Policies (RPBFMP), World Scientific Publishing Co. Pte. Ltd., vol. 13(04), pages 607-620.
    18. Charlotte Christiansen & Maik Schmeling & Andreas Schrimpf, 2012. "A comprehensive look at financial volatility prediction by economic variables," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(6), pages 956-977, September.
    19. Hammoudeh, Shawkat M. & Yuan, Yuan & McAleer, Michael, 2009. "Shock and volatility spillovers among equity sectors of the Gulf Arab stock markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 49(3), pages 829-842, August.
    20. Będowska-Sójka, Barbara & Kliber, Agata, 2019. "The causality between liquidity and volatility in the Polish stock market," Finance Research Letters, Elsevier, vol. 30(C), pages 110-115.
    21. Wongbangpo, Praphan & Sharma, Subhash C., 2002. "Stock market and macroeconomic fundamental dynamic interactions: ASEAN-5 countries," Journal of Asian Economics, Elsevier, vol. 13(1), pages 27-51.
    22. Fantazzini, Dean & Shangina, Tamara, 2019. "The importance of being informed: forecasting market risk measures for the Russian RTS index future using online data and implied volatility over two decades," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 55, pages 5-31.
    23. Todorova, Neda & Souček, Michael, 2014. "The impact of trading volume, number of trades and overnight returns on forecasting the daily realized range," Economic Modelling, Elsevier, vol. 36(C), pages 332-340.
    24. Fulvio Corsi, 2009. "A Simple Approximate Long-Memory Model of Realized Volatility," Journal of Financial Econometrics, Oxford University Press, vol. 7(2), pages 174-196, Spring.
    25. Wang, Xunxiao & Wu, Chongfeng & Xu, Weidong, 2015. "Volatility forecasting: The role of lunch-break returns, overnight returns, trading volume and leverage effects," International Journal of Forecasting, Elsevier, vol. 31(3), pages 609-619.
    26. Nagapetyan, Artur, 2019. "Precondition stock and stock indices volatility modeling based on market diversification potential: Evidence from Russian market," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 56, pages 45-61.
    27. Andersen, Torben G & Bollerslev, Tim, 1998. "Answering the Skeptics: Yes, Standard Volatility Models Do Provide Accurate Forecasts," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 885-905, November.
    28. Zhu, Xuehong & Zhang, Hongwei & Zhong, Meirui, 2017. "Volatility forecasting using high frequency data: The role of after-hours information and leverage effects," Resources Policy, Elsevier, vol. 54(C), pages 58-70.
    29. Aganin, Artem, 2017. "Forecast comparison of volatility models on Russian stock market," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 48, pages 63-84.
    30. Parisi, Antonino & Parisi, Franco & Díaz, David, 2008. "Forecasting gold price changes: Rolling and recursive neural network models," Journal of Multinational Financial Management, Elsevier, vol. 18(5), pages 477-487, December.
    31. Xu, Yanyan & Huang, Dengshi & Ma, Feng & Qiao, Gaoxiu, 2019. "Liquidity and realized range-based volatility forecasting: Evidence from China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 525(C), pages 1102-1113.
    32. Hamid, Shaikh A. & Iqbal, Zahid, 2004. "Using neural networks for forecasting volatility of S&P 500 Index futures prices," Journal of Business Research, Elsevier, vol. 57(10), pages 1116-1125, October.
    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. Bucci, Andrea & Palomba, Giulio & Rossi, Eduardo, 2023. "The role of uncertainty in forecasting volatility comovements across stock markets," Economic Modelling, Elsevier, vol. 125(C).
    2. Andersen, Torben G. & Varneskov, Rasmus T., 2021. "Consistent inference for predictive regressions in persistent economic systems," Journal of Econometrics, Elsevier, vol. 224(1), pages 215-244.
    3. Ma, Feng & Liu, Jing & Wahab, M.I.M. & Zhang, Yaojie, 2018. "Forecasting the aggregate oil price volatility in a data-rich environment," Economic Modelling, Elsevier, vol. 72(C), pages 320-332.
    4. Gkillas Konstantinos & Gupta Rangan & Vortelinos Dimitrios I., 2023. "Uncertainty and realized jumps in the pound-dollar exchange rate: evidence from over one century of data," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 27(1), pages 25-47, February.
    5. Torben G. Andersen & Rasmus T. Varneskov, 2018. "Consistent Inference for Predictive Regressions in Persistent VAR Economies," CREATES Research Papers 2018-09, Department of Economics and Business Economics, Aarhus University.
    6. Jayawardena, Nirodha I. & Todorova, Neda & Li, Bin & Su, Jen-Je, 2020. "Volatility forecasting using related markets’ information for the Tokyo stock exchange," Economic Modelling, Elsevier, vol. 90(C), pages 143-158.
    7. Bruno Deschamps & Tianlun Fei & Ying Jiang & Xiaoquan Liu, 2022. "Procyclical volatility in Chinese stock markets," Review of Quantitative Finance and Accounting, Springer, vol. 58(3), pages 1117-1144, April.
    8. Zhang, Zhikai & He, Mengxi & Zhang, Yaojie & Wang, Yudong, 2021. "Realized skewness and the short-term predictability for aggregate stock market volatility," Economic Modelling, Elsevier, vol. 103(C).
    9. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Documents de travail du Centre d'Economie de la Sorbonne 17006, Université Panthéon-Sorbonne (Paris 1), Centre d'Economie de la Sorbonne.
    10. Wang, Ping & Han, Wei & Huang, Chengcheng & Duong, Duy, 2022. "Forecasting realised volatility from search volume and overnight sentiment: Evidence from China," Research in International Business and Finance, Elsevier, vol. 62(C).
    11. Ma, Feng & Wang, Jiqian & Wahab, M.I.M. & Ma, Yuanhui, 2023. "Stock market volatility predictability in a data-rich world: A new insight," International Journal of Forecasting, Elsevier, vol. 39(4), pages 1804-1819.
    12. Díaz, Juan D. & Hansen, Erwin & Cabrera, Gabriel, 2024. "Machine-learning stock market volatility: Predictability, drivers, and economic value," International Review of Financial Analysis, Elsevier, vol. 94(C).
    13. Audrino, Francesco & Sigrist, Fabio & Ballinari, Daniele, 2020. "The impact of sentiment and attention measures on stock market volatility," International Journal of Forecasting, Elsevier, vol. 36(2), pages 334-357.
    14. Wang, Yudong & Wei, Yu & Wu, Chongfeng & Yin, Libo, 2018. "Oil and the short-term predictability of stock return volatility," Journal of Empirical Finance, Elsevier, vol. 47(C), pages 90-104.
    15. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.
    16. Zhu, Haibin & Bai, Lu & He, Lidan & Liu, Zhi, 2023. "Forecasting realized volatility with machine learning: Panel data perspective," Journal of Empirical Finance, Elsevier, vol. 73(C), pages 251-271.
    17. Yang, Cai & Gong, Xu & Zhang, Hongwei, 2019. "Volatility forecasting of crude oil futures: The role of investor sentiment and leverage effect," Resources Policy, Elsevier, vol. 61(C), pages 548-563.
    18. Liu, Yuanyuan & Niu, Zibo & Suleman, Muhammad Tahir & Yin, Libo & Zhang, Hongwei, 2022. "Forecasting the volatility of crude oil futures: The role of oil investor attention and its regime switching characteristics under a high-frequency framework," Energy, Elsevier, vol. 238(PA).
    19. Andersen, Torben G. & Bollerslev, Tim & Christoffersen, Peter F. & Diebold, Francis X., 2013. "Financial Risk Measurement for Financial Risk Management," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, volume 2, chapter 0, pages 1127-1220, Elsevier.
    20. Niu, Zibo & Liu, Yuanyuan & Gao, Wang & Zhang, Hongwei, 2021. "The role of coronavirus news in the volatility forecasting of crude oil futures markets: Evidence from China," Resources Policy, Elsevier, vol. 73(C).

    More about this item

    Keywords

    heterogeneous autoregressive model; machine learning; lasso; gradient boosting; random forest; long short-term memory; realized volatility; Russian stock market; mixed-frequency data;
    All these keywords.

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:cer:papers:wp713. 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: Lucie Vasiljevova (email available below). General contact details of provider: https://edirc.repec.org/data/eiacacz.html .

    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.