Beating the Stock Market with a Deep Reinforcement Learning Day Trading System

被引:14
作者
Conegundes, Leonardo [1 ]
Machado Pereira, Adriano C. [2 ]
机构
[1] Univ Fed Minas Gerais DCC UFMG, Dept Comp Sci, Ctr Fed Educ Tecnol Minas Gerais CEFET MG, Belo Horizonte, MG, Brazil
[2] Univ Fed Minas Gerais DCC UFMG, Dept Comp Sci, Belo Horizonte, MG, Brazil
来源
2020 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN) | 2020年
关键词
Deep Reinforcement Learning; Deep Deterministic Policy Gradient; Machine Learning; Neural Networks; Algorithmic Trading; Stock Trading; Asset Allocation Problem; Intraday Trading; Financial Markets; ALGORITHM;
D O I
10.1109/ijcnn48605.2020.9206938
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this study we investigate the potential of using Deep Reinforcement Learning (DRL) to day trade stocks, taking into account the constraints imposed by the stock market, such as liquidity, latency, slippage and transaction costs. More specifically, we use a Deep Deterministic Policy Gradient (DDPG) algorithm to solve a series of asset allocation problems in order to define the percentage of capital that must be invested in each asset at each period, executing exclusively day trade operations. DDPG is a model-free, off-policy actor-critic method that can learn policies in high-dimensional and continuous action and state spaces, like the ones normally found in financial market environments. The proposed day trading system was tested in B3 - Brazil Stock Exchange, an important and understudied market, especially considering the application of DRL techniques to alpha generation. A series of experiments were performed from the beginning of 2017 until the end of 2019 and compared with ten benchmarks, including Ibovespa, the most important Brazilian market index, and the stock portfolios suggested by the main Brazilian banks and brokers during these years. The results were evaluated considering return and risk metrics and showed that the proposed method outperformed the benchmarks by a huge margin. The best results obtained by the algorithm had a cumulative percentage return of 311% in three years, with an annual average maximum drawdown around 19%.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] A Deep Reinforcement Learning-Based Decision Support System for Automated Stock Market Trading
    Ansari, Yasmeen
    Yasmin, Sadaf
    Naz, Sheneela
    Zaffar, Hira
    Ali, Zeeshan
    Moon, Jihoon
    Rho, Seungmin
    IEEE ACCESS, 2022, 10 : 127469 - 127501
  • [2] Quantitative Trading on Stock Market Based on Deep Reinforcement Learning
    Wu, Jia
    Wang, Chen
    Xiong, Lidong
    Sun, Hongyong
    2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2019,
  • [3] Deep Reinforcement Learning Approach for Trading Automation in the Stock Market
    Kabbani, Taylan
    Duman, Ekrem
    IEEE ACCESS, 2022, 10 : 93564 - 93574
  • [4] Deep Reinforcement Learning Robots for Algorithmic Trading: Considering Stock Market Conditions and US Interest Rates
    Park, Ji-Heon
    Kim, Jae-Hwan
    Huh, Jun-Ho
    IEEE ACCESS, 2024, 12 : 20705 - 20725
  • [5] Improving exploration in deep reinforcement learning for stock trading
    Zemzem, Wiem
    Tagina, Moncef
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2023, 72 (04) : 288 - 295
  • [6] Stock Market Trading Based on Market Sentiments and Reinforcement Learning
    Suhail, K. M. Ameen
    Sankar, Syam
    Kumar, Ashok S.
    Nestor, Tsafack
    Soliman, Naglaa F.
    Algarni, Abeer D.
    El-Shafai, Walid
    Abd El-Samie, Fathi E.
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 70 (01): : 935 - 950
  • [7] Reinforcement Learning in Stock Trading
    Quang-Vinh Dang
    ADVANCED COMPUTATIONAL METHODS FOR KNOWLEDGE ENGINEERING (ICCSAMA 2019), 2020, 1121 : 311 - 322
  • [8] Stock Market Prediction Using Deep Reinforcement Learning
    Awad, Alamir Labib
    Elkaffas, Saleh Mesbah
    Fakhr, Mohammed Waleed
    APPLIED SYSTEM INNOVATION, 2023, 6 (06)
  • [9] DEEP LEARNING FOR STOCK MARKET TRADING: A SUPERIOR TRADING STRATEGY?
    Fister, D.
    Mun, J. C.
    Jagric, V
    Jagric, T.
    NEURAL NETWORK WORLD, 2019, 29 (03) : 151 - 171
  • [10] Application of Deep Reinforcement Learning on Automated Stock Trading
    Chen, Lin
    Gao, Qiang
    PROCEEDINGS OF 2019 IEEE 10TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS 2019), 2019, : 29 - 33