Stockformer: A price–volume factor stock selection model based on wavelet transform and multi-task self-attention networks

IF 7.5 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Expert Systems with Applications Pub Date : 2025-02-15 DOI:10.1016/j.eswa.2025.126803
Bohan Ma , Yushan Xue , Yuan Lu, Jing Chen
{"title":"Stockformer: A price–volume factor stock selection model based on wavelet transform and multi-task self-attention networks","authors":"Bohan Ma ,&nbsp;Yushan Xue ,&nbsp;Yuan Lu,&nbsp;Jing Chen","doi":"10.1016/j.eswa.2025.126803","DOIUrl":null,"url":null,"abstract":"<div><div>As the Chinese stock market continues to evolve and its market structure grows increasingly complex, traditional quantitative trading methods face escalating challenges. Due to policy uncertainty and frequent market fluctuations triggered by sudden economic events, existing models often struggle to predict market dynamics accurately. To address these challenges, this paper introduces “Stockformer,” a price–volume factor stock selection model that integrates wavelet transformation and a multitask self-attention network to enhance responsiveness and predictive accuracy regarding market instabilities. Through discrete wavelet transform, Stockformer decomposes stock returns into high and low frequencies, meticulously capturing long-term market trends and short-term fluctuations, including abrupt events. Moreover, the model incorporates a Dual-Frequency Spatiotemporal Encoder and graph embedding techniques to capture complex temporal and spatial relationships among stocks effectively. Employing a multitask learning strategy, it simultaneously predicts stock returns and directional trends. Experimental results show that Stockformer outperforms existing advanced methods on multiple real stock market datasets. In strategy backtesting, Stockformer consistently demonstrates exceptional stability and reliability across market conditions—whether rising, falling, or fluctuating—particularly maintaining high performance during downturns or volatile periods, indicating high adaptability to market fluctuations. To foster innovation and collaboration in the financial analysis sector, the Stockformer model’s code has been open-sourced and is available on the GitHub repository: <span><span>https://github.com/Eric991005/Multitask-Stockformer</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"273 ","pages":"Article 126803"},"PeriodicalIF":7.5000,"publicationDate":"2025-02-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425004257","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

As the Chinese stock market continues to evolve and its market structure grows increasingly complex, traditional quantitative trading methods face escalating challenges. Due to policy uncertainty and frequent market fluctuations triggered by sudden economic events, existing models often struggle to predict market dynamics accurately. To address these challenges, this paper introduces “Stockformer,” a price–volume factor stock selection model that integrates wavelet transformation and a multitask self-attention network to enhance responsiveness and predictive accuracy regarding market instabilities. Through discrete wavelet transform, Stockformer decomposes stock returns into high and low frequencies, meticulously capturing long-term market trends and short-term fluctuations, including abrupt events. Moreover, the model incorporates a Dual-Frequency Spatiotemporal Encoder and graph embedding techniques to capture complex temporal and spatial relationships among stocks effectively. Employing a multitask learning strategy, it simultaneously predicts stock returns and directional trends. Experimental results show that Stockformer outperforms existing advanced methods on multiple real stock market datasets. In strategy backtesting, Stockformer consistently demonstrates exceptional stability and reliability across market conditions—whether rising, falling, or fluctuating—particularly maintaining high performance during downturns or volatile periods, indicating high adaptability to market fluctuations. To foster innovation and collaboration in the financial analysis sector, the Stockformer model’s code has been open-sourced and is available on the GitHub repository: https://github.com/Eric991005/Multitask-Stockformer.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Stockformer:基于小波变换和多任务自关注网络的价量因子选股模型
随着中国股票市场的不断发展和市场结构的日益复杂,传统的量化交易方式面临着越来越大的挑战。由于政策的不确定性和突发性经济事件引发的市场波动频繁,现有模型往往难以准确预测市场动态。为了解决这些挑战,本文介绍了“Stockformer”,这是一种价格-容量因子股票选择模型,它集成了小波变换和多任务自关注网络,以提高对市场不稳定性的响应性和预测准确性。Stockformer通过离散小波变换将股票收益分解为高频和低频,细致捕捉市场的长期趋势和短期波动,包括突发事件。此外,该模型还结合了双频时空编码器和图嵌入技术,有效地捕捉了股票之间复杂的时空关系。它采用多任务学习策略,同时预测股票收益和方向趋势。实验结果表明,Stockformer在多个真实股票市场数据集上优于现有的先进方法。在策略回测中,Stockformer在市场条件下(无论是上涨、下跌还是波动)始终表现出卓越的稳定性和可靠性,特别是在经济低迷或波动时期保持高性能,表明对市场波动的高适应性。为了促进金融分析领域的创新和协作,Stockformer模型的代码已经开源,可以在GitHub存储库上获得:https://github.com/Eric991005/Multitask-Stockformer。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Expert Systems with Applications
Expert Systems with Applications 工程技术-工程:电子与电气
CiteScore
13.80
自引率
10.60%
发文量
2045
审稿时长
8.7 months
期刊介绍: Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.
期刊最新文献
Editorial Board Three decades of differential evolution: a bibliometric analysis (1995-2025) Escaping from saddle points with perturbed gradient estimation An intelligent approach to maritime autonomous surface ship performance evaluation Knowledge-guided hyper-heuristic evolutionary algorithm for large-scale Boolean network inference
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1