IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2307.07694.html
   My bibliography  Save this paper

Evaluation of Deep Reinforcement Learning Algorithms for Portfolio Optimisation

Author

Listed:
  • Chung I Lu

Abstract

We evaluate benchmark deep reinforcement learning (DRL) algorithms on the task of portfolio optimisation under a simulator. The simulator is based on correlated geometric Brownian motion (GBM) with the Bertsimas-Lo (BL) market impact model. Using the Kelly criterion (log utility) as the objective, we can analytically derive the optimal policy without market impact and use it as an upper bound to measure performance when including market impact. We found that the off-policy algorithms DDPG, TD3 and SAC were unable to learn the right Q function due to the noisy rewards and therefore perform poorly. The on-policy algorithms PPO and A2C, with the use of generalised advantage estimation (GAE), were able to deal with the noise and derive a close to optimal policy. The clipping variant of PPO was found to be important in preventing the policy from deviating from the optimal once converged. In a more challenging environment where we have regime changes in the GBM parameters, we found that PPO, combined with a hidden Markov model (HMM) to learn and predict the regime context, is able to learn different policies adapted to each regime. Overall, we find that the sample complexity of these algorithms is too high, requiring more than 2m steps to learn a good policy in the simplest setting, which is equivalent to almost 8,000 years of daily prices.

Suggested Citation

  • Chung I Lu, 2023. "Evaluation of Deep Reinforcement Learning Algorithms for Portfolio Optimisation," Papers 2307.07694, arXiv.org, revised Jul 2023.
  • Handle: RePEc:arx:papers:2307.07694
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2307.07694
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Andrew Ang & Geert Bekaert, 2002. "International Asset Allocation With Regime Shifts," The Review of Financial Studies, Society for Financial Studies, vol. 15(4), pages 1137-1187.
    2. Adriano Koshiyama & Nick Firoozye & Philip Treleaven, 2021. "Generative adversarial networks for financial trading strategies fine-tuning and combination," Quantitative Finance, Taylor & Francis Journals, vol. 21(5), pages 797-813, May.
    3. Simon van Norden & Huntley Schaller & ), 1995. "Regime Switching in Stock Market Returns," Econometrics 9502002, University Library of Munich, Germany.
    4. Matthew Dixon & Igor Halperin, 2020. "G-Learner and GIRL: Goal Based Wealth Management with Reinforcement Learning," Papers 2002.10990, arXiv.org.
    5. Hans Buhler & Blanka Horvath & Terry Lyons & Imanol Perez Arribas & Ben Wood, 2020. "A Data-driven Market Simulator for Small Data Environments," Papers 2006.14498, arXiv.org.
    6. Magnus Wiese & Robert Knobloch & Ralf Korn & Peter Kretschmer, 2020. "Quant GANs: deep generation of financial time series," Quantitative Finance, Taylor & Francis Journals, vol. 20(9), pages 1419-1440, September.
    7. Mark Davis & Sébastien Lleo, 2011. "Fractional Kelly Strategies for Benchmarked Asset Management," World Scientific Book Chapters, in: Leonard C MacLean & Edward O Thorp & William T Ziemba (ed.), THE KELLY CAPITAL GROWTH INVESTMENT CRITERION THEORY and PRACTICE, chapter 27, pages 385-407, World Scientific Publishing Co. Pte. Ltd..
    8. Yunan Ye & Hengzhi Pei & Boxin Wang & Pin-Yu Chen & Yada Zhu & Jun Xiao & Bo Li, 2020. "Reinforcement-Learning based Portfolio Management with Augmented Asset Movement Prediction States," Papers 2002.05780, arXiv.org.
    9. Bertsimas, Dimitris & Lo, Andrew W., 1998. "Optimal control of execution costs," Journal of Financial Markets, Elsevier, vol. 1(1), pages 1-50, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Alexandre Miot, 2020. "Adversarial trading," Papers 2101.03128, arXiv.org.
    2. Emiel Lemahieu & Kris Boudt & Maarten Wyns, 2023. "Generating drawdown-realistic financial price paths using path signatures," Papers 2309.04507, arXiv.org.
    3. Michael Karpe, 2020. "An overall view of key problems in algorithmic trading and recent progress," Papers 2006.05515, arXiv.org.
    4. Peixin (Payton) Liu & Kuan Xu & Yonggan Zhao, 2011. "Market regimes, sectorial investments, and time‐varying risk premiums," International Journal of Managerial Finance, Emerald Group Publishing Limited, vol. 7(2), pages 107-133, April.
    5. Psaradakis, Zacharias & Sola, Martin, 2024. "Markov-Switching Models with State-Dependent Time-Varying Transition Probabilities," Econometrics and Statistics, Elsevier, vol. 29(C), pages 49-63.
    6. Edmond Lezmi & Jules Roche & Thierry Roncalli & Jiali Xu, 2020. "Improving the Robustness of Trading Strategy Backtesting with Boltzmann Machines and Generative Adversarial Networks," Papers 2007.04838, arXiv.org.
    7. Chatziantoniou, Ioannis & Filis, George & Floros, Christos, 2017. "Asset prices regime-switching and the role of inflation targeting monetary policy," Global Finance Journal, Elsevier, vol. 32(C), pages 97-112.
    8. Amanjot Singh & Manjit Singh, 2016. "Risk–Return Relationship in BRIC Equity Markets: Evidence from Markov Regime Switching Model with Time-varying Transition Probabilities," Metamorphosis: A Journal of Management Research, , vol. 15(2), pages 69-78, December.
    9. repec:udt:wpecon:2017_1 is not listed on IDEAS
    10. Massimo Guidolin & Allan Timmermann, 2006. "An econometric model of nonlinear dynamics in the joint distribution of stock and bond returns," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(1), pages 1-22, January.
    11. Mohamed Hamdouche & Pierre Henry-Labordere & Huy^en Pham, 2023. "Generative modeling for time series via Schr{\"o}dinger bridge," Papers 2304.05093, arXiv.org.
    12. Beatrice Acciaio & Anastasis Kratsios & Gudmund Pammer, 2022. "Designing Universal Causal Deep Learning Models: The Geometric (Hyper)Transformer," Papers 2201.13094, arXiv.org, revised Mar 2023.
    13. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    14. Guidolin, Massimo & Hyde, Stuart & McMillan, David & Ono, Sadayuki, 2009. "Non-linear predictability in stock and bond returns: When and where is it exploitable?," International Journal of Forecasting, Elsevier, vol. 25(2), pages 373-399.
    15. John M. Maheu & Thomas H. McCurdy & Yong Song, 2012. "Components of Bull and Bear Markets: Bull Corrections and Bear Rallies," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(3), pages 391-403, February.
    16. Mohamed Hamdouche & Pierre Henry-Labordere & Huyên Pham, 2023. "Generative modeling for time series via Schrödinger bridge," Working Papers hal-04063041, HAL.
    17. Vanden, Joel M., 2005. "Equilibrium analysis of volatility clustering," Journal of Empirical Finance, Elsevier, vol. 12(3), pages 374-417, June.
    18. Chang, Kuang-Liang, 2009. "Do macroeconomic variables have regime-dependent effects on stock return dynamics? Evidence from the Markov regime switching model," Economic Modelling, Elsevier, vol. 26(6), pages 1283-1299, November.
    19. Haase, Felix & Neuenkirch, Matthias, 2023. "Predictability of bull and bear markets: A new look at forecasting stock market regimes (and returns) in the US," International Journal of Forecasting, Elsevier, vol. 39(2), pages 587-605.
    20. Martin Hess, 2006. "Timing and diversification: A state-dependent asset allocation approach," The European Journal of Finance, Taylor & Francis Journals, vol. 12(3), pages 189-204.
    21. Martín Solá & Zacharias Psaradakis & Fabio Spagnolo & Nicola Spagnolo, 2010. "Some Cautionary Results Concerning Markov-Switching Models with Time-Varying Transition Probabilities," Department of Economics Working Papers 2010-12, Universidad Torcuato Di Tella.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2307.07694. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.