To cite this paper use one of the standards below:
This work proposes a hybrid pipeline for asset selection and portfolio optimization in the stock market, combining machine learning and metaheuristics. Random Forest is used to estimate the probability of a stock achieving a minimum return of 1% over three trading days, and the selected assets are allocated using three strategies: an equal-weight portfolio, a Genetic Algorithm (GA), and GRASP. The experiments use point-in-time S&P 500 data obtained from Norgate Data, including listed and delisted assets. The eligible universe is formed monthly by the 100 most liquid assets, selected based on the liquidity observed in the previous month. The methodology separates feature selection, predictive model tuning, optimizer tuning, operational calibration, and out-of-time validation. All choices were made during the development period, from 2014 to 2018, and kept fixed in the subsequent evaluation. In the effective out-of-time period, from April 2019 to December 2025, the equal-weight portfolio based on Random Forest signals accumulated a return of 33.31%, while GA and GRASP achieved cumulative returns of 166.57% and 166.11%, respectively. Over the same period, the S&P 500 accumulated a return of 141.52%. The results show that the metaheuristic strategies outperformed both the uniform allocation of the same selected assets and the market benchmark in terms of cumulative return. In addition, the similar performance of GA and GRASP indicates that GRASP constitutes a competitive alternative to the Genetic Algorithm for allocating weights across assets in a portfolio.
With nearly 200,000 papers published, Galoá empowers scholars to share and discover cutting-edge research through our streamlined and accessible academic publishing platform.
Learn more about our products:
This proceedings is identified by a DOI , for use in citations or bibliographic references. Attention: this is not a DOI for the paper and as such cannot be used in Lattes to identify a particular work.
Check the link "How to cite" in the paper's page, to see how to properly cite the paper