Skip to content

Archives › Volume 12 (2022)

J. Math. Comput. Sci. 12 (2022), Article ID 31

Using genetic algorithm to construct a momentum-based stock fund

Koda Song, Song Tang

Abstract

Portfolio optimization is an important research field in modern finance. An important goal in portfolio optimization is to maximize risk-adjusted returns. In addition, momentum investing has gained a wide acceptance by asset managers. Besides, genetic algorithms (GA), which are based on the ideas of evolution and the concepts of Darwin’s natural selection, have been widely used to generate high-quality solutions to optimization problems. In this paper, we propose an approach using genetic algorithms to construct a momentum-based 130-30 stock fund. We use the Sharpe Ratio as the fitness function for portfolio evaluation and a Mean-Variance Model with Monte Carlo simulation to optimize the portfolio’s long and short positions. Using 2020 market data for the S&P500, our fund outperforms a variety of stock portfolios as well as the S&P500 ETF Fund SPY measured by Total Return, Sharpe Ratio, and Information Ratio.

Published
15 December 2021
Volume
12 (2022)
License
CC BY 3.0

Copyright © 2021 Koda Song, Song Tang. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Cite this article

K. Song, S. Tang, Using genetic algorithm to construct a momentum-based stock fund, J. Math. Comput. Sci. 12 (2022), 31. https://doi.org/10.28919/jmcs/6912

BibTeX
@article{Song2022,
  author  = {Song, Koda and Tang, Song},
  title   = {Using genetic algorithm to construct a momentum-based stock fund},
  journal = {J. Math. Comput. Sci.},
  volume  = {12},
  year    = {2022},
  pages   = {31},
  doi     = {10.28919/jmcs/6912}
}