Journal of Finance and Economics
ISSN (Print): 2328-7284 ISSN (Online): 2328-7276 Website: https://www.sciepub.com/journal/jfe Editor-in-chief: Suman Banerjee
Open Access
Journal Browser
Go
Journal of Finance and Economics. 2023, 11(2), 68-77
DOI: 10.12691/jfe-11-2-1
Open AccessArticle

Forecasting Exchange Rates Using Artificial Neural Networks

Emmanuel Erem1, 2,

1Department of Economics and Finance, Maynooth University, Ireland

2Faculty of Business and Management Sciences, Mountains of the Moon University, Uganda

Pub. Date: May 10, 2023

Cite this paper:
Emmanuel Erem. Forecasting Exchange Rates Using Artificial Neural Networks. Journal of Finance and Economics. 2023; 11(2):68-77. doi: 10.12691/jfe-11-2-1

Abstract

This article uses the single hidden layer perceptron neural network structure to forecast daily, weekly and monthly exchange rate data on the Swiss Franc (CHF), British Pound Sterling (GBP), and United States Dollar (USD), all per Euro (EUR). The results show good accuracy of the model as evidenced by the low mean absolute error and root mean square error, especially for the daily frequency data. Furthermore, the neural network performs best in out-of-sample predictions for the CHF/EUR currency pair for daily and weekly predictions, and best for the GBP/EUR pair when it comes to monthly frequency data. The USD/EUR pair proves more difficult to model, performing worst, especially in the validation period. The non-linear nature of the neural network goes a long way in learning and capturing complex movements in the exchange rates as shown in the in-sample and out-of-sample graphs; a clear advantage when compared to the traditional linear prediction models. The contribution of this research is that it demonstrates the applicability of machine learning techniques to financial and economic data, clearly demonstrating the data frequencies that perform best when subjected to these algorithms. These findings are very relevant to forex traders, including commercial banks, central banks, and other monetary policy authorities. It can be argued that when it comes to risk mitigation, especially with the complexity and patterns in exchange rate movements, the neural network-based models may do a much better job compared to the traditional linear models.

Keywords:
predicting/forecasting exchange rates artificial neural networks training period validation period in-sample out-of-sample

Creative CommonsThis work is licensed under a Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

References:

[1]  Huang, W., Lai, K.K., Nakamori, Y. and Wang, S. (2004), Forecasting foreign exchange rates with artificial neural networks: A review, International Journal of Information Technology & Decision Making, 3(01), 145-165.
 
[2]  Meese, R. and Rogoff, K. (1983), The out-of-sample failure of empirical exchange rate models: sampling error or misspecification? in Exchange rates and international macroeconomics University of Chicago Press, 67-112.
 
[3]  Galeshchuk, S. and Mukherjee, S. (2017), Deep networks for predicting direction of change in foreign exchange rates, Intelligent Systems in Accounting, Finance and Management, 24(4), 100-110.
 
[4]  Markova, M., Foreign exchange rate forecasting by artificial neural networks, in 2019, AIP Publishing LLC, 060010.
 
[5]  Adewole, A.P., Akinwale, A.T. and Akintomide, A.B. (2011), Artificial neural network model for forecasting foreign exchange rate.
 
[6]  Panda, C. and Narasimhan, V. (2007), Forecasting exchange rate better with artificial neural network, Journal of Policy Modeling, 29(2), 227-236.
 
[7]  Aydin, A.D. and Cavdar, S.C. (2015), Comparison of prediction performances of artificial neural network (ANN) and vector autoregressive (VAR) Models by using the macroeconomic variables of gold prices, Borsa Istanbul (BIST) 100 index and US Dollar-Turkish Lira (USD/TRY) exchange rates, Procedia Economics and Finance, 30, 3-14.
 
[8]  Lasheras, F.S., de Cos Juez, F.J., Sánchez, A.S., Krzemień, A. and Fernández, P.R. (2015), Forecasting the COMEX copper spot price by means of neural networks and ARIMA models, Resources Policy, 45, 37-43.
 
[9]  Koprinska, I., Wu, D. and Wang, Z., Convolutional neural networks for energy time series forecasting, in 2018, IEEE, 1-8.
 
[10]  Matyjaszek, M., Fernández, P.R., Krzemień, A., Wodarski, K. and Valverde, G.F. (2019), Forecasting coking coal prices by means of ARIMA models and neural networks, considering the transgenic time series theory, Resources Policy, 61, 283-292.
 
[11]  Eskandari, H., Imani, M. and Moghaddam, M.P. (2021), Convolutional and recurrent neural network based model for short-term load forecasting, Electric Power Systems Research, 195, 107173.
 
[12]  Yang, S., Deng, Z., Li, X., Zheng, C., Xi, L., Zhuang, J., Zhang, Z. and Zhang, Z. (2021), A novel hybrid model based on STL decomposition and one-dimensional convolutional neural networks with positional encoding for significant wave height forecast, Renewable Energy.
 
[13]  Borovykh, A., Bohte, S. and Oosterlee, C.W. (2017), Conditional time series forecasting with convolutional neural networks, arXiv preprint arXiv:1703.04691.
 
[14]  Lai, G., Chang, W.-C., Yang, Y. and Liu, H., Modeling long-and short-term temporal patterns with deep neural networks, in 2018, 95-104.
 
[15]  Leung, M.T., Chen, A.-S. and Daouk, H. (2000), Forecasting exchange rates using general regression neural networks, Computers & Operations Research, 27(11-12), 1093-1110.
 
[16]  Ni, L., Li, Y., Wang, X., Zhang, J., Yu, J. and Qi, C. (2019), Forecasting of forex time series data based on deep learning, Procedia computer science, 147, 647-652.
 
[17]  Alizadeh, M., Rada, R., Balagh, A.K.G. and Esfahani, M.M.S. (2020), Forecasting exchange rates: A neuro-fuzzy approach, UMBC Faculty Collection.
 
[18]  Sharma, H., Sharma, D.K. and Hota, H.S. (2016), A hybrid neuro-fuzzy model for foreign exchange rate prediction, Academy of Accounting and Financial Studies Journal, 20(3), 1.
 
[19]  Shen, F., Chao, J. and Zhao, J. (2015), Forecasting exchange rate using deep belief networks and conjugate gradient method, Neurocomputing, 167, 243-253.
 
[20]  Henriquez, J. and Kristjanpoller, W. (2019), A combined Independent Component Analysis–Neural Network model for forecasting exchange rate variation, Applied Soft Computing, 83, 105654.
 
[21]  Sermpinis, G., Dunis, C., Laws, J. and Stasinakis, C. (2012), Forecasting and trading the EUR/USD exchange rate with stochastic Neural Network combination and time-varying leverage, Decision Support Systems, 54(1), 316-329.
 
[22]  Sermpinis, G., Karathanasopoulos, A., Rosillo, R. and de la Fuente, D. (2019), Neural networks in financial trading, Annals of Operations Research, 1-16.
 
[23]  Sermpinis, G., Theofilatos, K., Karathanasopoulos, A., Georgopoulos, E.F. and Dunis, C. (2013), Forecasting foreign exchange rates with adaptive neural networks using radial-basis functions and particle swarm optimization, European Journal of Operational Research, 225(3), 528-540.
 
[24]  Dunis, C.L., Laws, J. and Sermpinis, G. (2011), Higher order and recurrent neural architectures for trading the EUR/USD exchange rate, Quantitative Finance, 11(4), 615-629.
 
[25]  Stasinakis, C., Sermpinis, G., Theofilatos, K. and Karathanasopoulos, A. (2016), Forecasting US unemployment with radial basis neural networks, Kalman filters and support vector regressions, Computational Economics, 47(4), 569-587.
 
[26]  Simplilearn, (2019). Neural network in 5 minutes. Available at: https://youtu.be/bfmFfD2RIcg (Accessed 26 April 2023).