From attention to profit: quantitative trading strategy based on transformer

Zhaofeng Zhang, Banghao Chen, Shengxin Zhu, Nicolas Langrené
{"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}
引用次数: 0

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从关注到盈利:基于变压器的量化交易策略
在传统的量化交易实践中,如何驾驭复杂多变的金融市场一直是个难题。以往的机器学习方法难以完全捕捉各种市场变量,往往忽略了长期信息,无法捕捉到可能带来利润的重要信号。本文介绍了一种增强型转换器架构,并在此基础上设计了一种新型因子。通过从情感分析中转移学习,所提出的模型不仅在捕捉长期依赖关系和模拟复杂数据关系方面发挥了其原有的固有优势,而且还能解决数值输入任务,并准确预测未来一段时间内的回报。本研究收集了 2010 年至 2019 年中国资本市场 4601 只股票的 500 多万条滚动数据。研究结果表明,与其他 100 种基于因子的量化策略相比,该模型在预测股票走势方面表现出色,换手率更低,半衰期更稳健。值得注意的是,该模型创新性地使用变压器建立因子,并结合市场情绪信息,大大提高了交易信号的准确性,从而为量化交易策略的未来发展提供了良好的启示。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A market resilient data-driven approach to option pricing COMEX Copper Futures Volatility Forecasting: Econometric Models and Deep Learning Ergodicity and Law-of-large numbers for the Volterra Cox-Ingersoll-Ross process Irreversible investment under weighted discounting: effects of decreasing impatience Long-term decomposition of robust pricing kernels under G-expectation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1