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

Reinforcement Learning with Maskable Stock Representation for Portfolio Management in Customizable Stock Pools

Author

Listed:
  • Wentao Zhang
  • Yilei Zhao
  • Shuo Sun
  • Jie Ying
  • Yonggang Xie
  • Zitao Song
  • Xinrun Wang
  • Bo An

Abstract

Portfolio management (PM) is a fundamental financial trading task, which explores the optimal periodical reallocation of capitals into different stocks to pursue long-term profits. Reinforcement learning (RL) has recently shown its potential to train profitable agents for PM through interacting with financial markets. However, existing work mostly focuses on fixed stock pools, which is inconsistent with investors' practical demand. Specifically, the target stock pool of different investors varies dramatically due to their discrepancy on market states and individual investors may temporally adjust stocks they desire to trade (e.g., adding one popular stocks), which lead to customizable stock pools (CSPs). Existing RL methods require to retrain RL agents even with a tiny change of the stock pool, which leads to high computational cost and unstable performance. To tackle this challenge, we propose EarnMore, a rEinforcement leARNing framework with Maskable stOck REpresentation to handle PM with CSPs through one-shot training in a global stock pool (GSP). Specifically, we first introduce a mechanism to mask out the representation of the stocks outside the target pool. Second, we learn meaningful stock representations through a self-supervised masking and reconstruction process. Third, a re-weighting mechanism is designed to make the portfolio concentrate on favorable stocks and neglect the stocks outside the target pool. Through extensive experiments on 8 subset stock pools of the US stock market, we demonstrate that EarnMore significantly outperforms 14 state-of-the-art baselines in terms of 6 popular financial metrics with over 40% improvement on profit.

Suggested Citation

  • Wentao Zhang & Yilei Zhao & Shuo Sun & Jie Ying & Yonggang Xie & Zitao Song & Xinrun Wang & Bo An, 2023. "Reinforcement Learning with Maskable Stock Representation for Portfolio Management in Customizable Stock Pools," Papers 2311.10801, arXiv.org, revised Feb 2024.
  • Handle: RePEc:arx:papers:2311.10801
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Alhussein Fawzi & Matej Balog & Aja Huang & Thomas Hubert & Bernardino Romera-Paredes & Mohammadamin Barekatain & Alexander Novikov & Francisco J. R. Ruiz & Julian Schrittwieser & Grzegorz Swirszcz & , 2022. "Discovering faster matrix multiplication algorithms with reinforcement learning," Nature, Nature, vol. 610(7930), pages 47-53, October.
    2. Zhengyao Jiang & Dixing Xu & Jinjun Liang, 2017. "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem," Papers 1706.10059, arXiv.org, revised Jul 2017.
    3. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    4. Narasimhan Jegadeesh, 2002. "Cross-Sectional and Time-Series Determinants of Momentum Returns," The Review of Financial Studies, Society for Financial Studies, vol. 15(1), pages 143-157, March.
    5. Xiao Yang & Weiqing Liu & Dong Zhou & Jiang Bian & Tie-Yan Liu, 2020. "Qlib: An AI-oriented Quantitative Investment Platform," Papers 2009.11189, arXiv.org.
    6. Harrison Hong & Jeremy C. Stein, 1999. "A Unified Theory of Underreaction, Momentum Trading, and Overreaction in Asset Markets," Journal of Finance, American Finance Association, vol. 54(6), pages 2143-2184, December.
    7. Fuli Feng & Xiangnan He & Xiang Wang & Cheng Luo & Yiqun Liu & Tat-Seng Chua, 2018. "Temporal Relational Ranking for Stock Prediction," Papers 1809.09441, arXiv.org, revised Jan 2019.
    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. Tobias Wiest, 2023. "Momentum: what do we know 30 years after Jegadeesh and Titman’s seminal paper?," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 37(1), pages 95-114, March.
    2. Shuo Sun & Wanqi Xue & Rundong Wang & Xu He & Junlei Zhu & Jian Li & Bo An, 2021. "DeepScalper: A Risk-Aware Reinforcement Learning Framework to Capture Fleeting Intraday Trading Opportunities," Papers 2201.09058, arXiv.org, revised Aug 2022.
    3. Du, Ding, 2008. "The 52-week high and momentum investing in international stock indexes," The Quarterly Review of Economics and Finance, Elsevier, vol. 48(1), pages 61-77, February.
    4. Shuo Sun & Rundong Wang & Bo An, 2022. "Quantitative Stock Investment by Routing Uncertainty-Aware Trading Experts: A Multi-Task Learning Approach," Papers 2207.07578, arXiv.org.
    5. Chris Stivers & Licheng Sun, 2013. "Market Cycles and the Performance of Relative Strength Strategies," Financial Management, Financial Management Association International, vol. 42(2), pages 263-290, June.
    6. Ming-Shiun Pan, 2010. "Autocorrelation, return horizons, and momentum in stock returns," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 34(3), pages 284-300, July.
    7. Erdemlioglu, Deniz & Petitjean, Mikael & Vargas, Nicolas, 2021. "Market instability and technical trading at high frequency: Evidence from NASDAQ stocks," Economic Modelling, Elsevier, vol. 102(C).
    8. Ron Bird & Lorenzo Casavecchia & Paul Woolley, 2008. "Insights into the Market Impact of Different Investment Styles," Working Paper Series 1, The Paul Woolley Centre for Capital Market Dysfunctionality, University of Technology, Sydney.
    9. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, October.
    10. Navaz Naghavi & Muhammad Shujaat Mubarik & Devinder Kaur, 2018. "Financial Liberalization And Stock Market Efficiency: Measuring The Threshold Effects Of Governance," Annals of Financial Economics (AFE), World Scientific Publishing Co. Pte. Ltd., vol. 13(04), pages 1-24, December.
    11. Guo, Xu & McAleer, Michael & Wong, Wing-Keung & Zhu, Lixing, 2017. "A Bayesian approach to excess volatility, short-term underreaction and long-term overreaction during financial crises," The North American Journal of Economics and Finance, Elsevier, vol. 42(C), pages 346-358.
    12. Day, Min-Yuh & Ni, Yensen, 2023. "The profitability of seasonal trading timing: Insights from energy-related markets," Energy Economics, Elsevier, vol. 128(C).
    13. Sapienza, Paola & Polk, Christopher, 2003. "The Real Effects of Investor Sentiment," CEPR Discussion Papers 3826, C.E.P.R. Discussion Papers.
    14. Boudt, Kris & Raza, Muhammad Wajid & Wauters, Marjan, 2019. "Evaluating the Shariah-compliance of equity portfolios: The weighting method matters," International Review of Financial Analysis, Elsevier, vol. 63(C), pages 406-417.
    15. Lim, Kian-Ping & Kim, Jae H., 2011. "Trade openness and the informational efficiency of emerging stock markets," Economic Modelling, Elsevier, vol. 28(5), pages 2228-2238, September.
    16. Giancarlo Corsetti & Romain Lafarguette & Arnaud Mehl, 2019. "Fast Trading and the Virtue of Entropy: Evidence from the Foreign Exchange Market," Discussion Papers 1914, Centre for Macroeconomics (CFM).
    17. Bai, Jennie & Philippon, Thomas & Savov, Alexi, 2016. "Have financial markets become more informative?," Journal of Financial Economics, Elsevier, vol. 122(3), pages 625-654.
    18. Raza, Ahmad & Marshall, Ben R. & Visaltanachoti, Nuttawat, 2014. "Is there momentum or reversal in weekly currency returns?," Journal of International Money and Finance, Elsevier, vol. 45(C), pages 38-60.
    19. Piasecki, Krzysztof, 2011. "Rozmyte zbiory probabilistyczne jako narzędzie finansów behawioralnych [Fuzzy Probabilistic Sets as a Tool for Behavioural Finance]," MPRA Paper 46218, University Library of Munich, Germany.
    20. Theissen, Erik & Yilanci, Can, 2020. "Momentum? What Momentum?," CFR Working Papers 20-09, University of Cologne, Centre for Financial Research (CFR).

    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:2311.10801. 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.