English

Financial Time Series Forecasting using CNN and Transformer

Machine Learning 2023-04-12 v1 Artificial Intelligence Econometrics Computational Finance

Abstract

Time series forecasting is important across various domains for decision-making. In particular, financial time series such as stock prices can be hard to predict as it is difficult to model short-term and long-term temporal dependencies between data points. Convolutional Neural Networks (CNN) are good at capturing local patterns for modeling short-term dependencies. However, CNNs cannot learn long-term dependencies due to the limited receptive field. Transformers on the other hand are capable of learning global context and long-term dependencies. In this paper, we propose to harness the power of CNNs and Transformers to model both short-term and long-term dependencies within a time series, and forecast if the price would go up, down or remain the same (flat) in the future. In our experiments, we demonstrated the success of the proposed method in comparison to commonly adopted statistical and deep learning methods on forecasting intraday stock price change of S&P 500 constituents.

Keywords

Cite

@article{arxiv.2304.04912,
  title  = {Financial Time Series Forecasting using CNN and Transformer},
  author = {Zhen Zeng and Rachneet Kaur and Suchetha Siddagangappa and Saba Rahimi and Tucker Balch and Manuela Veloso},
  journal= {arXiv preprint arXiv:2304.04912},
  year   = {2023}
}

Comments

Published at AAAI 2023 - AI for Financial Services Bridge

R2 v1 2026-06-28T09:58:37.147Z