MFAICEMar 30, 2024

Quantformer: from attention to profit with a quantitative transformer trading strategy

arXiv:2404.00424v39 citationsh-index: 4Expert syst appl
Originality Incremental advance
AI Analysis

This work addresses the problem of improving trading signal accuracy for quantitative traders in financial markets, representing an incremental advancement by adapting existing transformer models to this domain.

The paper tackled the challenge of predicting stock trends in quantitative trading by introducing Quantformer, a transformer-based architecture that incorporates sentiment analysis, achieving superior performance compared to 100-factor-based strategies on a dataset of over 5,000,000 rolling data points from 4,601 Chinese stocks.

In traditional quantitative trading practice, navigating the complicated and dynamic financial market presents a persistent challenge. Fully capturing various market variables, including long-term information, as well as essential signals that may lead to profit remains a difficult task for learning algorithms. In order to tackle this challenge, this paper introduces quantformer, an enhanced neural network architecture based on transformer, to build investment factors. By transfer learning from sentiment analysis, quantformer not only exploits its original inherent advantages in capturing long-range dependencies and modeling complex data relationships, but is also able to solve tasks with numerical inputs and accurately forecast future returns over a given period. This work collects more than 5,000,000 rolling data of 4,601 stocks in the Chinese capital market from 2010 to 2023. The results of this study demonstrate the model's superior performance in predicting stock trends compared with other 100-factor-based quantitative strategies. Notably, the model's innovative use of transformer-like model to establish factors, in conjunction with market sentiment information, has been shown to enhance the accuracy of trading signals significantly, thereby offering promising implications for the future of quantitative trading strategies.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes