International Journal of Quantitative Research and Modeling
Vol. 6 No. 2 (2025)

IDX30 Stock Portfolio Optimization Using Genetic Algorithm Based on Capital Asset Pricing Model

Rahmadhisa, Nayra Pavita (Unknown)
Susanti, Dwi (Unknown)
Subartini, Betty (Unknown)



Article Info

Publish Date
10 Jun 2025

Abstract

The stock market plays a vital role in supporting economic growth by serving as a primary channel for companies to raise capital and for investors to gain profits through long-term investments. In practice, one of the biggest challenges for investors is identifying which stocks are worth purchasing and how to allocate their funds optimally. One commonly used approach to evaluate stock feasibility is the Capital Asset Pricing Model (CAPM), which helps identify undervalued and overvalued stocks based on the relationship between systematic risk and expected return. Additionally, it is necessary to determine the optimal investment weight allocation. Therefore, this study combines the CAPM method for stock selection and Genetic Algorithm, a metaheuristic approach capable of finding optimal solutions in complex problems, to determine the optimal portfolio weight composition. The object of this study includes stocks listed in the IDX30 index during the period from February 2021 to November 2023. The results show that five stocks—ADRO, BBCA, BBNI, KLBF, and TLKM—are classified as undervalued according to the CAPM method and are recommended for inclusion in the optimal portfolio. Portfolio optimization using the Genetic Algorithm results in the following stock weight composition: ADRO 26.55%, BBCA 36.20%, BBNI 9.09%, KLBF 12.20%, and TLKM 15.96%, with a Sharpe Ratio of 4.043906. The expected return and risk of the optimal portfolio are 0.00067373 and 0.00012407, respectively.

Copyrights © 2025






Journal Info

Abbrev

ijqrm

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Engineering Environmental Science Physics

Description

International Journal of Quantitative Research and Modeling (IJQRM) is published 4 times a year and is the flagship journal of the Research Collaboration Community (RCC). It is the aim of IJQRM to present papers which cover the theory, practice, history or methodology of Quatitative Research (QR) ...