Deep reinforcement learning based on transformer and U-Net framework for stock trading

被引:6
|
作者
Yang, Bing [1 ]
Liang, Ting [2 ]
Xiong, Jian [1 ]
Zhong, Chong [3 ]
机构
[1] Southwestern Univ Finance & Econ, Sch Business Adm, Chengdu 611130, Peoples R China
[2] Southwestern Univ Finance & Econ, Sch Accounting, Chengdu 611130, Peoples R China
[3] Southwestern Univ Finance & Econ, Int Sch Business, Chengdu 611130, Peoples R China
基金
中国国家自然科学基金;
关键词
Stock trading strategy; Deep reinforcement learning; U-Net architecture; Transformer layer; RULES;
D O I
10.1016/j.knosys.2022.110211
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
An effective stock-trading strategy offers investors as much profit and as little risk as possible. Capturing volatility trends from historical stock prices and determining trading strategies is extremely challenging. This study proposes an end-to-end model called DRL-UTrans for learning a single stock trading strategy that combines deep reinforcement learning, transformer layers, and a U-Net architec-ture. In particular, the transformer layer captures complex dynamic patterns in financial markets. The model structure based on the U-Net architecture contains multiple skip connections used to combine long-and short-term features. The input of the model is a windowed stock price sequence, and the output consists of a trading action and action weight. The benefit of having two outputs is that the agent can control the share of buys and sells to reduce investment risk. In addition, a reward function that is sensitive to market volatility is proposed to feed back the market state. Finally, trading data for 10 stocks is extracted from a real financial market to validate the proposed model. The results show that DRL-UTrans has a higher profitability compared with the seven baseline approaches; further, it is effective in sensing market volatility and hedging market risk when encountering stock crashes.(c) 2022 Published by Elsevier B.V.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Stock Trading Strategies Based on Deep Reinforcement Learning
    Li, Yawei
    Liu, Peipei
    Wang, Ze
    [J]. SCIENTIFIC PROGRAMMING, 2022, 2022
  • [2] A Stock Trading Strategy Based on Deep Reinforcement Learning
    Khemlichi, Firdaous
    Chougrad, Hiba
    Khamlichi, Youness Idrissi
    El Boushaki, Abdessamad
    Ben Ali, Safae El Haj
    [J]. ADVANCED INTELLIGENT SYSTEMS FOR SUSTAINABLE DEVELOPMENT (AI2SD'2020), VOL 2, 2022, 1418 : 920 - 928
  • [3] Deep Learning Based Model Observer by U-Net
    Lorente, Iris
    Abbey, Craig
    Brankov, Jovan G.
    [J]. MEDICAL IMAGING 2020: IMAGE PERCEPTION, OBSERVER PERFORMANCE, AND TECHNOLOGY ASSESSMENT, 2020, 11316
  • [4] Quantitative Trading on Stock Market Based on Deep Reinforcement Learning
    Wu, Jia
    Wang, Chen
    Xiong, Lidong
    Sun, Hongyong
    [J]. 2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2019,
  • [5] Smart Robotic Strategies and Advice for Stock Trading Using Deep Transformer Reinforcement Learning
    Malibari, Nadeem
    Katib, Iyad
    Mehmood, Rashid
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (24):
  • [6] A stock market trading framework based on deep learning architectures
    Atharva Shah
    Maharshi Gor
    Meet Sagar
    Manan Shah
    [J]. Multimedia Tools and Applications, 2022, 81 : 14153 - 14171
  • [7] A stock market trading framework based on deep learning architectures
    Shah, Atharva
    Gor, Maharshi
    Sagar, Meet
    Shah, Manan
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2022, 81 (10) : 14153 - 14171
  • [8] LEA U-Net: a U-Net-based deep learning framework with local feature enhancement and attention for retinal vessel segmentation
    Ouyang, Jihong
    Liu, Siguang
    Peng, Hao
    Garg, Harish
    Thanh, Dang N. H.
    [J]. COMPLEX & INTELLIGENT SYSTEMS, 2023, 9 (06) : 6753 - 6766
  • [9] LEA U-Net: a U-Net-based deep learning framework with local feature enhancement and attention for retinal vessel segmentation
    Jihong Ouyang
    Siguang Liu
    Hao Peng
    Harish Garg
    Dang N. H. Thanh
    [J]. Complex & Intelligent Systems, 2023, 9 : 6753 - 6766
  • [10] Underwater U-Net: Deep Learning with U-Net for Visual Underwater Moving Object detection
    Bajpai, Vatsalya
    Sharma, Akhilesh
    Subudhi, Badri Narayan
    Veerakumar, T.
    Jakhetiya, Vinit
    [J]. OCEANS 2021: SAN DIEGO - PORTO, 2021,