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 条
  • [41] Active deep Q-learning with demonstration
    Chen, Si-An
    Tangkaratt, Voot
    Lin, Hsuan-Tien
    Sugiyama, Masashi
    MACHINE LEARNING, 2020, 109 (9-10) : 1699 - 1725
  • [42] Hierarchical clustering with deep Q-learning
    Forster, Richard
    Fulop, Agnes
    ACTA UNIVERSITATIS SAPIENTIAE INFORMATICA, 2018, 10 (01) : 86 - 109
  • [43] Deep Q-Learning from Demonstrations
    Hester, Todd
    Vecerik, Matej
    Pietquin, Olivier
    Lanctot, Marc
    Schaul, Tom
    Piot, Bilal
    Horgan, Dan
    Quan, John
    Sendonaris, Andrew
    Osband, Ian
    Dulac-Arnold, Gabriel
    Agapiou, John
    Leibo, Joel Z.
    Gruslys, Audrunas
    THIRTY-SECOND AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTIETH INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / EIGHTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2018, : 3223 - 3230
  • [44] A Theoretical Analysis of Deep Q-Learning
    Fan, Jianqing
    Wang, Zhaoran
    Xie, Yuchen
    Yang, Zhuoran
    LEARNING FOR DYNAMICS AND CONTROL, VOL 120, 2020, 120 : 486 - 489
  • [45] The impact of algorithmic trading on liquidity in futures markets: New insights into the resiliency of spreads and depth
    Frino, Alex
    Gerace, Dionigi
    Behnia, Masud
    JOURNAL OF FUTURES MARKETS, 2021, 41 (08) : 1301 - 1314
  • [46] Deep Q-Learning with Prioritized Sampling
    Zhai, Jianwei
    Liu, Quan
    Zhang, Zongzhang
    Zhong, Shan
    Zhu, Haijun
    Zhang, Peng
    Sun, Cijia
    NEURAL INFORMATION PROCESSING, ICONIP 2016, PT I, 2016, 9947 : 13 - 22
  • [47] Buying time: futures trading and telegraphy in nineteenth-century global commodity markets
    Engel, Alexander
    JOURNAL OF GLOBAL HISTORY, 2015, 10 (02) : 284 - 306
  • [48] Optimization for Mobile Streaming Media Based on Deep Q-learning
    Zhao, ZiXin
    Gao, Ling
    Ren, Jie
    Yuan, Lu
    Qin, ChenGuang
    Wang, Hai
    Zheng, Jie
    2019 SEVENTH INTERNATIONAL CONFERENCE ON ADVANCED CLOUD AND BIG DATA (CBD), 2019, : 285 - 290
  • [49] Entropy-Based Prioritized Sampling in Deep Q-Learning
    Ramicic, Mirza
    Bonarini, Andrea
    2017 2ND INTERNATIONAL CONFERENCE ON IMAGE, VISION AND COMPUTING (ICIVC 2017), 2017, : 1068 - 1072
  • [50] A Deep Q-Learning based approach applied to the Snake game
    Sebastianelli, Alessandro
    Tipaldi, Massimo
    Ullo, Silvia Liberata
    Glielmo, Luigi
    2021 29TH MEDITERRANEAN CONFERENCE ON CONTROL AND AUTOMATION (MED), 2021, : 348 - 353