Margin Trader: A Reinforcement Learning Framework for Portfolio Management with Margin and Constraints

Jingyi Gu, Wenlu Du, A. M. Muntasir Rahman, Guiling Wang

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

In the field of portfolio management using reinforcement learning, existing approaches have mainly focused on cash-only trading, overlooking the potential benefits and risks of margin trading. Incorporating margin accounts and their constraints, especially in short sale scenarios, is crucial yet often neglected. To address this gap, we make the first attempt to propose Margin Trader, an innovative and adaptive reinforcement learning framework designed for margin trading in the stock market. Margin Trader integrates margin accounts and constraints into a realistic trading environment for both long and short positions. The framework aims to balance profit maximization and risk management through the Margin Adjustment Module and the Maintenance Detection Module. Margin Trader supports various Deep Reinforcement Learning (DRL) algorithms and offers traders the flexibility to customize critical settings, such as equity allocation, margin ratios, and maintenance requirements, to suit diverse market conditions, individual preferences, and risk tolerance. Experimental results demonstrate that Margin Trader effectively learns profitable trading strategies and hedges risks in both bullish and bearish markets, outperforming other baseline models with the highest Sharpe ratio.

Original languageEnglish (US)
Title of host publicationICAIF 2023 - 4th ACM International Conference on AI in Finance
PublisherAssociation for Computing Machinery, Inc
Pages610-618
Number of pages9
ISBN (Electronic)9798400702402
DOIs
StatePublished - Nov 27 2023
Event4th ACM International Conference on AI in Finance, ICAIF 2023 - New York City, United States
Duration: Nov 27 2023Nov 29 2023

Publication series

NameICAIF 2023 - 4th ACM International Conference on AI in Finance

Conference

Conference4th ACM International Conference on AI in Finance, ICAIF 2023
Country/TerritoryUnited States
CityNew York City
Period11/27/2311/29/23

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence
  • Finance

Keywords

  • Portfolio Management
  • Reinforcement Learning
  • Stock Market

Fingerprint

Dive into the research topics of 'Margin Trader: A Reinforcement Learning Framework for Portfolio Management with Margin and Constraints'. Together they form a unique fingerprint.

Cite this