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

Volatility forecasting with machine learning and intraday commonality

Author

Listed:
  • Chao Zhang
  • Yihuang Zhang
  • Mihai Cucuringu
  • Zhongmin Qian

Abstract

We apply machine learning models to forecast intraday realized volatility (RV), by exploiting commonality in intraday volatility via pooling stock data together, and by incorporating a proxy for the market volatility. Neural networks dominate linear regressions and tree-based models in terms of performance, due to their ability to uncover and model complex latent interactions among variables. Our findings remain robust when we apply trained models to new stocks that have not been included in the training set, thus providing new empirical evidence for a universal volatility mechanism among stocks. Finally, we propose a new approach to forecasting one-day-ahead RVs using past intraday RVs as predictors, and highlight interesting time-of-day effects that aid the forecasting mechanism. The results demonstrate that the proposed methodology yields superior out-of-sample forecasts over a strong set of traditional baselines that only rely on past daily RVs.

Suggested Citation

  • Chao Zhang & Yihuang Zhang & Mihai Cucuringu & Zhongmin Qian, 2022. "Volatility forecasting with machine learning and intraday commonality," Papers 2202.08962, arXiv.org, revised Feb 2023.
  • Handle: RePEc:arx:papers:2202.08962
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2202.08962
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Andrea Bucci, 2020. "Realized Volatility Forecasting with Neural Networks," Journal of Financial Econometrics, Oxford University Press, vol. 18(3), pages 502-531.
    2. Marwan Izzeldin & M. Kabir Hassan & Vasileios Pappas & Mike Tsionas, 2019. "Forecasting realised volatility using ARFIMA and HAR models," Quantitative Finance, Taylor & Francis Journals, vol. 19(10), pages 1627-1638, October.
    3. Bollen, Bernard & Inder, Brett, 2002. "Estimating daily volatility in financial markets utilizing intraday data," Journal of Empirical Finance, Elsevier, vol. 9(5), pages 551-562, December.
    4. Calvet, Laurent E. & Fisher, Adlai J. & Thompson, Samuel B., 2006. "Volatility comovement: a multifrequency approach," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 179-215.
    5. Asger Lunde & Peter R. Hansen, 2005. "A forecast comparison of volatility models: does anything beat a GARCH(1,1)?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(7), pages 873-889.
    6. Francis X. Diebold, 2015. "Comparing Predictive Accuracy, Twenty Years Later: A Personal Perspective on the Use and Abuse of Diebold-Mariano Tests," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(1), pages 1-1, January.
    7. Herskovic, Bernard & Kelly, Bryan & Lustig, Hanno & Van Nieuwerburgh, Stijn, 2016. "The common factor in idiosyncratic volatility: Quantitative asset pricing implications," Journal of Financial Economics, Elsevier, vol. 119(2), pages 249-283.
    8. 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.
    9. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    10. Tim Bollerslev & Benjamin Hood & John Huss & Lasse Heje Pedersen, 2018. "Risk Everywhere: Modeling and Managing Volatility," The Review of Financial Studies, Society for Financial Studies, vol. 31(7), pages 2729-2773.
    11. Allaudeen Hameed & Wenjin Kang & S. Viswanathan, 2010. "Stock Market Declines and Liquidity," Journal of Finance, American Finance Association, vol. 65(1), pages 257-293, February.
    12. Ole E. Barndorff‐Nielsen & Neil Shephard, 2002. "Econometric analysis of realized volatility and its use in estimating stochastic volatility models," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 64(2), pages 253-280, May.
    13. Andersen, Torben G. & Bollerslev, Tim & Christoffersen, Peter F. & Diebold, Francis X., 2006. "Volatility and Correlation Forecasting," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 1, chapter 15, pages 777-878, Elsevier.
    14. Carroll, Christopher D & Fuhrer, Jeffrey C & Wilcox, David W, 1994. "Does Consumer Sentiment Forecast Household Spending? If So, Why?," American Economic Review, American Economic Association, vol. 84(5), pages 1397-1408, December.
    15. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    16. Bollerslev, Tim & Patton, Andrew J. & Quaedvlieg, Rogier, 2016. "Exploiting the errors: A simple approach for improved volatility forecasting," Journal of Econometrics, Elsevier, vol. 192(1), pages 1-18.
    17. Kim Christensen & Mathias Siggaard & Bezirgen Veliyev, 2023. "A Machine Learning Approach to Volatility Forecasting," Journal of Financial Econometrics, Oxford University Press, vol. 21(5), pages 1680-1727.
    18. Shleifer, Andrei & Summers, Lawrence H, 1990. "The Noise Trader Approach to Finance," Journal of Economic Perspectives, American Economic Association, vol. 4(2), pages 19-33, Spring.
    19. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    20. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    21. Karolyi, G. Andrew & Lee, Kuan-Hui & van Dijk, Mathijs A., 2012. "Understanding commonality in liquidity around the world," Journal of Financial Economics, Elsevier, vol. 105(1), pages 82-112.
    22. Robert F. Engle & Magdalena E. Sokalska, 0. "Forecasting intraday volatility in the US equity market. Multiplicative component GARCH," Journal of Financial Econometrics, Oxford University Press, vol. 10(1), pages 54-83.
    23. Bernard Herskovic & Bryan Kelly & Hanno Lustig & Stijn Van Nieuwerburgh, 2020. "Firm Volatility in Granular Networks," Journal of Political Economy, University of Chicago Press, vol. 128(11), pages 4097-4162.
    24. Andersen, Torben G. & Bollerslev, Tim & Diebold, Francis X. & Ebens, Heiko, 2001. "The distribution of realized stock return volatility," Journal of Financial Economics, Elsevier, vol. 61(1), pages 43-76, July.
    25. Chordia, Tarun & Roll, Richard & Subrahmanyam, Avanidhar, 2000. "Commonality in liquidity," Journal of Financial Economics, Elsevier, vol. 56(1), pages 3-28, April.
    26. Liu, Lily Y. & Patton, Andrew J. & Sheppard, Kevin, 2015. "Does anything beat 5-minute RV? A comparison of realized measures across multiple asset classes," Journal of Econometrics, Elsevier, vol. 187(1), pages 293-311.
    27. Zhi Da & Joseph Engelberg & Pengjie Gao, 2015. "Editor's Choice The Sum of All FEARS Investor Sentiment and Asset Prices," The Review of Financial Studies, Society for Financial Studies, vol. 28(1), pages 1-32.
    28. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    29. Apaar Sadhwani & Kay Giesecke & Justin Sirignano, 2021. "Deep Learning for Mortgage Risk [The Subprime Virus]," Journal of Financial Econometrics, Oxford University Press, vol. 19(2), pages 313-368.
    30. Leonid Kogan & Stephen A. Ross & Jiang Wang & Mark M. Westerfield, 2006. "The Price Impact and Survival of Irrational Traders," Journal of Finance, American Finance Association, vol. 61(1), pages 195-229, February.
    31. Taylor, Stephen J. & Xu, Xinzhong, 1997. "The incremental volatility information in one million foreign exchange quotations," Journal of Empirical Finance, Elsevier, vol. 4(4), pages 317-340, December.
    32. Patton, Andrew J., 2011. "Volatility forecast comparison using imperfect volatility proxies," Journal of Econometrics, Elsevier, vol. 160(1), pages 246-256, January.
    33. Dang, Tung Lam & Moshirian, Fariborz & Zhang, Bohui, 2015. "Commonality in news around the world," Journal of Financial Economics, Elsevier, vol. 116(1), pages 82-110.
    34. Ole E. Barndorff-Nielsen & Silja Kinnebrock & Neil Shephard, 2008. "Measuring downside risk-realised semivariance," Economics Papers 2008-W02, Economics Group, Nuffield College, University of Oxford.
    35. Zhi Da & Joseph Engelberg & Pengjie Gao, 2011. "In Search of Attention," Journal of Finance, American Finance Association, vol. 66(5), pages 1461-1499, October.
    36. Justin Sirignano & Rama Cont, 2019. "Universal features of price formation in financial markets: perspectives from deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1449-1459, September.
    37. Malcolm Baker & Jeffrey Wurgler, 2007. "Investor Sentiment in the Stock Market," Journal of Economic Perspectives, American Economic Association, vol. 21(2), pages 129-152, Spring.
    38. Andersen, Torben G. & Bollerslev, Tim, 1997. "Intraday periodicity and volatility persistence in financial markets," Journal of Empirical Finance, Elsevier, vol. 4(2-3), pages 115-158, June.
    39. De Long, J Bradford & Andrei Shleifer & Lawrence H. Summers & Robert J. Waldmann, 1990. "Noise Trader Risk in Financial Markets," Journal of Political Economy, University of Chicago Press, vol. 98(4), pages 703-738, August.
    40. 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.
    41. Jun Wei & Tao Ye & Zhe Zhang & Abd E.I.-Baset Hassanien, 2021. "A Machine Learning Approach to Evaluate the Performance of Rural Bank," Complexity, Hindawi, vol. 2021, pages 1-10, January.
    42. Hansen, Peter R. & Lunde, Asger, 2006. "Realized Variance and Market Microstructure Noise," Journal of Business & Economic Statistics, American Statistical Association, vol. 24, pages 127-161, April.
    43. Neil Shephard & Silja Kinnebrock & Ole E. Barndorff-Neilsen, 2008. "Measuring downside risk - realised semivariance," Economics Series Working Papers 382, University of Oxford, Department of Economics.
    44. Harris, Lawrence, 1986. "A transaction data study of weekly and intradaily patterns in stock returns," Journal of Financial Economics, Elsevier, vol. 16(1), pages 99-117, May.
    45. Michael Lemmon & Evgenia Portniaguina, 2006. "Consumer Confidence and Asset Prices: Some Empirical Evidence," The Review of Financial Studies, Society for Financial Studies, vol. 19(4), pages 1499-1529.
    46. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    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. Alessio Brini & Giacomo Toscano, 2024. "SpotV2Net: Multivariate Intraday Spot Volatility Forecasting via Vol-of-Vol-Informed Graph Attention Networks," Papers 2401.06249, arXiv.org, revised Aug 2024.
    2. Chao Zhang & Xingyue Pu & Mihai Cucuringu & Xiaowen Dong, 2023. "Graph Neural Networks for Forecasting Multivariate Realized Volatility with Spillover Effects," Papers 2308.01419, arXiv.org.
    3. Francesco Audrino & Jonathan Chassot, 2024. "HARd to Beat: The Overlooked Impact of Rolling Windows in the Era of Machine Learning," Papers 2406.08041, arXiv.org.

    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. 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.
    2. Papantonis, Ioannis & Rompolis, Leonidas & Tzavalis, Elias, 2023. "Improving variance forecasts: The role of Realized Variance features," International Journal of Forecasting, Elsevier, vol. 39(3), pages 1221-1237.
    3. Zhang, Hongwei & Zhao, Xinyi & Gao, Wang & Niu, Zibo, 2023. "The role of higher moments in predicting China's oil futures volatility: Evidence from machine learning models," Journal of Commodity Markets, Elsevier, vol. 32(C).
    4. Alizadeh, Amir H. & Huang, Chih-Yueh & Marsh, Ian W., 2021. "Modelling the volatility of TOCOM energy futures: A regime switching realised volatility approach," Energy Economics, Elsevier, vol. 93(C).
    5. Bollerslev, Tim & Medeiros, Marcelo C. & Patton, Andrew J. & Quaedvlieg, Rogier, 2022. "From zero to hero: Realized partial (co)variances," Journal of Econometrics, Elsevier, vol. 231(2), pages 348-360.
    6. Junjie Hu & Wolfgang Karl Hardle & Weiyu Kuo, 2019. "Risk of Bitcoin Market: Volatility, Jumps, and Forecasts," Papers 1912.05228, arXiv.org, revised Dec 2021.
    7. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2020. "The contribution of intraday jumps to forecasting the density of returns," Post-Print halshs-02505861, HAL.
    8. Tim Bollerslev & Benjamin Hood & John Huss & Lasse Heje Pedersen, 2018. "Risk Everywhere: Modeling and Managing Volatility," The Review of Financial Studies, Society for Financial Studies, vol. 31(7), pages 2729-2773.
    9. Kim Christensen & Mathias Siggaard & Bezirgen Veliyev, 2023. "A Machine Learning Approach to Volatility Forecasting," Journal of Financial Econometrics, Oxford University Press, vol. 21(5), pages 1680-1727.
    10. Bu, Ruijun & Hizmeri, Rodrigo & Izzeldin, Marwan & Murphy, Anthony & Tsionas, Mike, 2023. "The contribution of jump signs and activity to forecasting stock price volatility," Journal of Empirical Finance, Elsevier, vol. 70(C), pages 144-164.
    11. Chorro, Christophe & Ielpo, Florian & Sévi, Benoît, 2020. "The contribution of intraday jumps to forecasting the density of returns," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    12. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2020. "The contribution of intraday jumps to forecasting the density of returns," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-02505861, HAL.
    13. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.
    14. Sévi, Benoît, 2014. "Forecasting the volatility of crude oil futures using intraday data," European Journal of Operational Research, Elsevier, vol. 235(3), pages 643-659.
    15. Nikitopoulos, Christina Sklibosios & Thomas, Alice Carole & Wang, Jianxin, 2023. "The economic impact of daily volatility persistence on energy markets," Journal of Commodity Markets, Elsevier, vol. 30(C).
    16. Chao Zhang & Xingyue Pu & Mihai Cucuringu & Xiaowen Dong, 2023. "Graph Neural Networks for Forecasting Multivariate Realized Volatility with Spillover Effects," Papers 2308.01419, arXiv.org.
    17. Li, Zhao-Chen & Xie, Chi & Wang, Gang-Jin & Zhu, You & Zeng, Zhi-Jian & Gong, Jue, 2024. "Forecasting global stock market volatilities: A shrinkage heterogeneous autoregressive (HAR) model with a large cross-market predictor set," International Review of Economics & Finance, Elsevier, vol. 93(PB), pages 673-711.
    18. Francesco Audrino & Jonathan Chassot, 2024. "HARd to Beat: The Overlooked Impact of Rolling Windows in the Era of Machine Learning," Papers 2406.08041, arXiv.org.
    19. Patton, Andrew J., 2011. "Data-based ranking of realised volatility estimators," Journal of Econometrics, Elsevier, vol. 161(2), pages 284-303, April.
    20. Wei Zhang & Kai Yan & Dehua Shen, 2021. "Can the Baidu Index predict realized volatility in the Chinese stock market?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-31, December.

    More about this item

    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:arx:papers:2202.08962. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.