Smart Robotic Strategies and Advice for Stock Trading Using Deep Transformer Reinforcement Learning

被引:4
作者
Malibari, Nadeem [1 ]
Katib, Iyad [1 ]
Mehmood, Rashid [2 ]
机构
[1] King Abdulaziz Univ, Fac Comp & Informat Technol, Dept Comp Sci, Jeddah 21589, Saudi Arabia
[2] King Abdulaziz Univ, High Performance Comp Ctr, Jeddah 21589, Saudi Arabia
来源
APPLIED SCIENCES-BASEL | 2022年 / 12卷 / 24期
关键词
stock trading; transformer; deep reinforcement learning; machine learning; Tadawul; stocks; robotic advice; robotic strategies; TIME-SERIES; PERFORMANCE;
D O I
10.3390/app122412526
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The many success stories of reinforcement learning (RL) and deep learning (DL) techniques have raised interest in their use for detecting patterns and generating constant profits from financial markets. In this paper, we combine deep reinforcement learning (DRL) with a transformer network to develop a decision transformer architecture for online trading. We use data from the Saudi Stock Exchange (Tadawul), one of the largest liquid stock exchanges globally. Specifically, we use the indices of four firms: Saudi Telecom Company, Al-Rajihi Banking and Investment, Saudi Electricity Company, and Saudi Basic Industries Corporation. To ensure the robustness and risk management of the proposed model, we consider seven reward functions: the Sortino ratio, cumulative returns, annual volatility, omega, the Calmar ratio, max drawdown, and normal reward without any risk adjustments. Our proposed DRL-based model provided the highest average increase in the net worth of Saudi Telecom Company, Saudi Electricity Company, Saudi Basic Industries Corporation, and Al-Rajihi Banking and Investment at 21.54%, 18.54%, 17%, and 19.36%, respectively. The Sortino ratio, cumulative returns, and annual volatility were found to be the best-performing reward functions. This work makes significant contributions to trading regarding long-term investment and profit goals.
引用
收藏
页数:33
相关论文
共 66 条
[21]  
Jiang Zhengyao, 2017, arXiv
[22]  
Kaya O., 2017, Robo-advice-A true innovation in asset management
[23]  
Kuber K., 2016, 36 INT S FORECASTING
[24]   Discrepancy-Based Theory and Algorithms for Forecasting Non-Stationary Time Series [J].
Kuznetsov, Vitaly ;
Mohri, Mehryar .
ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2020, 88 (04) :367-399
[25]  
Lee K, 2019, 57TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2019), P6086
[26]   A causal knowledge-based expert system for planning an Internet-based stock trading system [J].
Lee, Kun Chang ;
Lee, Sangjae .
EXPERT SYSTEMS WITH APPLICATIONS, 2012, 39 (10) :8626-8635
[27]  
Leem J, 2020, PLOS ONE, V15, DOI [10.1371/journal.pone.0236178, 10.1371/journal.pone.0236178.r001, 10.1371/journal.pone.0236178.r002, 10.1371/journal.pone.0236178.r003, 10.1371/journal.pone.0236178.r004]
[28]   Deep Robust Reinforcement Learning for Practical Algorithmic Trading [J].
Li, Yang ;
Zheng, Wanshan ;
Zheng, Zibin .
IEEE ACCESS, 2019, 7 :108014-108022
[29]   Application of deep reinforcement learning in stock trading strategies and stock forecasting [J].
Li, Yuming ;
Ni, Pin ;
Chang, Victor .
COMPUTING, 2020, 102 (06) :1305-1322
[30]  
Liu X.-Y., 2022, arXiv