Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis

Abstract Since it is one of the world's most significant financial markets, the foreign exchange (Forex) market has attracted a large number of investors. Accurately anticipating the forex trend has remained a popular but difficult issue to aid Forex traders' trading decisions. It is alway...

Full description

Bibliographic Details
Main Authors: Michael Ayitey Junior, Peter Appiahene, Obed Appiah
Format: Article
Language:English
Published: SpringerOpen 2022-06-01
Series:Journal of Electrical Systems and Information Technology
Subjects:
Online Access:https://doi.org/10.1186/s43067-022-00054-1
_version_ 1817976528800055296
author Michael Ayitey Junior
Peter Appiahene
Obed Appiah
author_facet Michael Ayitey Junior
Peter Appiahene
Obed Appiah
author_sort Michael Ayitey Junior
collection DOAJ
description Abstract Since it is one of the world's most significant financial markets, the foreign exchange (Forex) market has attracted a large number of investors. Accurately anticipating the forex trend has remained a popular but difficult issue to aid Forex traders' trading decisions. It is always a question of how precise a Forex prediction can be because of the market's tremendous complexity. The fast advancement of machine learning in recent decades has allowed artificial neural networks to be effectively adapted to several areas, including the Forex market. As a result, a slew of research articles aimed at improving the accuracy of currency forecasting has been released. The Long Short-Term Memory (LSTM) neural network, which is a special kind of artificial neural network developed exclusively for time series data analysis, is frequently used. Due to its high learning capacity, the LSTM neural network is increasingly being utilized to predict advanced Forex trading based on previous data. This model, on the other hand, can be improved by stacking it. The goal of this study is to choose a dataset using the Hurst exponent, then use a two-layer stacked Long Short-Term Memory (TLS-LSTM) neural network to forecast the trend and conduct a correlation analysis. The Hurst exponent (h) was used to determine the predictability of the Australian Dollar and United States Dollar (AUD/USD) dataset. TLS-LSTM algorithm is presented to improve the accuracy of Forex trend prediction of Australian Dollar and United States Dollar (AUD/USD). A correlation study was performed between the AUD/USD, the Euro and the Australian Dollar (EUR/AUD), and the Australian Dollar and the Japanese Yen (AUD/JPY) to see how AUD/USD movement affects EUR/AUD and AUD/JPY. The model was compared with Single-Layer Long Short-Term (SL-LSTM), Multilayer Perceptron (MLP), and Complete Ensemble Empirical Mode Decomposition with Adaptive Noise–Improved Firefly Algorithm Long Short-Term Memory. Based on the evaluation metrics Mean Square Error (MSE), Root Mean Square Error, and Mean Absolute Error, the suggested TLS-LSTM, whose data selection is based on the Hurst exponent (h) value of 0.6026, outperforms SL-LSTM, MLP, and CEEMDAN-IFALSTM. The correlation analysis conducted shows both positive and negative relations between AUD/USD, EUR/AUD, and AUD/JPY which means that a change in AUD/USD will affect EUR/AUD and AUD/JPY as recorded depending on the magnitude of the correlation coefficient (r).
first_indexed 2024-04-13T22:04:47Z
format Article
id doaj.art-11995e80a2fd4f8e80cb371e0d9cfd3d
institution Directory Open Access Journal
issn 2314-7172
language English
last_indexed 2024-04-13T22:04:47Z
publishDate 2022-06-01
publisher SpringerOpen
record_format Article
series Journal of Electrical Systems and Information Technology
spelling doaj.art-11995e80a2fd4f8e80cb371e0d9cfd3d2022-12-22T02:27:58ZengSpringerOpenJournal of Electrical Systems and Information Technology2314-71722022-06-019112410.1186/s43067-022-00054-1Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysisMichael Ayitey Junior0Peter Appiahene1Obed Appiah2Department of Computer Science and Informatics, School of Sciences, University of Energy and Natural ResourcesDepartment of Computer Science and Informatics, School of Sciences, University of Energy and Natural ResourcesDepartment of Computer Science and Informatics, School of Sciences, University of Energy and Natural ResourcesAbstract Since it is one of the world's most significant financial markets, the foreign exchange (Forex) market has attracted a large number of investors. Accurately anticipating the forex trend has remained a popular but difficult issue to aid Forex traders' trading decisions. It is always a question of how precise a Forex prediction can be because of the market's tremendous complexity. The fast advancement of machine learning in recent decades has allowed artificial neural networks to be effectively adapted to several areas, including the Forex market. As a result, a slew of research articles aimed at improving the accuracy of currency forecasting has been released. The Long Short-Term Memory (LSTM) neural network, which is a special kind of artificial neural network developed exclusively for time series data analysis, is frequently used. Due to its high learning capacity, the LSTM neural network is increasingly being utilized to predict advanced Forex trading based on previous data. This model, on the other hand, can be improved by stacking it. The goal of this study is to choose a dataset using the Hurst exponent, then use a two-layer stacked Long Short-Term Memory (TLS-LSTM) neural network to forecast the trend and conduct a correlation analysis. The Hurst exponent (h) was used to determine the predictability of the Australian Dollar and United States Dollar (AUD/USD) dataset. TLS-LSTM algorithm is presented to improve the accuracy of Forex trend prediction of Australian Dollar and United States Dollar (AUD/USD). A correlation study was performed between the AUD/USD, the Euro and the Australian Dollar (EUR/AUD), and the Australian Dollar and the Japanese Yen (AUD/JPY) to see how AUD/USD movement affects EUR/AUD and AUD/JPY. The model was compared with Single-Layer Long Short-Term (SL-LSTM), Multilayer Perceptron (MLP), and Complete Ensemble Empirical Mode Decomposition with Adaptive Noise–Improved Firefly Algorithm Long Short-Term Memory. Based on the evaluation metrics Mean Square Error (MSE), Root Mean Square Error, and Mean Absolute Error, the suggested TLS-LSTM, whose data selection is based on the Hurst exponent (h) value of 0.6026, outperforms SL-LSTM, MLP, and CEEMDAN-IFALSTM. The correlation analysis conducted shows both positive and negative relations between AUD/USD, EUR/AUD, and AUD/JPY which means that a change in AUD/USD will affect EUR/AUD and AUD/JPY as recorded depending on the magnitude of the correlation coefficient (r).https://doi.org/10.1186/s43067-022-00054-1ForexTime seriesNeural networkStacked LSTMHurst exponentCorrelation analysis
spellingShingle Michael Ayitey Junior
Peter Appiahene
Obed Appiah
Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
Journal of Electrical Systems and Information Technology
Forex
Time series
Neural network
Stacked LSTM
Hurst exponent
Correlation analysis
title Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
title_full Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
title_fullStr Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
title_full_unstemmed Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
title_short Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis
title_sort forex market forecasting with two layer stacked long short term memory neural network lstm and correlation analysis
topic Forex
Time series
Neural network
Stacked LSTM
Hurst exponent
Correlation analysis
url https://doi.org/10.1186/s43067-022-00054-1
work_keys_str_mv AT michaelayiteyjunior forexmarketforecastingwithtwolayerstackedlongshorttermmemoryneuralnetworklstmandcorrelationanalysis
AT peterappiahene forexmarketforecastingwithtwolayerstackedlongshorttermmemoryneuralnetworklstmandcorrelationanalysis
AT obedappiah forexmarketforecastingwithtwolayerstackedlongshorttermmemoryneuralnetworklstmandcorrelationanalysis