IDEAS home Printed from https://ideas.repec.org/a/eee/riibaf/v70y2024ipas0275531924001296.html
   My bibliography  Save this article

S&P 500 stock selection using machine learning classifiers: A look into the changing role of factors

Author

Listed:
  • Caparrini, Antonio
  • Arroyo, Javier
  • Escayola Mansilla, Jordi

Abstract

This study examines the profitability of using machine learning algorithms to select a subset of stocks over the S&P 500 using factors as features. We use tree-based algorithms: Decision Tree, Random Forest, and XGBoost for their white model capabilities, allowing feature importances extraction. We defined a backtest to train the models with recent data and rebalance the portfolio. Despite incurring more risks, the selected assets of the portfolio outperform the index by using machine learning. Furthermore, we show that the feature importance that determines the best-performing assets changes at different times. Such models providing the evolution of the importance of factors can provide profitability insights while keeping explainability.

Suggested Citation

  • Caparrini, Antonio & Arroyo, Javier & Escayola Mansilla, Jordi, 2024. "S&P 500 stock selection using machine learning classifiers: A look into the changing role of factors," Research in International Business and Finance, Elsevier, vol. 70(PA).
  • Handle: RePEc:eee:riibaf:v:70:y:2024:i:pa:s0275531924001296
    DOI: 10.1016/j.ribaf.2024.102336
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0275531924001296
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ribaf.2024.102336?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    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:eee:riibaf:v:70:y:2024:i:pa:s0275531924001296. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/ribaf .

    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.