Integrating CNNs and Transformers for Mid-price Prediction in High-Frequency Trading

Yuqing Tang, Shukun Ding, Di Zhang*

*Corresponding author for this work

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

Abstract

The Limit Order Book (LOB) serves as a real-time record of buy and sell orders for a specific asset, providing valuable insights into market demand and supply dynamics. Leveraging the information within the LOB, this study introduces a novel hybrid deep neural network framework that integrates convolutional neural networks (CNNs) with transformers to forecast future price changes in high-frequency trading data. The CNNs excel in extracting spatial features from LOB data, while transformers capture long-range dependencies, enabling the model to identify complex patterns across different price levels and time sequences. To enhance predictive accuracy, the framework includes a carefully designed convolutional kernel size tailored to the specific structure of LOB data, reducing the need for manual feature engineering. Thorough evaluations were conducted on the FI-2010 dataset, which comprises LOB data for five instruments from the Nasdaq Nordic stock market over a ten-day period. The results demonstrate that our model well outperforms traditional methods, achieving higher precision, recall, and F1-scores. This innovative approach not only advances the predictive accuracy in financial market forecasting but also offers potential applications in developing real-time trading strategies, improving market stability, and assisting in regulatory surveillance.

Original languageEnglish
Title of host publicationIntelligent Computers, Algorithms, and Applications - 4th BenchCouncil International Symposium, IC 2024, Revised Selected Papers
EditorsChunjie Luo, Weiping Li
PublisherSpringer Science and Business Media Deutschland GmbH
Pages61-77
Number of pages17
ISBN (Print)9789819663095
DOIs
Publication statusPublished - 2025
Event4th BenchCouncil International Symposium on Intelligent Computers, Algorithms, and Applications, IC 2024 - Guangzhou, China
Duration: 4 Dec 20246 Dec 2024

Publication series

NameCommunications in Computer and Information Science
Volume2517 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference4th BenchCouncil International Symposium on Intelligent Computers, Algorithms, and Applications, IC 2024
Country/TerritoryChina
CityGuangzhou
Period4/12/246/12/24

Keywords

  • CNNs
  • Time Series
  • Transformers

Fingerprint

Dive into the research topics of 'Integrating CNNs and Transformers for Mid-price Prediction in High-Frequency Trading'. Together they form a unique fingerprint.

Cite this