• Media type: E-Book
  • Title: A Reinforcement Learning Algorithm for Trading Commodities
  • Contributor: Giorgi, Federico [Author]; Herzel, Stefano [Author]; Pigato, Paolo [Author]
  • Published: [S.l.]: SSRN, 2023
  • Published in: CEIS Working Paper ; No. 552
  • Extent: 1 Online-Ressource (22 p)
  • Language: English
  • DOI: 10.2139/ssrn.4363174
  • Identifier:
  • Keywords: Portfolio Optimization ; Reinforcement Learning ; SARSA ; Commodities ; Threshold Models
  • Origination:
  • Footnote: Nach Informationen von SSRN wurde die ursprüngliche Fassung des Dokuments February 18, 2023 erstellt
  • Description: 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
  • Access State: Open Access