A reinforcement learning algorithm for trading commodities

被引:0
|
作者
Giorgi, Federico [1 ]
Herzel, Stefano [1 ]
Pigato, Paolo [1 ]
机构
[1] Univ Roma Tor Vergata, Dept Econ & Finance, Rome, Italy
关键词
commodities; portfolio optimization; reinforcement learning; SARSA; threshold models;
D O I
10.1002/asmb.2825
中图分类号
C93 [管理学]; O22 [运筹学];
学科分类号
070105 ; 12 ; 1201 ; 1202 ; 120202 ;
摘要
We propose a reinforcement learning (RL) algorithm for generating a trading strategy in a realistic setting, that includes transaction costs and factors driving the asset dynamics. We benchmark our algorithm against the analytical optimal solution, available when factors are linear and transaction costs are quadratic, showing that RL is able to mimic the optimal strategy. Then we consider a more realistic setting, including non-linear dynamics, that better describes the WTI spot prices time series. For these more general dynamics, an optimal strategy is not known and RL becomes a viable alternative. We show that on synthetic data generated from WTI spot prices, the RL agent outperforms a trader that linearizes the model to apply the theoretical optimal strategy.
引用
收藏
页码:373 / 388
页数:16
相关论文
共 50 条
  • [21] Using Reinforcement Learning in the Algorithmic Trading Problem
    Ponomarev, E. S.
    Oseledets, I. V.
    Cichocki, A. S.
    [J]. JOURNAL OF COMMUNICATIONS TECHNOLOGY AND ELECTRONICS, 2019, 64 (12) : 1450 - 1457
  • [22] Deep differentiable reinforcement learning and optimal trading
    Jaisson, Thibault
    [J]. QUANTITATIVE FINANCE, 2022, 22 (08) : 1429 - 1443
  • [23] Deep Reinforcement Learning to Automate Cryptocurrency Trading
    Mahayana, Dimitri
    Shan, Elbert
    Fadhl'Abbas, Muhammad
    [J]. 2022 12TH INTERNATIONAL CONFERENCE ON SYSTEM ENGINEERING AND TECHNOLOGY (ICSET 2022), 2022, : 36 - 41
  • [24] Using Reinforcement Learning in the Algorithmic Trading Problem
    E. S. Ponomarev
    I. V. Oseledets
    A. S. Cichocki
    [J]. Journal of Communications Technology and Electronics, 2019, 64 : 1450 - 1457
  • [25] Offline Reinforcement Learning for Automated Stock Trading
    Lee, Namyeong
    Moon, Jun
    [J]. IEEE ACCESS, 2023, 11 : 112577 - 112589
  • [26] FX trading via Recurrent Reinforcement Learning
    Gold, C
    [J]. 2003 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR FINANCIAL ENGINEERING, PROCEEDINGS, 2003, : 363 - 370
  • [27] Reinforcement Learning Based Energy Management Algorithm for Energy Trading and Contingency Reserve Application in a Microgrid
    Hau, ChongAih
    Radhakrishnan, Krishnanand Kaippilly
    Siu, JunYen
    Panda, Sanjib Kumar
    [J]. 2020 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES EUROPE (ISGT-EUROPE 2020): SMART GRIDS: KEY ENABLERS OF A GREEN POWER SYSTEM, 2020, : 1005 - 1009
  • [28] Cloning Strategies from Trading Records using Agent-based Reinforcement Learning Algorithm
    Chen, Chiao-Ting
    Chen, An-Pin
    Huang, Szu-Hao
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON AGENTS (ICA), 2018, : 34 - 37
  • [29] LONG AND THE SHORT OF TRADING IN COMMODITIES
    KIRZNER, E
    [J]. CANADIAN MEDICAL ASSOCIATION JOURNAL, 1980, 122 (04) : 464 - &
  • [30] INSIDER TRADING IN COMMODITIES MARKETS
    Verstein, Andrew
    [J]. VIRGINIA LAW REVIEW, 2016, 102 (02) : 447 - 500