International Journal of Computer Theory and Engineering

Editor-In-Chief: Prof. Mehmet Sahinoglu
Frequency: Quarterly
ISSN: 1793-8201 (Print), 2972-4511 (Online)
Publisher:IACSIT Press

OPEN ACCESS
4.1
CiteScore

⚠️ Important Security Notice: Beware of Fraudulent Emails Impersonating IJCTE Officials
IJCTE 2025 Vol.17(4): 179-188
DOI: 10.7763/IJCTE.2025.V17.1380

Financial Forecasting in Consumer Cyclicals with Economic Indicators and Tokenization

Kasper Krawczyk1,*, Gary K. L. Tam1, and Daniel Archambault2
1. School of Mathematics and Computer Science, Swansea University, Swansea, United Kingdom
2. School of Computing, Newcastle University, Newcastle, United Kingdom
Email: kasper.krawczyk@gmail.com (K.K.); k.l.tam@swansea.ac.uk (G.K.L.T.); daniel.archambault@newcastle.ac.uk (D.A.)
*Corresponding author

Manuscript received September 25, 2024; revised November 5, 2024; accepted May 16, 2025; published October 23, 2025

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

Keywords—time series, forecasting, transformer, finance, stocks

[PDF]

Cite: Kasper Krawczyk, Gary K. L. Tam, and Daniel Archambault, "Financial Forecasting in Consumer Cyclicals with Economic Indicators and Tokenization," International Journal of Computer Theory and Engineering, vol. 17, no. 4, pp. 179-188, 2025.

Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

Menu