journal article·2021-06-18Open access

Recurrent Neural Networks and ARIMA Models for Euro/Dollar Exchange Rate Forecasting

Pedro Escudero, Willian Alcocer, Jenny Paredes

Applied Sciences· Volume 11· Issue 12

Abstract

Analyzing the future behaviors of currency pairs represents a priority for governments, financial institutions, and investors, who use this type of analysis to understand the economic situation of a country and determine when to sell and buy goods or services from a particular location. Several models are used to forecast this type of time series with reasonable accuracy. However, due to the random behavior of these time series, achieving good forecasting performance represents a significant challenge. In this paper, we compare forecasting models to evaluate their accuracy in the short term using data on the EUR/USD exchange rate. For this purpose, we used three methods: Autoregressive Integrated Moving Average (ARIMA), Recurrent Neural Network (RNN) of the Elman type, and Long Short-Term Memory (LSTM). The analyzed period spanned from 2 January 1998, to 31 December 2019, and was divided into training and validation datasets. We performed forecasting calculations to predict windows with six different forecasting horizons. We found that the window of one month with 22 observations better matched the validation dataset in the short term compared to the other windows. Theil’s U coefficients calculated for this window were 0.04743, 0.002625, and 0.001808 for the ARIMA, Elman, and LSTM networks, respectively. LSTM provided the best forecast in the short term, while Elman provided the best forecast in the long term.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Stock Market Forecasting Methods · Market Dynamics and Volatility · Monetary Policy and Economic Impact

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

SISAu Research Group, Facultad de Ingeniería y Tecnologías de la Información y la Comunicación, Universidad Tecnológica Indoamérica, Ambato 180103, Ecuador

Escuela de Ingeniería en Estadística Informática, Facultad de Ciencias, Escuela Superior Politécnica de Chimborazo, Riobamba 060155, Ecuador

Funding

Indoamerica Technological University

References (42)

Show source-provided references
1. Foreign Exchange Rate Forecasting Techniques: Implications for Business and Policy10.1111/j.1540-6261.1979.tb02104.x ↗
2. Forecasting Exchange Rates: A Comparative Analysis
3. Modelling and Forecasting Exchange Rates with a Bayesian Time-Varying Coefficient Model10.1016/S0165-1889(06)80011-4 ↗
4. Forecasting Foreign Exchange Volatility Using Deep Learning Autoencoder-LSTM Techniques10.1155/2021/6647534 ↗
5. Exchange Rate Forecasting Using Ensemble Modeling for Better Policy Implications
6. Modeling and Forecasting Naira / USD Exchange Rate In Nigeria: A Box—Jenkins ARIMA Approach
7. Pronóstico de los índices accionarios DAX y S&P 500 con redes neuronales diferenciales10.1016/S0186-1042(13)71227-0 ↗
8. Poznyak, A.S., Sanchez, E.N., and Yu, W. (2001). Differential Neural Networks for Robust Nonlinear Control, World Scientific.10.1142/9789812811295 ↗
9. Mexico, D.F. (2011). Redes Neuronales Diferenciales: Una Alternativa Confiable Para Analizar Series Financieras. Proceedings of the XVI Congreso Internacional de Contaduría Administración e Informática, Medellín, U. D.
10. Predicción Del Tipo de Cambio Peso-Dólar Utilizando Redes Neuronales Artificiales (Rna)
11. A Review on the Long Short-Term Memory Model10.1007/s10462-020-09838-1 ↗
12. Forecasting Directional Movement of Forex Data Using LSTM with Technical and Macroeconomic Indicators10.1186/s40854-020-00220-2 ↗
13. Zhang, C., and Fang, J. (2019). Application Research of Several LSTM Variants in Power Quality Time Series Data Prediction. Proceedings of the 2nd International Conference on Artificial Intelligence and Pattern Recognition, Association for Computing Machinery.10.1145/3357254.3357269 ↗
14. Combining LSTM Network Ensemble via Adaptive Weighting for Improved Time Series Forecasting
15. Babu, A.S., and Reddy, S.K. (2015). Exchange Rate Forecasting Using ARIMA, Neural Network and Fuzzy Neuron. J. Stock Trad., 4.10.4172/2168-9458.1000155 ↗
16. Comparison of ARIMA and Artificial Neural Networks Models for Stock Price Prediction10.1155/2014/614342 ↗
17. Forecasting of Chinese E-Commerce Sales: An Empirical Comparison of ARIMA, Nonlinear Autoregressive Neural Network, and a Combined ARIMA-NARNN Model
18. Son, H., and Kim, C. (2020). A Deep Learning Approach to Forecasting Monthly Demand for Residential–Sector Electricity. Sustainability, 12.10.3390/su12083103 ↗
19. Stock Index Forecasting Based on a Hybrid Model10.1016/j.omega.2011.07.008 ↗
20. Islam, M.S., and Hossain, E. (2020). Foreign Exchange Currency Rate Prediction Using a GRU-LSTM Hybrid Network. Soft Comput. Lett., 100009.10.1016/j.socl.2020.100009 ↗
21. Musa, Y., and Joshua, S. (2020). Analysis of ARIMA-Artificial Neural Network Hybrid Model in Forecasting of Stock Market Returns. Asian J. Probab. Stat., 42–53.10.9734/ajpas/2020/v6i230157 ↗
22. Chinese Currency Exchange Rates Forecasting with EMD-Based Neural Network10.1155/2019/7458961 ↗
23. A Novel Hybrid Model Based on Recurrent Neural Networks for Stock Market Timing10.1007/s00500-020-04862-3 ↗
24. Hu, Z., Zhao, Y., and Khushi, M. (2021). A Survey of Forex and Stock Price Prediction Using Deep Learning. Appl. Syst. Innov., 4.10.3390/asi4010009 ↗
25. Comparación de Los Métodos de Series de Tiempo y Redes Neuronales10.21704/ac.v75i2.960 ↗
26. Box, G.E.P., Jenkins, G.M., Reinsel, G.C., and Ljung, G.M. (2015). Time Series Analysis: Forecasting and Control, Wiley. [5th ed.].
27. A Review on Time Series Forecasting Techniques for Building Energy Consumption10.1016/j.rser.2017.02.085 ↗
28. Lewis, N.D.C. (2016). Deep Time Series Forecasting with Python: An Intuitive Introduction to Deep Learning for Applied Time Series Modeling, CreateSpace Independent Publishing Platform.
29. Géron, A. (2017). Hands-On Machine Learning with Scikit-Learn and TensorFlow, O’Reilly Media, Inc.
30. Forex Exchange Rate Forecasting Using Deep Recurrent Neural Networks10.1007/s42521-020-00019-x ↗
31. Gal, Y., and Ghahramani, Z. (2016). A Theoretically Grounded Application of Dropout in Recurrent Neural Networks. arXiv.
32. Performance Metrics (Error Measures) in Machine Learning Regression, Forecasting and Prognostics: Properties and Typology
33. Theil’s Forecast Accuracy Coefficient: A Clarification10.1177/002224377301000413 ↗
34. A Case Study on Using Neural Networks to Perform Technical Forecasting of Forex10.1016/S0925-2312(00)00300-3 ↗
35. Zhang, L., Aggarwal, C., and Qi, G.-J. (2017). Stock Price Prediction via Discovering Multi-Frequency Trading Patterns. Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery.10.1145/3097983.3098117 ↗
36. Forecasting Exchange Rate Using Deep Belief Networks and Conjugate Gradient Method10.1016/j.neucom.2015.04.071 ↗
37. Forecasting Stock Market Movement Direction with Support Vector Machine10.1016/j.cor.2004.03.016 ↗
38. Deep Networks for Predicting Direction of Change in Foreign Exchange Rates10.1002/isaf.1404 ↗
39. A Strength-Biased Prediction Model for Forecasting Exchange Rates Using Support Vector Machines and Genetic Algorithms10.1007/s00500-016-2216-9 ↗
40. Bao, W., Yue, J., and Rao, Y. (2017). A Deep Learning Framework for Financial Time Series Using Stacked Autoencoders and Long-Short Term Memory. PLoS ONE, 12.10.1371/journal.pone.0180944 ↗
41. Lin, H., Sun, Q., and Chen, S.-Q. (2020). Reducing Exchange Rate Risks in International Trade: A Hybrid Forecasting Approach of CEEMDAN and Multilayer LSTM. Sustainability, 12.10.3390/su12062451 ↗
42. Sreeram, L., and Sayed, S.A. (2020). Short-Term Forecasting Ability of Hybrid Models for BRIC Currencies. Glob. Bus. Rev., 0972150920954615.10.1177/0972150920954615 ↗