Metaheuristics for Portfolio Optimization: Application of NSGAII, SPEA2, and PSO Algorithms
Ameni Ben Hadj Abdallah,
Rihab Bedoui and
Heni Boubaker ()
Additional contact information
Ameni Ben Hadj Abdallah: Economics, Management and Quantitative Finance Research Laboratory (LaREMFiQ), Institute of High Commercial Studies of Sousse, University of Sousse, Sousse 4054, Tunisia
Rihab Bedoui: Economics, Management and Quantitative Finance Research Laboratory (LaREMFiQ), Institute of High Commercial Studies of Sousse, University of Sousse, Sousse 4054, Tunisia
Heni Boubaker: Economics, Management and Quantitative Finance Research Laboratory (LaREMFiQ), Institute of High Commercial Studies of Sousse, University of Sousse, Sousse 4054, Tunisia
Risks, 2025, vol. 13, issue 11, 1-19
Abstract:
This work looks for the optimal allocation of different assets, namely, the G7 stock indices, commodities (gold and WTI crude oil), cryptocurrencies (Bitcoin and Ripple), and S&P Green Bond, over four periods: before the COVID-19 crisis, during the COVID-19 crisis and before the Russia–Ukraine war, during the COVID-19 crisis and Russia–Ukraine war, and after the COVID-19 pandemic and during the Russia–Ukraine war. Metaheuristics, Non-dominated Sorting Genetic Algorithm (NSGAII), Strength Pareto Evolutionary Algorithm (SPEA2), and Particle Swarm Optimization (PSO) are applied to find the best allocation. The results reveal that there a significant preference for the S&P Green Bond during the four periods of study according to three algorithms, thanks to its portfolio diversification abilities. During the COVID-19 pandemic and the geopolitical crisis, the most optimal portfolio was Nikkei 225 because of its quick recovery from the pandemic and poor reliance on the Russia–Ukraine markets, while WTI crude oil and both dirty and clean cryptocurrencies were poor contributors to the investment portfolio because these assets are sensitive to geopolitical problems. After the end of the pandemic and during the ongoing Russia–Ukraine war, the three algorithms obtained remarkably different results: the NSGAII portfolio was invested in various assets, 32% of the SPEA2 portfolio was allocated to the S&P Green Bond, and half of the PSO portfolio was allocated to the S&P Green Bond too. This may be due to changes in investors’ preferences to protect their fortune and to diversify their portfolio during the war. From a risk-averse perspective, NSGAII does not underestimate the risk, while in terms of forecasting accuracy, PSO is an adequate algorithm. In terms of time, NSGAII is the fastest algorithm, while SPEA2 requires more time than the NSGAII and PSO algorithms. Our results have important implications for both investors and risk managers in terms of portfolio and risk management decisions, and they highlight the factors that influence investment choices during health and geopolitical crises.
Keywords: CVaR; portfolio optimization; metaheuristics; NSGAII; PSO; SPEA2; crisis (search for similar items in EconPapers)
JEL-codes: C G0 G1 G2 G3 K2 M2 M4 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-9091/13/11/227/pdf (application/pdf)
https://www.mdpi.com/2227-9091/13/11/227/ (text/html)
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:gam:jrisks:v:13:y:2025:i:11:p:227-:d:1797780
Access Statistics for this article
Risks is currently edited by Mr. Claude Zhang
More articles in Risks from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().