IDEAS home Printed from https://ideas.repec.org/a/ids/ijcast/v1y2025i3p211-232.html
   My bibliography  Save this article

A solution to portfolio optimisation based on random forest and long short-term memory networks

Author

Listed:
  • Jiaxiu Lin
  • Ying Sun
  • Yuelin Gao

Abstract

The randomness of the stock market presents a significant challenge in utilising known information to construct investment portfolios that maximise returns while minimising risks. This paper employs the entropy weight method combined with the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) to assign weights to indicators and subsequently ranks and selects stocks from the CSI 300 Index constituents in the Chinese market and the NASDAQ-100 Index constituents in the US. market. Using random forest (RF) and long short-term memory (LSTM) to predict stock closing prices, the experimental results show that the LSTM model achieves higher predictive accuracy and more stable errors. By selecting the top 7 stocks based on monthly returns to construct a portfolio, the study analyses the returns of investment strategies under different prediction models. The results demonstrate that the portfolio constructed using the LSTM prediction model outperforms other portfolios in terms of cumulative return, annualised return, and Sharpe ratio.

Suggested Citation

  • Jiaxiu Lin & Ying Sun & Yuelin Gao, 2025. "A solution to portfolio optimisation based on random forest and long short-term memory networks," International Journal of Complexity in Applied Science and Technology, Inderscience Enterprises Ltd, vol. 1(3), pages 211-232.
  • Handle: RePEc:ids:ijcast:v:1:y:2025:i:3:p:211-232
    as

    Download full text from publisher

    File URL: http://www.inderscience.com/link.php?id=145845
    Download Restriction: Access to full text is restricted to subscribers.
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:ids:ijcast:v:1:y:2025:i:3:p:211-232. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Sarah Parker (email available below). General contact details of provider: http://www.inderscience.com/browse/index.php?journalID=71 .

    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.