objective:& to select the optimal stock portfolio using the grasshopper optimization algorithm (goa) and compare it with the markowitz model in the tehran stock exchange.
research methodology: this study is descriptive-analytical،ex-post facto،and applied. the population includes all companies listed on the tehran stock exchange during 2015 to 2020 (1394 to 1399 iranian calendar)،and the sample consists of 16 more active companies. data were collected through document analysis،processed in excel،and analyzed using both the grasshopper optimization algorithm and the markowitz model.
findings: the grasshopper optimization algorithm shows lower risk (standard deviation) and higher confidence level compared to the markowitz model; therefore،based on the minimum risk criterion،the goa is more efficient than the markowitz model.
originality / scientific contribution: applying the metaheuristic grasshopper optimization algorithm for portfolio optimization and scientifically comparing it with the classic markowitz model in the tehran stock exchange provides a novel and scientific tool for investors to construct portfolios with lower risk.