Optimizing Long Short-Term Memory to Predict Currency Rates

Author:

Lubis Yarham Syahabi,Rizqy Septyandy Muhammad,Debora Br Barus Mika

Abstract

As a travel destination, Saudi Arabia attracts individuals worldwide, including tourists, investors, and immigrant workers, for various purposes, including trip planning, investment decisions, and remittance transfers. Indonesia and Pakistan are the biggest countries that send Umrah and Hajj pilgrims. We need to predict currency rates in 3 pairs of currencies that are frequently used by travel agencies, Hajj and Umrah pilgrims, such as the Saudi Riyal (SAR) against the Pakistani Rupee, the SAR against the Indonesian Rupiah (IDR), and the United States Dollar (USD) against the IDR. This study utilizes Long Short-Term Memory (LSTM) models, the machine learning approach for predicting currency pairs exchange rates. Previous studies succeeded in predicting USD/IDR rates using the LSTM time series-machine learning approach, but the root mean square error (RMSE) value was the worst 271. The research aims to optimize the LSTM to predict the currency rate in the future using historical data obtained from investing.com. We use Python to predict the currency rate pairs, following an experimental investigation with adjustments to the batch size, epoch, and prediction days. The experimental results show that SAR/PKR has a smaller mean square error (MSE) of 0.94, RMSE of 0.97, and MAE of 0.61, while SAR/IDR and USD/IDR Excel with Models 2 and 1 have smaller MSEs of 317.79 and 6654.41, RMSEs of 17.82 and 81.57, and MAEs of 10.54 and 50.12, respectively.

Publisher

Dr. Soetomo University

Reference19 articles.

1. Islamic Landmarks. "Hajj quota 2023: Hajj pilgrimage quotas for countries around the world: Islamic landmarks." Available at: (https://www.islamiclandmarks.com/makkah-hajj-places/hajj-quota). Accessed November 8, 2023.

2. Investopedia. "Exchange Rates: What They Are, How They Work, Why They Fluctuate." Available at: (https://www.investopedia.com/terms/e/exchangerate.asp). Accessed November 8, 2023.

3. Permana, D., & Fitri, I. A. "Application of Fuzzy Time Series-Markov Chain Method in Forecasting Data of Exchange Rate Riyal-Rupiah." Journal of Physics: Conference Series, 1554, 012005*, 2020. [doi:10.1088/1742-6596/1554/1/012005].

4. Zahroh, S., Hidayat, Y., Septiani, R., Jiwani, R., Jiwani, N.M., Supartini, E., Sukono. "Indonesian Rupiah Exchange Rate in Facing COVID-19 (A Time Series-Machine Learning Approach)." Journal of Advanced Research in Dynamical & Control Systems, Vol. 12, Issue-06*, 2020.

5. Qu, Y., & Zhao, X. "Application of LSTM Neural Network in Forecasting Foreign Exchange Price." Journal of Physics: Conf. Series 1237, 2019. doi:10.1088/1742-6596/1237/4/042036.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3