This paper analyses the impact of various oil shocks on the stock volatility prediction by using a Fourier transform-based Long Short-Term Memory (LSTM) model. Oil shocks are decomposed into five components following individual oil price change indicators. By employing a daily dataset involving S & P 500 stock index and WTI oil futures contract, our results show that different oil shocks exert varied impacts on the dynamics of stock price volatility by using gradient descent. Having exploited the role of oil shocks, we further find that the Fourier transform-based LSTM technique improves forecasting accuracy of the stock volatility dynamics from both statistical and economic perspectives. Additional analyses reassure the robustness of our findings. Clear comprehension of the future stock market dynamics possesses important implications for sensible financial risk management.
Citation: Xiaohang Ren, Weixi Xu, Kun Duan. Fourier transform based LSTM stock prediction model under oil shocks[J]. Quantitative Finance and Economics, 2022, 6(2): 342-358. doi: 10.3934/QFE.2022015
This paper analyses the impact of various oil shocks on the stock volatility prediction by using a Fourier transform-based Long Short-Term Memory (LSTM) model. Oil shocks are decomposed into five components following individual oil price change indicators. By employing a daily dataset involving S & P 500 stock index and WTI oil futures contract, our results show that different oil shocks exert varied impacts on the dynamics of stock price volatility by using gradient descent. Having exploited the role of oil shocks, we further find that the Fourier transform-based LSTM technique improves forecasting accuracy of the stock volatility dynamics from both statistical and economic perspectives. Additional analyses reassure the robustness of our findings. Clear comprehension of the future stock market dynamics possesses important implications for sensible financial risk management.
[1] | Aastveit KA (2014) Oil price shocks in a data-rich environment. Energ Econ 45: 268-279. https://doi.org/10.1016/j.eneco.2014.07.006 doi: 10.1016/j.eneco.2014.07.006 |
[2] | Ahmed AD, Huo R (2021) Volatility transmissions across international oil market, commodity futures and stock markets: Empirical evidence from china. Energ Econ 93: 104741. https://doi.org/10.1016/j.eneco.2020.104741 doi: 10.1016/j.eneco.2020.104741 |
[3] | An Y, Sun M, Gao C, et al. (2018) Analysis of the impact of crude oil price fluctuations on china's stock market in different periods—based on time series network model. Physica A 492: 1016-1031. https://doi.org/10.1016/j.physa.2017.11.032 doi: 10.1016/j.physa.2017.11.032 |
[4] | Barsky RB, Kilian L (2001) Do we really know that oil caused the great stagflation? a monetary alternative. NBER Macroecon Annu 16: 137-183. https://doi.org/10.3386/w8389 doi: 10.3386/w8389 |
[5] | Barsky RB, Kilian L (2004) Oil and the macroeconomy since the 1970s. J Econ Perspect 18: 115-134. https://doi.org/10.3386/w10855 doi: 10.3386/w10855 |
[6] | Charfi S, Mselmi F (2022) Modeling exchange rate volatility: application of GARCH models with a Normal Tempered Stable distribution Quant Financ Econ 6: 206-222. https://doi.org/10.3934/QFE.2022009 doi: 10.3934/QFE.2022009 |
[7] | Chen MW, Zhu J (2007) Volatility clustering within industries: An empirical investigation. Am J Bus 22: 33-44. https://doi.org/10.1108/19355181200700008 doi: 10.1108/19355181200700008 |
[8] | Chen Q, Zhou S (2002) A study on the volatility of sse index returns. Res Quant Econ Technol Econ 19: 101-110. |
[9] | Chen Y (2019) Shareholding structure and governance of inefficient investment behavior of state-owned enterprises-empirical evidence based on data of state-owned listed companies analysis. Econ Manage Res 5: 49-54. |
[10] | Cheng A, Chang Q (2016) Research on the dynamic relationship between oil prices and share prices of oil companies in china. South China Univ Technol J (Social Science Edition) 18: 1-11. |
[11] | Chiou JS, Lee YH (2009) Jump dynamics and volatility: Oil and the stock markets. Energy 34: 788-796. https://doi.org/10.1016/j.energy.2009.02.011 doi: 10.1016/j.energy.2009.02.011 |
[12] | Choi S, Furceri D, Loungani P, et al. (2018) Oil prices and inflation dynamics: Evidence from advanced and developing economies. J Int Money Financ 82: 71-96. https://doi.org/10.2139/ssrn.3036910 doi: 10.2139/ssrn.3036910 |
[13] | Christiansen C, Schmeling M, Schrimpf A (2012) A comprehensive look at financial volatility prediction by economic variables. J Appl Econ 27: 956-977. https://doi.org/10.2139/ssrn.2016994 doi: 10.2139/ssrn.2016994 |
[14] | Clark TE, West KD (2007) Approximately normal tests for equal predictive accuracy in nested models. J Econometrics 138: 291-311. https://doi.org/10.1016/j.jeconom.2006.05.023 doi: 10.1016/j.jeconom.2006.05.023 |
[15] | Cunado J, de Gracia FP (2014) Oil price shocks and stock market returns: Evidence for some european countries. Energ Econ 42: 365-377. https://doi.org/10.1016/j.eneco.2013.10.017 doi: 10.1016/j.eneco.2013.10.017 |
[16] | Dickey DA, Fuller WA (1979) Distribution of the estimators for autoregressive time series with a unit root. J Am stat Assoc 74: 427-431. https://doi.org/10.2307/2286348 doi: 10.2307/2286348 |
[17] | Duan K, Ren X, Shi Y, et al. (2021) The marginal impacts of energy prices on carbon price variations: evidence from a quantile-on-quantile approach. Energ Econ 95: 105131. https://doi.org/10.1016/j.eneco.2021.105131 doi: 10.1016/j.eneco.2021.105131 |
[18] | Duan Y, Wang H (2016) A study on the spillover correlation between emerging market stock prices and crude oil price volatility. Stat DecI Making 03: 165-168. |
[19] | Engle RF, Ghysels E, Sohn B (2013) Stock market volatility and macroeconomic fundamentals. Rev Econ Stat 95: 776-797. https://doi.org/10.1162/REST_a_00300 doi: 10.1162/REST_a_00300 |
[20] | Fama EF (1970) Efficient capital markets: A review of theory and empirical work. J Financ 25: 383-417. https://doi.org/10.2307/2325486 doi: 10.2307/2325486 |
[21] | Georgellis Y (1994) The oil price shocks and the unit root hypothesis: the uk experience. Appl Econ 26: 827-830. https://doi.org/10.1080/00036849400000098 doi: 10.1080/00036849400000098 |
[22] | Gokmenoglu K, Eren BM, Hesami S (2021) Exchange rates and stock markets in emerging economies: new evidence using the Quantile-on-Quantile approach. Quant Financ Econ 5: 94-110. https://doi.org/10.3934/QFE.2021005 doi: 10.3934/QFE.2021005 |
[23] | Hansen PR, Lunde A, Nason JM (2011) The model confidence set. Econometrica 79: 453-497. https://doi.org/10.2139/ssrn.522382 doi: 10.2139/ssrn.522382 |
[24] | Haugom E, Langeland H, Molnár P, et al. (2014) Forecasting volatility of the us oil market. J Bank & Financ 47: 1-14. https://doi.org/10.2139/ssrn.2691391 doi: 10.2139/ssrn.2691391 |
[25] | He W (2012) Study on the "spillover effect" of international crude oil prices on chinese stock market and its transmission mechanism. Int J Financ & Econ 35: 61-68. |
[26] | He W, Wang M (2013) A comparative study on the impact of domestic and international crude oil prices on chinese stock market. J Yan'an Univ (Social Science Edition) 35: 61-68. https://doi.org/10.3969/j.issn.1004-9975.2013.04.013 doi: 10.3969/j.issn.1004-9975.2013.04.013 |
[27] | He Z, Chen J, Zhou F, et al. (2020) Oil price uncertainty and the risk-return relation in stock markets: evidence from oil-importing and oil-exporting countries. Int J Financ & Econ 35: 61-68. https://doi.org/10.1002/ijfe.2206 doi: 10.1002/ijfe.2206 |
[28] | Hu L, Ying W (2017) Study on volatility of stock market: Empirical analysis based on arma-tgarch-m model. J Beijing Univ Aeronaut Astronaut (Social Sciences Edition) 30: 5. |
[29] | Kilian L, Vigfusson RJ (2013) Do oil prices help forecast us real gdp? the role of nonlinearities and asymmetries. J Bus & Econ Stat 31: 78-93. https://doi.org/10.1080/07350015.2012.740436 doi: 10.1080/07350015.2012.740436 |
[30] | Liow KH, Song J, Zhou X (2021) Volatility connectedness and market dependence across major financial markets in China economy. Quant Financ Econ 5: 397-420. https://doi.org/10.3934/QFE.2021018 doi: 10.3934/QFE.2021018 |
[31] | LIU H, WANG Y (2017) Study on volatility of stock market: Empirical analysis based on arma-tgarch-m model. J Beijing Univ Aeronaut Astronaut (Social Sciences Edition) 30: 56. |
[32] | Lu X, Ma F, Wang J, et al. (2021) Oil shocks and stock market volatility: New evidence. Energ Econ 103: 10556. https://doi.org/10.1016/j.eneco.2021.105567 doi: 10.1016/j.eneco.2021.105567 |
[33] | Maheu JM, Song Y, Yang Q (2020) Oil price shocks and economic growth: The volatility link. Int J Forecast 36: 570-587. https://doi.org/10.1016/j.ijforecast.2019.07.008 doi: 10.1016/j.ijforecast.2019.07.008 |
[34] | Paye BS (2012) 'déjà vol': Predictive regressions for aggregate stock market volatility using macroeconomic variables. J Financ Econ 106: 527-546. https://doi.org/10.2139/ssrn.783986 doi: 10.2139/ssrn.783986 |
[35] | Qiao K, Sun Y, Wang S (2019) Market inefficiencies associated with pricing oil stocks during shocks. Energ Econ 81: 661-671. https://doi.org/10.2139/ssrn.3285838 doi: 10.2139/ssrn.3285838 |
[36] | Rapach DE, Strauss JK, Zhou G (2010) Out-of-sample equity premium prediction: Combination forecasts and links to the real economy. Rev Financ Stud 23: 821-862. https://doi.org/10.2139/ssrn.1257858 doi: 10.2139/ssrn.1257858 |
[37] | Ren X, Dou Y, Dong K, et al. (2022a) Information spillover and market connectedness: multi-scale quantile-on-quantile analysis of the crude oil and carbon markets. Appl Econ 54: 4465-4485, 2022a. https://doi.org/10.1080/00036846.2022.2030855 doi: 10.1080/00036846.2022.2030855 |
[38] | Ren X, Duan K, Tao L, et al. (2022b) Carbon prices forecasting in quantiles. Energ Econ 108: 105862, 2022b. https://doi.org/10.1016/j.eneco.2022.105862 doi: 10.1016/j.eneco.2022.105862 |
[39] | Ren X, Tong Z, Sun X, et al. (2022) Dynamic impacts of energy consumption on economic growth in china: Evidence from a non-parametric panel data model. Energ Econ 107: 105855, 2022c. https://doi.org/10.1016/j.eneco.2022.105855 doi: 10.1016/j.eneco.2022.105855 |
[40] | Shahrestani P, Rafei M (2020) The impact of oil price shocks on tehran stock exchange returns: Application of the markov switching vector autoregressive models. Resour Policy 65: 101579. https://doi.org/10.1016/j.resourpol.2020.101579 doi: 10.1016/j.resourpol.2020.101579 |
[41] | Sukharev OS (2020) Structural analysis of income and risk dynamics in models of economic growth. Quant Financ Econ 4: 1-18. https://doi.org/10.3934/QFE.2020001 doi: 10.3934/QFE.2020001 |
[42] | Sun M, Yang T (2012) Analysis of the impact of oil prices on chinese stock market. J Shenzhen Univ (Humanities and Social Sciences Edition) 29: 113-116. |
[43] | Wei C (2003) Energy, the stock market, and the putty-clay investment model. Am Econ Rev 93: 311-323. https://doi.org/10.1257/000282803321455313 doi: 10.1257/000282803321455313 |
[44] | Wen F, Tong X, Ren X (2022) Gold or bitcoin, which is the safe haven during the covid-19 pandemic? Int Rev Financ Anal 81: 102121. https://doi.org/10.1016/j.irfa.2022.102121 doi: 10.1016/j.irfa.2022.102121 |
[45] | Xiao J, Hu C, Ouyang G, et al. (2019) Impacts of oil implied volatility shocks on stock implied volatility in china: Empirical evidence from a quantile regression approach. Energ Econ 80: 297-309. https://doi.org/10.1016/j.eneco.2019.01.016 doi: 10.1016/j.eneco.2019.01.016 |
[46] | Xu W, Ma F, Chen W, et al. (2019) Asymmetric volatility spillovers between oil and stock markets: Evidence from china and the united states. Energ Econ 80: 310-320. https://doi.org/10.1016/j.eneco.2019.01.014 doi: 10.1016/j.eneco.2019.01.014 |
[47] | Zhang D (2017) Oil shocks and stock markets revisited: measuring connectedness from a global perspective. Energ Econ 62: 323-333. https://doi.org/10.1016/j.eneco.2017.01.009 doi: 10.1016/j.eneco.2017.01.009 |
[48] | Zhang Y, Ma F, Wang Y (2019) Forecasting crude oil prices with a large set of predictors: Can lasso select powerful predictors? J Empir Financ 54: 97-117. https://doi.org/10.1016/j.jempfin.2019.08.007 doi: 10.1016/j.jempfin.2019.08.007 |
[49] | Zhao L, Zhang X, Wang S, et al. (2016) The effects of oil price shocks on output and inflation in china. Energ Econ 53: 101-110. https://doi.org/10.1016/j.eneco.2014.11.017 doi: 10.1016/j.eneco.2014.11.017 |