A deep Q-learning based algorithmic trading system for commodity futures markets

被引:1
|
作者
Massahi, Mahdi [1 ]
Mahootchi, Masoud [1 ]
机构
[1] Amirkabir Univ Technol, Dept Ind Engn & Management Syst, 424 Hafez Ave, Tehran, Iran
关键词
Algorithmic trading; Commodity futures market; Deep Q-learning; Double Deep Q-learning; Market simulator; HIGH-FREQUENCY; STRATEGIES; GP;
D O I
10.1016/j.eswa.2023.121711
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Nowadays, investors seek more sophisticated decision-making tools that maximize their profit from investing in the financial markets by suitably determining the optimal position, trading time, price, and volume. This paper proposes a novel intraday algorithmic trading system for volatile commodity futures markets based on a Deep Q-network (DQN) algorithm and its robust double-version (DDQN). The higher volatility, leverage property, and more liquidity in futures contracts give investors more opportunity to take advantage of speculative behaviors with a relatively small amount of capital; however, the volatility brings more difficulties in the learning phase. As an essential prerequisite to training and evaluating any trading algorithm in the futures market, we develop a simulator to replicate a real futures exchange market environment that executes recommended trading signals by handling the clearing and margin management and the pre-order checking mechanisms. Moreover, this study provides a new definition of the continuous state and action spaces that match the futures market's characteristics. To address the curse of dimensionality, we utilize a multi-agent architecture equipped with the Gated Recurrent Unit (GRU) networks to approximate the Q-values functions. The experimental results demonstrate that implementing the proposed trading algorithms (especially the DDQN) into the actual intraday data of gold coin futures contracts significantly outperforms the benchmarks in terms of return, risk, and risk-adjusted return.
引用
收藏
页数:15
相关论文
共 50 条
  • [31] Survey on the application of deep learning in algorithmic trading
    Wang, Yongfeng
    Yan, Guofeng
    DATA SCIENCE IN FINANCE AND ECONOMICS, 2021, 1 (04): : 345 - 361
  • [32] An application of deep reinforcement learning to algorithmic trading
    Theate, Thibaut
    Ernst, Damien
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 173
  • [33] Stabilizing deep Q-learning with Q-graph-based bounds
    Hoppe, Sabrina
    Giftthaler, Markus
    Krug, Robert
    Toussaint, Marc
    INTERNATIONAL JOURNAL OF ROBOTICS RESEARCH, 2023, 42 (09): : 633 - 654
  • [34] Risk contributions of trading and non-trading hours: Evidence from Chinese commodity futures markets
    Liu, Qingfu
    An, Yunbi
    PACIFIC-BASIN FINANCE JOURNAL, 2014, 30 : 17 - 29
  • [35] Deep Recurrent Q-Learning for Research on Complex Economic System
    Chen, Bo
    Li, Wenjian
    Pei, Hong
    PROCEEDINGS OF 2020 IEEE 5TH INFORMATION TECHNOLOGY AND MECHATRONICS ENGINEERING CONFERENCE (ITOEC 2020), 2020, : 583 - 588
  • [36] Deep Reinforcement Learning with Double Q-Learning
    van Hasselt, Hado
    Guez, Arthur
    Silver, David
    THIRTIETH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, : 2094 - 2100
  • [37] Comparison of Deep Q-Learning, Q-Learning and SARSA Reinforced Learning for Robot Local Navigation
    Anas, Hafiq
    Ong, Wee Hong
    Malik, Owais Ahmed
    ROBOT INTELLIGENCE TECHNOLOGY AND APPLICATIONS 6, 2022, 429 : 443 - 454
  • [38] A Futures Quantitative Trading Strategy Based on a Deep Reinforcement Learning Algorithm
    Chen, Xuemei
    Guo, Haoran
    2023 IEEE 8TH INTERNATIONAL CONFERENCE ON BIG DATA ANALYTICS, ICBDA, 2023, : 175 - 179
  • [39] A,Multiagent approach to Q-learning for daily stock trading
    Lee, Jae Won
    Park, Jonghun
    O, Jangmin
    Lee, Jongwoo
    Hong, Euyseok
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2007, 37 (06): : 864 - 877
  • [40] Active deep Q-learning with demonstration
    Si-An Chen
    Voot Tangkaratt
    Hsuan-Tien Lin
    Masashi Sugiyama
    Machine Learning, 2020, 109 : 1699 - 1725