DOI QR코드

DOI QR Code

Forecasting realized volatility using data normalization and recurrent neural network

  • Yoonjoo Lee (School of Computing, KAIST) ;
  • Dong Wan Shin (Department of Statistics, Ewha Womans University) ;
  • Ji Eun Choi (Department of Statistics, Pukyong National University)
  • Received : 2023.07.08
  • Accepted : 2023.11.14
  • Published : 2024.01.31

Abstract

We propose recurrent neural network (RNN) methods for forecasting realized volatility (RV). The data are RVs of ten major stock price indices, four from the US, and six from the EU. Forecasts are made for relative ratio of adjacent RVs instead of the RV itself in order to avoid the out-of-scale issue. Forecasts of RV ratios distribution are first constructed from which those of RVs are computed which are shown to be better than forecasts constructed directly from RV. The apparent asymmetry of RV ratio is addressed by the Piecewise Min-max (PM) normalization. The serial dependence of the ratio data renders us to consider two architectures, long short-term memory (LSTM) and gated recurrent unit (GRU). The hyperparameters of LSTM and GRU are tuned by the nested cross validation. The RNN forecast with the PM normalization and ratio transformation is shown to outperform other forecasts by other RNN models and by benchmarking models of the AR model, the support vector machine (SVM), the deep neural network (DNN), and the convolutional neural network (CNN).

Keywords

Acknowledgement

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2023-00239009, 2022R1F1A1068578, RS-2023-00242528).

References

  1. Andersen TG and Terasvirta T (2009). Realized Volatility, Handbook of Financial Time Series, Springer, Berlin, Heidelberg.
  2. Bishop CM (2006). Pattern Recognition and Machine Learning, Springer-Verlag, New York.
  3. Bollerslev T, Pattona A, and Quaedvlieg R (2016). Exploiting the errors: A simple approach for improved volatility forecasting, Journal of Financial Econometrics, 192, 1-18. https://doi.org/10.1016/j.jeconom.2015.10.007
  4. Bucci A (2020). Realized volatility forecasting with neural networks, Journal of Financial Econometrics, 18, 502-531. https://doi.org/10.1093/jjfinec/nbaa008
  5. Cho K, Merrienboer B-V, Bahdanau D, and Bengio Y (2014). On the properties of neural machine translation: Encoder-decoder approaches, Proceedings of SSST 2014 - 8th Workshop on Syntax, Semantics and Structure in Statistical Translation, 103-111.
  6. Choi JE and Shin DW (2022). Parallel architecture of CNN-bidirectional LSTMs for implied volatility forecast, Journal of Forecasting, 41, 1087-1098. https://doi.org/10.1002/for.2844
  7. Chung J, Gulcehre C, Cho K, and Bengio Y (2014). Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling, Available from: arXiv preprint arXiv:1412.3555
  8. Corsi F (2009). A simple approximate long-memory model of realized volatility, Journal of Financial Econometrics, 7, 174-196. https://doi.org/10.1093/jjfinec/nbp001
  9. Elalem YK, Maier S, and Seifert RW (2023). A machine learning-based framework for forecasting sales of new products with short life cycles using deep neural networks, International Journal of Forecasting, 39, 1874-1894. https://doi.org/10.1016/j.ijforecast.2022.09.005
  10. Engle RF and Patton AJ (2007). What Good is a Volatility Model?, Quantitative Finance, Forecasting Volatility in the Financial Markets (3rd ed), Butterworth-Heinemann, Oxford, UK.
  11. Fisher T and Krauss C (2018). Deep learning with long-short term memory networks for financial market predictions, European Journal of Operational Research, 270, 654-669. https://doi.org/10.1016/j.ejor.2017.11.054
  12. Goodfellow I, Bengio Y, and Courville A (2016). Deep Learning, MIT Press, Cambridge, MA.
  13. Hochreiter S and Schmidhuber J (1997). Long short-term memory, Neural Computation, 9, 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735
  14. Hu Y, Ni J, and Wen L (2020). A hybrid deep learning approach by integrating LSTM-ANN networks with GARCH model for copper price volatility prediction, Physica A: Statistical Mechanics and its Applications, 557, 124907.
  15. Kara Y, Boyacioglu MA, and Baykan OK (2011). Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange, Expert Systems with Applications, 38, 5311-5319. https://doi.org/10.1016/j.eswa.2010.10.027
  16. Karpathy A, Johnson J, and Li F-F (2015). Visualizing and Understanding Recurrent Networks, Available from: arXiv preprint, arXiv:1506.02078v2
  17. Kim HY and Won CH (2018). Forecasting the volatility of stock price index: A hybrid model integrating LSTM with multiple GARCH-type models, Expert Systems with Applications, 103, 25-37. https://doi.org/10.1016/j.eswa.2018.03.002
  18. Kodinariya TM and Makwana PR (2013). Review on determining number of cluster in K-means clustering, International Journal of Advance Research in Computer Science and Management Studies, 1, 90-95.
  19. Kohzadi N, Boyd MS, Kermanshahi B, and Kaastra I (1996). A comparison of artificial neural network and time series models for forecasting commodity prices, Neurocomputing, 10, 169-181. https://doi.org/10.1016/0925-2312(95)00020-8
  20. Lei B, Liu Z, and Song Y (2021). On stock volatility forecasting based on text mining and deep learning under high-frequency data, Journal of Forecasting, 40, 1596-1610. https://doi.org/10.1002/for.2794
  21. Liang Y, Lin Y, and Lu Q (2022). Forecasting gold price using a novel hybrid model with ICEEMDAN and LSTM-CNN-CBAM, Expert Systems with Applications, 206, 117847.
  22. Liu Y (2019). Novel volatility forecasting using deep learning-Long Short Term Memory Recurrent Neural Networks, Expert Systems with Applications, 132, 99-109. https://doi.org/10.1016/j.eswa.2019.04.038
  23. Liu Y and Mehta S (2019). Hands-On Deep Learning Architectures with Python: Create deep Neural Networks to Solve Computational Problems Using TensorFlow and Keras, Packt Publishing Ltd, Birmingham, UK.
  24. McAleer M and Medeiros MC (2008a). Realized volatility: A review, Econometric Reviews, 27, 10-45. https://doi.org/10.1080/07474930701853509
  25. Mantri JK, Gahan P, and Nayak BB (2010). Artificial neural networks-an application to stock market volatility, International Journal of Engineering Science and Technology, 2, 1451-1460.
  26. Oztekin A, Kizilaslan R, Freund S, and Iseri A (2016). A data analytic approach to forecasting daily stock returns in an emerging market, European Journal of Operational Research, 253, 697-710. https://doi.org/10.1016/j.ejor.2016.02.056
  27. Schuster M and Paliwal KK (1997). Bidirectional recurrent neural networks, IEEE Transactions of Signal Processing, 45, 2673-2681. https://doi.org/10.1109/78.650093
  28. Shin D-W (2018). Forecasting realized volatility: A review, Journal of the Korean Statistical Society, 47, 395-404. https://doi.org/10.1016/j.jkss.2018.08.002
  29. Tashman L-J (2000). Out-of-sample tests of forecasting accuracy: An analysis and review, International Journal of Forecasting, 16, 437-450. https://doi.org/10.1016/S0169-2070(00)00065-0
  30. Varma S and Simon R (2006). Bias in error estimation when using cross-validation for model selection, BMC Bioinformatics, 7, 91.
  31. Vidal A and Kristjanpoller W (2020). Gold volatility prediction using a CNN-LSTM approach, Expert Systems with Applications, 157, 113481.