Journal article 428 views 23 downloads
Financial Forecasting in Consumer Cyclicals with Economic Indicators and Tokenization
International Journal of Computer Theory and Engineering, Volume: 17, Issue: 4, Pages: 179 - 188
Swansea University Authors:
Kasper Krawczyk, Gary Tam
-
PDF | Version of Record
© 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY).
Download (2.32MB)
DOI (Published version): 10.7763/ijcte.2025.v17.1380
Abstract
Machine learning in financial Time Series Forecasting (TSF) has a clear application in investment, where predicting stock price movements can inform investment strategies. The Transformer model has emerged as a powerful tool for this purpose, yet significant research gaps remain. Existing studies of...
| Published in: | International Journal of Computer Theory and Engineering |
|---|---|
| ISSN: | 1793-8201 2972-4511 |
| Published: |
IACSIT Press
2025
|
| Online Access: |
Check full text
|
| URI: | https://cronfa.swan.ac.uk/Record/cronfa69661 |
| Abstract: |
Machine learning in financial Time Series Forecasting (TSF) has a clear application in investment, where predicting stock price movements can inform investment strategies. The Transformer model has emerged as a powerful tool for this purpose, yet significant research gaps remain. Existing studies often focus on a set of stocks without modeling stock behavior within specific sectors. Notably, there is a lack of research on the Consumer Cyclicals (CC) industry, which includes sectors such as automotive, housing, entertainment, and retail. These industries are highly sensitive to economic conditions, making them crucial for understanding broader economic impacts on stock behavior. Furthermore, we observe that many existing works neglect broader economic contexts, which is particularly important for CC analysis due to its sensitivity to economic trends. Additionally, previous studies on financial Transformer models typically use model tokens as feature vectors of multiple variates at a single timestep. This approach may not adequately capture the important relationships between dataset variates for long-term economic trends. To this end, we present the first study on financial TSF for the CC sector along with economic data. To support the research, we propose the first public benchmark dataset for the CC sector, consisting of traditional stock price time series, technical indicators, and temporal data, enriched with economic indicators. Next, we introduce an alternative tokenization approach to enhance the model’s ability to capture long-term trends by preserving information about nonlinear dependencies between dataset variates. We hypothesize that this approach helps capture long-term signals more effectively. Through a comprehensive data ablation study and benchmark testing, we demonstrate that incorporating economic indicators improves the accuracy of longer-term predictions for the CC sector, and the new tokenization method enhances the performance of Transformer models. The dataset and code are made publicly available at: https://github.com/KasperKrawczyk/econtrans_dataset |
|---|---|
| Item Description: |
The dataset and code are made publicly available at: https://github.com/KasperKrawczyk/econtrans_dataset |
| Keywords: |
time series, forecasting, transformer, finance, stocks |
| College: |
Faculty of Science and Engineering |
| Issue: |
4 |
| Start Page: |
179 |
| End Page: |
188 |

