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 条
  • [21] Forecasting on Trading: A Parameter Adaptive Framework Based on Q-learning
    Chen, Chao
    Li, Yelin
    Bu, Hui
    Wu, Junjie
    Xiong, Zhang
    2018 15TH INTERNATIONAL CONFERENCE ON SERVICE SYSTEMS AND SERVICE MANAGEMENT (ICSSSM), 2018,
  • [23] Pairs trading in Chinese commodity futures markets: an adaptive cointegration approach
    Chen, Danni
    Cui, Jing
    Gao, Yan
    Wu, Leilei
    ACCOUNTING AND FINANCE, 2017, 57 (05): : 1237 - 1264
  • [24] Sentiment and Knowledge Based Algorithmic Trading with Deep Reinforcement Learning
    Nan, Abhishek
    Perumal, Anandh
    Zaiane, Osmar R.
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2022, PT I, 2022, 13426 : 167 - 180
  • [25] A multi-agent deep reinforcement learning framework for algorithmic trading in financial markets
    Shavandi, Ali
    Khedmati, Majid
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 208
  • [26] Constrained Deep Q-Learning Gradually Approaching Ordinary Q-Learning
    Ohnishi, Shota
    Uchibe, Eiji
    Yamaguchi, Yotaro
    Nakanishi, Kosuke
    Yasui, Yuji
    Ishii, Shin
    FRONTIERS IN NEUROROBOTICS, 2019, 13
  • [27] Research on Futures Programmed Trading Based on Deep Reinforcement Learning
    Xie, Weipeng
    Zheng, Xianghan
    2018 INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, BIG DATA AND BLOCKCHAIN (ICCBB 2018), 2018, : 78 - 80
  • [28] Adaptive Learning Recommendation Strategy Based on Deep Q-learning
    Tan, Chunxi
    Han, Ruijian
    Ye, Rougang
    Chen, Kani
    APPLIED PSYCHOLOGICAL MEASUREMENT, 2020, 44 (04) : 251 - 266
  • [29] Q-Learning based supplier-agents for electricity markets
    Rahimi-Kian, A
    Sadeghi, B
    Thomas, RJ
    2005 IEEE POWER ENGINEERING SOCIETY GENERAL MEETING, VOLS, 1-3, 2005, : 420 - 427
  • [30] A Deep Q-learning based Path Planning and Navigation System for Firefighting Environments
    Bhattarai, Manish
    Martinez-Ramon, Manel
    ICAART: PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON AGENTS AND ARTIFICIAL INTELLIGENCE - VOL 2, 2021, : 267 - 277