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)

    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. 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.
    2. Javier Haulde & Morten Ørregaard Nielsen, 2022. "Fractional integration and cointegration," CREATES Research Papers 2022-02, Department of Economics and Business Economics, Aarhus University.
    3. Antonio Rubia & Trino-Manuel Ñíguez, 2006. "Forecasting the conditional covariance matrix of a portfolio under long-run temporal dependence," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 25(6), pages 439-458.
    4. 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.
    5. Claudio Morana, 2010. "Heteroskedastic Factor Vector Autoregressive Estimation of Persistent and Non Persistent Processes Subject to Structural Breaks," ICER Working Papers - Applied Mathematics Series 36-2010, ICER - International Centre for Economic Research.
    6. Claudio Morana, 2014. "Factor Vector Autoregressive Estimation of Heteroskedastic Persistent and Non Persistent Processes Subject to Structural Breaks," Working Papers 273, University of Milano-Bicocca, Department of Economics, revised May 2014.
    7. Luis Gil-Alana, 2004. "Forecasting the real output using fractionally integrated techniques," Applied Economics, Taylor & Francis Journals, vol. 36(14), pages 1583-1589.
    8. de Truchis, Gilles & Dell’Eva, Cyril & Keddad, Benjamin, 2017. "On exchange rate comovements: New evidence from a Taylor rule fundamentals model with adaptive learning," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 48(C), pages 82-98.
    9. Nielsen, Morten Orregaard & Shimotsu, Katsumi, 2007. "Determining the cointegrating rank in nonstationary fractional systems by the exact local Whittle approach," Journal of Econometrics, Elsevier, vol. 141(2), pages 574-596, December.
    10. 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.
    11. Hassler, U. & Marmol, F. & Velasco, C., 2006. "Residual log-periodogram inference for long-run relationships," Journal of Econometrics, Elsevier, vol. 130(1), pages 165-207, January.
    12. Haldrup, Niels & Nielsen, Morten Orregaard, 2006. "A regime switching long memory model for electricity prices," Journal of Econometrics, Elsevier, vol. 135(1-2), pages 349-376.
    13. 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.
    14. 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.
    15. Geoffrey Ngene & Ann Nduati Mungai & Allen K. Lynch, 2018. "Long-Term Dependency Structure and Structural Breaks: Evidence from the U.S. Sector Returns and Volatility," Review of Pacific Basin Financial Markets and Policies (RPBFMP), World Scientific Publishing Co. Pte. Ltd., vol. 21(02), pages 1-38, June.
    16. Youwei Li & Xue-Zhong He, 2005. "Long Memory, Heterogeneity, and Trend Chasing," Computing in Economics and Finance 2005 113, Society for Computational Economics.
    17. 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.
    18. Karlis, Alexandros & Galanis, Girogos & Terovitis, Spyridon & Turner, Matthew, 2017. "Heterogeneity and Clustering of Defaults," Economic Research Papers 270011, University of Warwick - Department of Economics.
    19. Baillie, Richard T. & Kapetanios, George & Papailias, Fotis, 2014. "Bandwidth selection by cross-validation for forecasting long memory financial time series," Journal of Empirical Finance, Elsevier, vol. 29(C), pages 129-143.
    20. 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.

    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.