1. Quantformer: from attention to profit with a quantitative transformer trading strategy
- Author
-
Zhang, Zhaofeng, Chen, Banghao, Zhu, Shengxin, and Langrené, Nicolas
- Subjects
Quantitative Finance - Mathematical Finance ,Computer Science - Artificial Intelligence ,Computer Science - Computational Engineering, Finance, and Science ,G.3 ,J.2 - Abstract
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 transformers, 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 2019. The results of this study demonstrated 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-liked 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.
- Published
- 2024