Zhaofeng Zhang, Banghao Chen, Shengxin Zhu, Nicolas Langrené
{"title":"从关注到盈利:基于变压器的量化交易策略","authors":"Zhaofeng Zhang, Banghao Chen, Shengxin Zhu, Nicolas Langrené","doi":"arxiv-2404.00424","DOIUrl":null,"url":null,"abstract":"In traditional quantitative trading practice, navigating the complicated and\ndynamic financial market presents a persistent challenge. Former machine\nlearning approaches have struggled to fully capture various market variables,\noften ignore long-term information and fail to catch up with essential signals\nthat may lead the profit. This paper introduces an enhanced transformer\narchitecture and designs a novel factor based on the model. By transfer\nlearning from sentiment analysis, the proposed model not only exploits its\noriginal inherent advantages in capturing long-range dependencies and modelling\ncomplex data relationships but is also able to solve tasks with numerical\ninputs and accurately forecast future returns over a period. This work collects\nmore than 5,000,000 rolling data of 4,601 stocks in the Chinese capital market\nfrom 2010 to 2019. The results of this study demonstrated the model's superior\nperformance in predicting stock trends compared with other 100 factor-based\nquantitative strategies with lower turnover rates and a more robust half-life\nperiod. Notably, the model's innovative use transformer to establish factors,\nin conjunction with market sentiment information, has been shown to enhance the\naccuracy of trading signals significantly, thereby offering promising\nimplications for the future of quantitative trading strategies.","PeriodicalId":501084,"journal":{"name":"arXiv - QuantFin - Mathematical Finance","volume":"25 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"From attention to profit: quantitative trading strategy based on transformer\",\"authors\":\"Zhaofeng Zhang, Banghao Chen, Shengxin Zhu, Nicolas Langrené\",\"doi\":\"arxiv-2404.00424\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In traditional quantitative trading practice, navigating the complicated and\\ndynamic financial market presents a persistent challenge. Former machine\\nlearning approaches have struggled to fully capture various market variables,\\noften ignore long-term information and fail to catch up with essential signals\\nthat may lead the profit. This paper introduces an enhanced transformer\\narchitecture and designs a novel factor based on the model. By transfer\\nlearning from sentiment analysis, the proposed model not only exploits its\\noriginal inherent advantages in capturing long-range dependencies and modelling\\ncomplex data relationships but is also able to solve tasks with numerical\\ninputs and accurately forecast future returns over a period. This work collects\\nmore than 5,000,000 rolling data of 4,601 stocks in the Chinese capital market\\nfrom 2010 to 2019. The results of this study demonstrated the model's superior\\nperformance in predicting stock trends compared with other 100 factor-based\\nquantitative strategies with lower turnover rates and a more robust half-life\\nperiod. Notably, the model's innovative use transformer to establish factors,\\nin conjunction with market sentiment information, has been shown to enhance the\\naccuracy of trading signals significantly, thereby offering promising\\nimplications for the future of quantitative trading strategies.\",\"PeriodicalId\":501084,\"journal\":{\"name\":\"arXiv - QuantFin - Mathematical Finance\",\"volume\":\"25 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - QuantFin - Mathematical Finance\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2404.00424\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Mathematical Finance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.00424","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
From attention to profit: quantitative trading strategy based on transformer
In traditional quantitative trading practice, navigating the complicated and
dynamic financial market presents a persistent challenge. Former machine
learning approaches have struggled to fully capture various market variables,
often ignore long-term information and fail to catch up with essential signals
that may lead the profit. This paper introduces an enhanced transformer
architecture and designs a novel factor based on the model. By transfer
learning from sentiment analysis, the proposed model not only exploits its
original inherent advantages in capturing long-range dependencies and modelling
complex data relationships but is also able to solve tasks with numerical
inputs and accurately forecast future returns over a 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 with lower turnover rates and a more robust half-life
period. Notably, the model's innovative use transformer 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.