Comparative analysis between traditional momentum and machine learning (random forest): evidence from the S&P 500 (2000-2024)
Carlos Palomino Selem and
Ruth Milagros Delgado Yana
Additional contact information
Carlos Palomino Selem: Universidad Nacional Mayor de San Marcos
Ruth Milagros Delgado Yana: Universidad ESAN
Revista Tendencias, 2026, vol. 27, issue 02, 32-61
Abstract:
Introduction: This study examines the validity and persistence of the momentum effect in the S&P 500 index (2000–2024), a developed equity market with high informational efficiency. It analyzes whether the empirical evidence supports the continuity of momentum across different time horizons. Objective: To compare the performance of traditional momentum (TM) with a supervised learning model based on Random Forest (RF), assessing predictive ability, risk-adjusted performance, and out-of-sample stability. Methodology: Long–short TM strategies were implemented for horizons of 1, 3, 6, and 12 months, and the RF model was trained using equivalent cumulative returns. Out-of-sample validation was applied through an expanding window, homogeneous backtesting, and temporal stability tests. Results: TM showed limited performance over short horizons and greater consistency over long horizons. RF exhibited greater predictive ability and profitability, especially over long horizons, although with episodes of volatility and overfitting risk. Discussion: Machine learning models capture nonlinear patterns not identifiable by traditional methods, but depend on market conditions and show lower temporal stability, evidencing a trade-off between profitability and robustness. Conclusions: The findings confirm the persistence of momentum and highlight the value of machine learning in financial prediction, underscoring the importance of rigorous validation and risk control.
Keywords: machine learning; investments; capital markets; economic models; momentum; Random Forest; risk; portfolio selection (search for similar items in EconPapers)
JEL-codes: C45 C53 C58 G11 G12 G14 (search for similar items in EconPapers)
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://revistas.udenar.edu.co/index.php/rtend/article/view/10388
https://revistas.udenar.edu.co/index.php/rtend/article/view/10388/11304
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:col:000520:023322
DOI: 10.22267/rtend.26272.296
Access Statistics for this article
More articles in Revista Tendencias from Universidad de Narino Contact information at EDIRC.
Bibliographic data for series maintained by Universidad de Narino ().