Comparative analysis of long-short term memory, gated recurrent unit, and extreme gradient boosting for forex prediction: a deep learning approach

Riya Adlakha*, Soheil Varastehpour, Masoud Shakiba, Iman Ardekani

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contributionpeer-review

Abstract

The Foreign Exchange (Forex) market is a dynamic arena where fortunes are won and lost in an instant inside the ever-changing financial markets, which are typified by the complex dance of global currencies. Accurate forecasting is essential for financial success in the volatile Forex market. This paper supports the use of cutting-edge machine learning methods in financial forecasting, with a particular emphasis on four currency pairs, namely, EUR/USD, GBP/USD, AUD/USD, and NZD/USD. The aim of paper is to conduct a comparative analysis of three models for Forex prediction: Long-Short Term Memory (LSTM), Gated Recurrent Unit (GRU), and eXtreme Gradient Boosting (XGBoost). These models are then thoroughly assessed using a wide range of measures, such as the Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), R2 Score, and Explained Variance Score, in addition to the Sharpe Ratio for risk-adjusted returns. The results not only confirm that LSTM is a reliable tool for financial forecasting, but it also emphasises how important it is to use gradient boosting and deep learning techniques to improve the accuracy of market trend predictions.

Original languageEnglish
Title of host publication2024 1st International Conference on Innovative Engineering Sciences and Technological Research (ICIESTR-2024)
Place of PublicationPiscataway, NJ
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Number of pages6
ISBN (Electronic)9798350348637
ISBN (Print)9798350348644
DOIs
Publication statusPublished - 2024
Externally publishedYes
Event1st International Conference on Innovative Engineering Sciences and Technological Research, ICIESTR 2024 - Muscat, Oman
Duration: 14 May 202415 May 2024

Conference

Conference1st International Conference on Innovative Engineering Sciences and Technological Research, ICIESTR 2024
Country/TerritoryOman
CityMuscat
Period14/05/2415/05/24

Keywords

  • LSTM
  • XGBoost
  • GRU
  • Forex

Cite this