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 条
  • [41] Using Data Augmentation Based Reinforcement Learning for Daily Stock Trading
    Yuan, Yuyu
    Wen, Wen
    Yang, Jincui
    ELECTRONICS, 2020, 9 (09) : 1 - 13
  • [42] An Adaptive Financial Trading System Using Deep Reinforcement Learning With Candlestick Decomposing Features
    Ding Fengqian
    Luo Chao
    IEEE ACCESS, 2020, 8 : 63666 - 63678
  • [43] Deep reinforcement learning for energy trading and load scheduling in residential peer-to-peer energy trading market
    Wang, Jiatong
    Li, Li
    Zhang, Jiangfeng
    INTERNATIONAL JOURNAL OF ELECTRICAL POWER & ENERGY SYSTEMS, 2023, 147
  • [44] A Novel RMS-Driven Deep Reinforcement Learning for Optimized Portfolio Management in Stock Trading
    Sattar, Asma
    Sarwar, Amna
    Gillani, Saira
    Bukhari, Maryam
    Rho, Seungmin
    Faseeh, Muhammad
    IEEE ACCESS, 2025, 13 : 42813 - 42835
  • [45] A Novel Deep Reinforcement Learning-based Automatic Stock Trading Method and a Case Study
    He, Youzhang
    Yang, Yuchen
    Li, Yihe
    Sun, Peng
    2022 IEEE 1ST GLOBAL EMERGING TECHNOLOGY BLOCKCHAIN FORUM: BLOCKCHAIN & BEYOND, IGETBLOCKCHAIN, 2022,
  • [46] Recommending Cryptocurrency Trading Points with Deep Reinforcement Learning Approach
    Sattarov, Otabek
    Muminov, Azamjon
    Lee, Cheol Won
    Kang, Hyun Kyu
    Oh, Ryumduck
    Ahn, Junho
    Oh, Hyung Jun
    Jeon, Heung Seok
    APPLIED SCIENCES-BASEL, 2020, 10 (04):
  • [47] DEEP REINFORCEMENT LEARNING FOR FINANCIAL TRADING USING PRICE TRAILING
    Zarkias, Konstantinos Saitas
    Passalis, Nikolaos
    Tsantekidis, Avraam
    Tefas, Anastasios
    2019 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2019, : 3067 - 3071
  • [48] Using Autoregressive Modelling and Machine Learning for Stock Market Prediction and Trading
    Hushani, Phillip
    THIRD INTERNATIONAL CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2019, 797 : 767 - 774
  • [49] Hybrid Deep Reinforcement Learning for Pairs Trading
    Kim, Sang-Ho
    Park, Deog-Yeong
    Lee, Ki-Hoon
    APPLIED SCIENCES-BASEL, 2022, 12 (03):
  • [50] A Mean-VaR Based Deep Reinforcement Learning Framework for Practical Algorithmic Trading
    Jin, Boyi
    IEEE ACCESS, 2023, 11 : 28920 - 28933