Journal
APPLIED SCIENCES-BASEL
Volume 12, Issue 24, Pages -Publisher
MDPI
DOI: 10.3390/app122412526
Keywords
stock trading; transformer; deep reinforcement learning; machine learning; Tadawul; stocks; robotic advice; robotic strategies
Categories
Funding
- HPC Center at the King Abdulaziz University
Ask authors/readers for more resources
This paper combines deep reinforcement learning with a transformer network to develop a decision transformer architecture for online trading. By analyzing data from the Saudi Stock Exchange, the proposed DRL-based model achieved significant growth in the net worth of multiple companies and identified the best-performing reward functions.
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.
Authors
I am an author on this paper
Click your name to claim this paper and add it to your profile.
Reviews
Recommended
No Data Available