IDEAS home Printed from https://ideas.repec.org/p/aqr/wpaper/202201.html
   My bibliography  Save this paper

“An application of deep learning for exchange rate forecasting”

Author

Listed:
  • Oscar Claveria

    (AQR-IREA, University of Barcelona)

  • Enric Monte

    (Polytechnic University of Catalunya)

  • Petar Soric

    (University of Zagreb)

  • Salvador Torra

    (Riskcenter-IREA, University of Barcelona)

Abstract

This paper examines the performance of several state-of-the-art deep learning techniques for exchange rate forecasting (deep feedforward network, convolutional network and a long short-term memory). On the one hand, the configuration of the different architectures is clearly detailed, as well as the tuning of the parameters and the regularisation techniques used to avoid overfitting. On the other hand, we design an out-of-sample forecasting experiment and evaluate the accuracy of three different deep neural networks to predict the US/UK foreign exchange rate in the days after the Brexit took effect. Of the three configurations, we obtain the best results with the deep feedforward architecture. When comparing the deep learning networks to time-series models used as a benchmark, the obtained results are highly dependent on the specific topology used in each case. Thus, although the three architectures generate more accurate predictions than the time-series models, the results vary considerably depending on the specific topology. These results hint at the potential of deep learning techniques, but they also highlight the importance of properly configuring, implementing and selecting the different topologies.

Suggested Citation

  • Oscar Claveria & Enric Monte & Petar Soric & Salvador Torra, 2022. "“An application of deep learning for exchange rate forecasting”," AQR Working Papers 202201, University of Barcelona, Regional Quantitative Analysis Group, revised Jan 2022.
  • Handle: RePEc:aqr:wpaper:202201
    as

    Download full text from publisher

    File URL: http://www.ub.edu/irea/working_papers/2022/202201.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Joseph P. Byrne & Dimitris Korobilis & Pinho J. Ribeiro, 2018. "On The Sources Of Uncertainty In Exchange Rate Predictability," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 59(1), pages 329-357, February.
    2. Lin, Chiun-Sin & Chiu, Sheng-Hsiung & Lin, Tzu-Yu, 2012. "Empirical mode decomposition–based least squares support vector regression for foreign exchange rate forecasting," Economic Modelling, Elsevier, vol. 29(6), pages 2583-2590.
    3. Crone, Sven F. & Hibon, Michèle & Nikolopoulos, Konstantinos, 2011. "Advances in forecasting with neural networks? Empirical evidence from the NN3 competition on time series prediction," International Journal of Forecasting, Elsevier, vol. 27(3), pages 635-660.
    4. Park, Cheolbeom & Park, Sookyung, 2013. "Exchange rate predictability and a monetary model with time-varying cointegration coefficients," Journal of International Money and Finance, Elsevier, vol. 37(C), pages 394-410.
    5. G P Zhang & V L Berardi, 2001. "Time series forecasting with neural network ensembles: an application for exchange rate prediction," Journal of the Operational Research Society, Palgrave Macmillan;The OR Society, vol. 52(6), pages 652-664, June.
    6. Firat Melih Yilmaz & Ozer Arabaci, 2021. "Should Deep Learning Models be in High Demand, or Should They Simply be a Very Hot Topic? A Comprehensive Study for Exchange Rate Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 217-245, January.
    7. Colombo, Emilio & Pelagatti, Matteo, 2020. "Statistical learning and exchange rate forecasting," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1260-1289.
    8. Andrawis, Robert R. & Atiya, Amir F. & El-Shishiny, Hisham, 2011. "Forecast combinations of computational intelligence and linear models for the NN5 time series forecasting competition," International Journal of Forecasting, Elsevier, vol. 27(3), pages 672-688.
    9. Kuan, Chung-Ming & Liu, Tung, 1995. "Forecasting Exchange Rates Using Feedforward and Recurrent Neural Networks," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 10(4), pages 347-364, Oct.-Dec..
    10. Lisi, Francesco & Schiavo, Rosa A., 1999. "A comparison between neural networks and chaotic models for exchange rate prediction," Computational Statistics & Data Analysis, Elsevier, vol. 30(1), pages 87-102, March.
    11. Barbara Rossi, 2013. "Exchange Rate Predictability," Journal of Economic Literature, American Economic Association, vol. 51(4), pages 1063-1119, December.
    12. Jing Yang & Nikola Gradojevic, 2006. "Non-linear, non-parametric, non-fundamental exchange rate forecasting," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 25(4), pages 227-245.
    13. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    14. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    15. Dimitris Kirikos, 2000. "Forecasting exchange rates out of sample: random walk vs Markov switching regimes," Applied Economics Letters, Taylor & Francis Journals, vol. 7(2), pages 133-136.
    16. Oscar Claveria & Enric Monte & Salvador Torra, 2016. "Modelling cross-dependencies between Spain’s regional tourism markets with an extension of the Gaussian process regression model," SERIEs: Journal of the Spanish Economic Association, Springer;Spanish Economic Association, vol. 7(3), pages 341-357, August.
    17. Svitlana Galeshchuk & Sumitra Mukherjee, 2017. "Deep networks for predicting direction of change in foreign exchange rates," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 24(4), pages 100-110, October.
    18. Meese, Richard A. & Rogoff, Kenneth, 1983. "Empirical exchange rate models of the seventies : Do they fit out of sample?," Journal of International Economics, Elsevier, vol. 14(1-2), pages 3-24, February.
    19. Yongmiao Hong & Tae-Hwy Lee, 2003. "Inference on Predictability of Foreign Exchange Rates via Generalized Spectrum and Nonlinear Time Series Models," The Review of Economics and Statistics, MIT Press, vol. 85(4), pages 1048-1062, November.
    20. Bi, Jian-Wu & Li, Hui & Fan, Zhi-Ping, 2021. "Tourism demand forecasting with time series imaging: A deep learning model," Annals of Tourism Research, Elsevier, vol. 90(C).
    21. Lee, Hsiu-Yun & Chen, Show-Lin, 2006. "Why use Markov-switching models in exchange rate prediction?," Economic Modelling, Elsevier, vol. 23(4), pages 662-668, July.
    22. Guglielmo Maria Caporale & Nicola Spagnolo, 2004. "Modelling East Asian exchange rates: a Markov-switching approach," Applied Financial Economics, Taylor & Francis Journals, vol. 14(4), pages 233-242.
    23. Behrooz Gharleghi & Abu Hassan Shaari & Najla Shafighi, 2014. "Predicting exchange rates using a novel “cointegration based neuro-fuzzy system”," International Economics, CEPII research center, issue 137, pages 88-103.
    24. Zorzi, Michele Ca’ & Rubaszek, Michał, 2020. "Exchange rate forecasting on a napkin," Journal of International Money and Finance, Elsevier, vol. 104(C).
    25. Tripathi Manas & Kumar Saurabh & Inani Sarveshwar Kumar, 2021. "Exchange Rate Forecasting Using Ensemble Modeling for Better Policy Implications," Journal of Time Series Econometrics, De Gruyter, vol. 13(1), pages 43-71, January.
    26. Andrawis, Robert R. & Atiya, Amir F. & El-Shishiny, Hisham, 2011. "Forecast combinations of computational intelligence and linear models for the NN5 time series forecasting competition," International Journal of Forecasting, Elsevier, vol. 27(3), pages 672-688, July.
    27. Claveria, Oscar & Torra, Salvador, 2014. "Forecasting tourism demand to Catalonia: Neural networks vs. time series models," Economic Modelling, Elsevier, vol. 36(C), pages 220-228.
    28. Nikolsko-Rzhevskyy, Alex & Prodan, Ruxandra, 2012. "Markov switching and exchange rate predictability," International Journal of Forecasting, Elsevier, vol. 28(2), pages 353-365.
    29. Clements, Michael P. & Smith, Jeremy, 2001. "Evaluating forecasts from SETAR models of exchange rates," Journal of International Money and Finance, Elsevier, vol. 20(1), pages 133-148, February.
    30. Enders, Walter & Pascalau, Razvan, 2015. "Pretesting for multi-step-ahead exchange rate forecasts with STAR models," International Journal of Forecasting, Elsevier, vol. 31(2), pages 473-487.
    31. Krystian Jaworski, 2021. "Forecasting exchange rates for Central and Eastern European currencies using country‐specific factors," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(6), pages 977-999, September.
    32. Nag, Ashok K & Mitra, Amit, 2002. "Forecasting Daily Foreign Exchange Rates Using Genetically Optimized Neural Networks," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 21(7), pages 501-511, November.
    33. Khurshid Kiani & Terry Kastens, 2008. "Testing Forecast Accuracy of Foreign Exchange Rates: Predictions from Feed Forward and Various Recurrent Neural Network Architectures," Computational Economics, Springer;Society for Computational Economics, vol. 32(4), pages 383-406, November.
    34. repec:cii:cepiei:2014-q1-137-6 is not listed on IDEAS
    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. Firat Melih Yilmaz & Ozer Arabaci, 2021. "Should Deep Learning Models be in High Demand, or Should They Simply be a Very Hot Topic? A Comprehensive Study for Exchange Rate Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 217-245, January.
    2. Oscar Claveria & Enric Monte & Salvador Torra, 2016. "Modelling cross-dependencies between Spain’s regional tourism markets with an extension of the Gaussian process regression model," SERIEs: Journal of the Spanish Economic Association, Springer;Spanish Economic Association, vol. 7(3), pages 341-357, August.
    3. de Souza Vasconcelos, Camila & Hadad Júnior, Eli, 2023. "Forecasting exchange rate: A bibliometric and content analysis," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 607-628.
    4. Preminger, Arie & Franck, Raphael, 2007. "Forecasting exchange rates: A robust regression approach," International Journal of Forecasting, Elsevier, vol. 23(1), pages 71-84.
    5. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    6. Petar Soric & Enric Monte & Salvador Torra & Oscar Claveria, 2022. ""Density forecasts of inflation using Gaussian process regression models"," IREA Working Papers 202210, University of Barcelona, Research Institute of Applied Economics, revised Jul 2022.
    7. Sun, Shaolong & Wang, Shouyang & Wei, Yunjie, 2019. "A new multiscale decomposition ensemble approach for forecasting exchange rates," Economic Modelling, Elsevier, vol. 81(C), pages 49-58.
    8. Salisu, Afees A. & Gupta, Rangan & Kim, Won Joong, 2022. "Exchange rate predictability with nine alternative models for BRICS countries," Journal of Macroeconomics, Elsevier, vol. 71(C).
    9. David Alaminos & M. Belén Salas & Manuel Á. Fernández-Gámez, 2023. "Quantum Monte Carlo simulations for estimating FOREX markets: a speculative attacks experience," Palgrave Communications, Palgrave Macmillan, vol. 10(1), pages 1-21, December.
    10. Yang, Jian & Su, Xiaojing & Kolari, James W., 2008. "Do Euro exchange rates follow a martingale? Some out-of-sample evidence," Journal of Banking & Finance, Elsevier, vol. 32(5), pages 729-740, May.
    11. Krystian Jaworski, 2021. "Forecasting exchange rates for Central and Eastern European currencies using country‐specific factors," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(6), pages 977-999, September.
    12. Samuel W. Malone & Robert B. Gramacy & Enrique Ter Horst, 2016. "Timing Foreign Exchange Markets," Econometrics, MDPI, vol. 4(1), pages 1-23, March.
    13. Manish Kumar, 2010. "Modelling Exchange Rate Returns Using Non-linear Models," Margin: The Journal of Applied Economic Research, National Council of Applied Economic Research, vol. 4(1), pages 101-125, January.
    14. Khurshid Kiani & Terry Kastens, 2008. "Testing Forecast Accuracy of Foreign Exchange Rates: Predictions from Feed Forward and Various Recurrent Neural Network Architectures," Computational Economics, Springer;Society for Computational Economics, vol. 32(4), pages 383-406, November.
    15. Oscar Claveria & Enric Monte & Salvador Torra, 2018. "“A regional perspective on the accuracy of machine learning forecasts of tourism demand based on data characteristics”," IREA Working Papers 201805, University of Barcelona, Research Institute of Applied Economics, revised Mar 2018.
    16. Suman Das & Saikat Sinha Roy, 2021. "Predicting regime switching in BRICS currency volatility: a Markov switching autoregressive approach," DECISION: Official Journal of the Indian Institute of Management Calcutta, Springer;Indian Institute of Management Calcutta, vol. 48(2), pages 165-180, June.
    17. Panopoulou, Ekaterini & Souropanis, Ioannis, 2019. "The role of technical indicators in exchange rate forecasting," Journal of Empirical Finance, Elsevier, vol. 53(C), pages 197-221.
    18. Jaehun Chung & Yongmiao Hong, 2007. "Model-free evaluation of directional predictability in foreign exchange markets," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 22(5), pages 855-889.
    19. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    20. Shiyi Chen & Kiho Jeong & Wolfgang K. Härdle, 2008. "Recurrent Support Vector Regression for a Nonlinear ARMA Model with Applications to Forecasting Financial Returns," SFB 649 Discussion Papers SFB649DP2008-051, Sonderforschungsbereich 649, Humboldt University, Berlin, Germany.

    More about this item

    Keywords

    Forecasting; Exchange rates; Deep learning; Deep neural networks; Convolutional networks; Long short-term memory JEL classification: C45; C58; E47; F31; G17;
    All these keywords.

    JEL classification:

    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:aqr:wpaper:202201. 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: Bibiana Barnadas (email available below). General contact details of provider: https://edirc.repec.org/data/aqrubes.html .

    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.