On searching the best mode for forex forecasting: bidirectional long short-term memory default mode is not enough

Seng Hansun, Farica Perdana Putri, Abdul Q. M. Khaliq, Hugeng Hugeng

Abstract


Presently, the Forex market has become the world’s largest financial market with more than US$5 trillion daily volume. Therefore, it attracts many researchers to learn its traded currency pairs characteristics and predict their future values. Here, we propose simple three layers Bidirectional long short-term memory (Bi-LSTM) networks for Forex forecasting with four different merge modes. Moreover, the proposed model is also compared to the conventional long short-term memory (LSTM) networks with the same architecture. Five major Forex currency pairs, namely AUD/USD, EUR/USD, GBP/USD, USD/CHF, and USD/JPY, with more than ten years of historical records are considered in this study. It is revealed from the experimental results that among four available merge modes, the concatenation mode as the default merge mode in Bi-LSTM networks is actually the less preferred mode for Forex forecasting (Root mean square error 0.30685517, mean absolute error 0.27442235, mean absolute percentage error 0.827108%). Moreover, Bi-LSTM average mode gets the highest R2 score that could achieve 89.579%. Therefore, the proposed three layers Bi-LSTM networks could provide a baseline result for developing a good trading strategy in Forex forecasting.

Keywords


Bidirectional long short-term memory; Currency pair; Deep learning; Forex forecasting; Long short-term memory;

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v11.i4.pp1596-1606

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

View IJAI Stats