IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v15y2022i12p602-d1001937.html
   My bibliography  Save this article

Forecasting Detrended Volatility Risk and Financial Price Series Using LSTM Neural Networks and XGBoost Regressor

Author

Listed:
  • Aistis Raudys

    (Institute of Informatics, Vilnius University, Didlaukio g. 47, LT-08303 Vilnius, Lithuania
    These authors contributed equally to this work.)

  • Edvinas Goldstein

    (Institute of Informatics, Vilnius University, Didlaukio g. 47, LT-08303 Vilnius, Lithuania
    These authors contributed equally to this work.)

Abstract

It is common practice to employ returns, price differences or log returns for financial risk estimation and time series forecasting. In De Prado’s 2018 book, it was argued that by using returns we lose memory of time series. In order to verify this statement, we examined the differences between fractional differencing and logarithmic transformations and their impact on data memory. We employed LSTM (long short-term memory) recurrent neural networks and an XGBoost regressor on the data using those transformations. We forecasted risk (volatility) and price value and compared the results of all models using original, unmodified prices. From the results, models showed that, on average, a logarithmic transformation achieved better volatility predictions in terms of mean squared error and accuracy. Logarithmic transformation was the most promising transformation in terms of profitability. Our results were controversial to Marco Lopez de Prado’s suggestion, as we managed to achieve the most accurate volatility predictions in terms of mean squared error and accuracy using logarithmic transformation instead of fractional differencing. This transformation was also most promising in terms of profitability.

Suggested Citation

  • Aistis Raudys & Edvinas Goldstein, 2022. "Forecasting Detrended Volatility Risk and Financial Price Series Using LSTM Neural Networks and XGBoost Regressor," JRFM, MDPI, vol. 15(12), pages 1-12, December.
  • Handle: RePEc:gam:jjrfmx:v:15:y:2022:i:12:p:602-:d:1001937
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/15/12/602/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/15/12/602/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Alex Maynard & Aaron Smallwood & Mark E. Wohar, 2013. "Long Memory Regressors and Predictive Testing: A Two-stage Rebalancing Approach," Econometric Reviews, Taylor & Francis Journals, vol. 32(3), pages 318-360, November.
    2. Baillie, Richard T., 1996. "Long memory processes and fractional integration in econometrics," Journal of Econometrics, Elsevier, vol. 73(1), pages 5-59, 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. Karime Chahuán-Jiménez, 2024. "Neural Network-Based Predictive Models for Stock Market Index Forecasting," JRFM, MDPI, vol. 17(6), pages 1-18, June.

    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. Javier Hualde & Morten {O}rregaard Nielsen, 2022. "Fractional integration and cointegration," Papers 2211.10235, arXiv.org.
    2. Tim Bollerslev & Daniela Osterrieder & Natalia Sizova & George Tauchen, 2011. "Risk and Return: Long-Run Relationships, Fractional Cointegration, and Return Predictability," CREATES Research Papers 2011-51, Department of Economics and Business Economics, Aarhus University.
    3. Jonas Mockus, 2010. "On simulation of optimal strategies and Nash equilibrium in the financial market context," Journal of Global Optimization, Springer, vol. 48(1), pages 129-143, September.
    4. Oyebayo Ridwan Olaniran & Saidat Fehintola Olaniran & Ali Rashash R. Alzahrani & Nada MohammedSaeed Alharbi & Asma Ahmad Alzahrani, 2025. "Bayesian Tapered Narrowband Least Squares for Fractional Cointegration Testing in Panel Data," Mathematics, MDPI, vol. 13(10), pages 1-28, May.
    5. Giorgio Canarella & Luis A. Gil-Alana & Rangan Gupta & Stephen M. Miller, 2022. "Globalization, long memory, and real interest rate convergence: a historical perspective," Empirical Economics, Springer, vol. 63(5), pages 2331-2355, November.
    6. Pierre Perron & Zhongjun Qu, 2007. "An Analytical Evaluation of the Log-periodogram Estimate in the Presence of Level Shifts," Boston University - Department of Economics - Working Papers Series wp2007-044, Boston University - Department of Economics.
    7. Derek Bond & Michael J. Harrison & Edward J. O'Brien, 2005. "Testing for Long Memory and Nonlinear Time Series: A Demand for Money Study," Trinity Economics Papers tep20021, Trinity College Dublin, Department of Economics.
    8. Youwei Li & Xue-Zhong He, 2005. "Long Memory, Heterogeneity, and Trend Chasing," Computing in Economics and Finance 2005 113, Society for Computational Economics.
    9. Ra l De Jes s Guti rrez & Lidia E. Carvajal Guti rrez & Oswaldo Garcia Salgado, 2023. "Value at Risk and Expected Shortfall Estimation for Mexico s Isthmus Crude Oil Using Long-Memory GARCH-EVT Combined Approaches," International Journal of Energy Economics and Policy, Econjournals, vol. 13(4), pages 467-480, July.
    10. Christos Christodoulou-Volos & Fotios Siokis, 2006. "Long range dependence in stock market returns," Applied Financial Economics, Taylor & Francis Journals, vol. 16(18), pages 1331-1338.
    11. Luis A. Gil-Alana & Antonio Moreno & Seonghoon Cho, 2012. "The Deaton paradox in a long memory context with structural breaks," Applied Economics, Taylor & Francis Journals, vol. 44(25), pages 3309-3322, September.
    12. Naimoli, Antonio, 2022. "Modelling the persistence of Covid-19 positivity rate in Italy," Socio-Economic Planning Sciences, Elsevier, vol. 82(PA).
    13. Mehmet Dalkir, 2005. "A New Method For Estimating The Order Of Integration Of Fractionally Integrated Processes Using Bispectra," Econometrics 0507001, University Library of Munich, Germany, revised 07 Jul 2005.
    14. Richard T. Baillie & Fabio Calonaci & Dooyeon Cho & Seunghwa Rho, 2019. "Long Memory, Realized Volatility and HAR Models," Working Papers 881, Queen Mary University of London, School of Economics and Finance.
    15. 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.
    16. Muniandy, Sithi V. & Uning, Rosemary, 2006. "Characterization of exchange rate regimes based on scaling and correlation properties of volatility for ASEAN-5 countries," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 371(2), pages 585-598.
    17. Boubaker Heni & Canarella Giorgio & Gupta Rangan & Miller Stephen M., 2017. "Time-varying persistence of inflation: evidence from a wavelet-based approach," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 21(4), pages 1-18, September.
    18. Guglielmo Maria Caporale & Luis A. Gil-Alana & Carlos Poza, 2021. "Cycles and Long-Range Behaviour in the European Stock Markets," Dynamic Modeling and Econometrics in Economics and Finance, in: Gilles Dufrénot & Takashi Matsuki (ed.), Recent Econometric Techniques for Macroeconomic and Financial Data, pages 293-302, Springer.
    19. Alvarez-Ramirez, Jose & Alvarez, Jesus & Rodriguez, Eduardo, 2008. "Short-term predictability of crude oil markets: A detrended fluctuation analysis approach," Energy Economics, Elsevier, vol. 30(5), pages 2645-2656, September.
    20. Rocha Souza, Leonardo & Jorge Soares, Lacir, 2007. "Electricity rationing and public response," Energy Economics, Elsevier, vol. 29(2), pages 296-311, March.

    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:gam:jjrfmx:v:15:y:2022:i:12:p:602-:d:1001937. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.