Enhancing Forex Market Forecasting with ConvLSTM2D: A Comprehensive Analysis of Spatiotemporal Dependencies and Data Preprocessing Techniques

dc.contributor.authorSanaei, Behzad
dc.contributor.authorDaneshvar, Sahand
dc.date.accessioned2026-02-06T18:34:20Z
dc.date.issued2025
dc.departmentDoğu Akdeniz Üniversitesi
dc.description.abstractAccurate forecasting in the FX (FX) is critical due to its significant role in global economic activities and the intricate interrelations between currencies. These relationships are inherently nonlinear and spatiotemporal, reflecting complex patterns influenced by economic, political, and social factors. This study leverages Convolutional Long Short-Term Memory Two-Dimensional (ConvLSTM2D), a Deep Learning (DL) model uniquely capable of capturing such dependencies, to forecast multiple currency pairs simultaneously, capturing interdependencies that would be missed in separate analyses. The primary goal is to predict the next hour's price values for multiple currency pairs in a 1-hour timeframe, visualizing FX data as sequences of frames for simultaneous analysis. To optimize prediction accuracy, different combinations of hyperparameters in the preprocessing phase were tested, including hierarchical clustering for data arrangement, frame heights, time steps, and two scaling methods: Value at Risk (VaR) and Rolling Window (RW). To assess the importance of individual hyperparameters and their combinations on forecasting accuracy, Random Forest (RF) was employed, and SHAP (SHapley Additive exPlanations) values were subsequently applied. The study identified the optimal configuration for accurate predictions: hierarchical single arrangement, rolling window scaling (window size of 16), time steps of 8, and frame height of 8. This setup achieved a Mean Absolute Percentage Error (MAPE) of 0.037 on the validation dataset and 0.04 on the test dataset. RF highlighted data arrangement, scaling method, time steps, and frame height as the most critical factors, while SHAP verified their impact on the results, further validating the robustness of the optimal configuration. These findings demonstrate the effectiveness of ConvLSTM2D in enhancing the accuracy of FX predictions and provide new insights into the role of data preprocessing techniques in financial forecasting.
dc.description.sponsorshipEastern Mediterranean University
dc.description.sponsorshipWe would like to express our gratitude to Dr Ramtin Nazerian for his invaluable ideas and support throughout this research. His insights and encouragement were instrumental in the completion of this work.
dc.identifier.doi10.1007/s10614-025-10974-5
dc.identifier.issn0927-7099
dc.identifier.issn1572-9974
dc.identifier.orcid0000-0002-8597-3463
dc.identifier.orcid0009-0008-8804-3182
dc.identifier.scopus2-s2.0-105005108395
dc.identifier.scopusqualityQ1
dc.identifier.urihttps://doi.org/10.1007/s10614-025-10974-5
dc.identifier.urihttps://hdl.handle.net/11129/11755
dc.identifier.wosWOS:001488391800001
dc.identifier.wosqualityQ2
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.language.isoen
dc.publisherSpringer
dc.relation.ispartofComputational Economics
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_WoS_20260204
dc.subjectDeep learning
dc.subjectForex market forecasting
dc.subjectValue at risk
dc.subjectConvLSTM2D
dc.subjectSHAP
dc.subjectHyperparameter optimization
dc.titleEnhancing Forex Market Forecasting with ConvLSTM2D: A Comprehensive Analysis of Spatiotemporal Dependencies and Data Preprocessing Techniques
dc.typeArticle

Files