Adaptive Portfolio Rebalancing for NASDAQ-100 Stocks with Hippopotamus Optimization Algorithm under Transaction Costs

Safrizal Ardana Ardiyansa, Mohamad Muslikh, Syaiful Anam

Abstract


This study proposes a transaction cost-aware portfolio optimization framework for NASDAQ-100 stocks based on the Hippopotamus Optimization Algorithm (HOA). The mathematical model extends the classical mean-variance framework by incorporating transaction costs into a Net Sharpe Ratio (NSR) objective function. Daily adjusted closing prices of NASDAQ-100 constituent stocks from 2021 to 2025 are employed, with the twenty highest-ranked stocks according to the Sharpe Ratio (SR) selected as the candidate investment universe. Each optimization experiment is independently repeated 25 times to evaluate robustness and solution stability. The results indicate that the proposed HOA consistently achieves competitive optimization performance with very small variability across repeated runs throughout the investment horizon. Although several competing algorithms attain comparable or slightly better objective values during particular rebalancing periods, HOA remains among the strongest-performing methods while exhibiting stable convergence behavior. Throughout the investment horizon, the proposed algorithm produces the highest average cumulative portfolio value of \$5,307.87 ± \$125.71 from an initial investment of \$1,000, corresponding to an average annual return of 40.03% ± 0.68%, together with the highest average SR and NSR of 1.5736 ± 0.0151, while maintaining competitive maximum drawdown and transaction costs. These findings demonstrate that incorporating transaction costs directly into the optimization objective enables HOA to achieve a favorable balance between portfolio growth, risk-adjusted performance, and trading efficiency under dynamic market conditions.


Keywords


Portfolio optimization; Hippopotamus Optimization Algorithm; transaction cost; Sharpe ratio; NASDAQ-100; metaheuristic algorithms.

Full Text:

PDF

References


[1] G. Tsomidis. “Portfolio Construction Under Behavioral Distortions and Narrow Framing: A Machine Learning Approach”. Mathematics 14 (2026), p. 607. DOI: https://doi.org/10.3390/math14040607.

[2] F. Şerban and B.-P. Vrînceanu. “Mean–Variance–Entropy Framework for Cryptocurrency Portfolio Optimization”. Mathematics 13 (2025), p. 1693. DOI: https://doi.org/10.3390/math13101693.

[3] W. B. Lee and A. G. Constantinides. “Practical Applications of Quantum Computing in Finance: Mathematical Foundations and Deployment Challenges”. Encyclopedia 6 (2026), p. 95. DOI: https://doi.org/10.3390/encyclopedia6050095.

[4] T. S. Dai, B. J. Chen, Y. J. Sun, et al. “Constructing Optimal Portfolio Rebalancing Strategies with a Two-Stage Multiresolution-Grid Model”. Computational Economics 64 (2024), pp. 3117–3142. DOI: https://doi.org/10.1007/s10614-024-10555-y.

[5] A. Bányai, T. Tatay, G. Thalmeiner, and L. Pataki. “Consumer Expenditure-Based Portfolio Optimization”. International Journal of Financial Studies 13 (2025), p. 99. DOI: https://doi.org/10.3390/ijfs13020099.

[6] L. Bonga-Bonga. “Navigating Extreme Market Fluctuations: Asset Allocation Strategies in Developed vs. Emerging Economies”. Econometrics 14 (2026), p. 16. DOI: https://doi.org/10.3390/econometrics14010016.

[7] J. G. Astaíza-Gómez. “Uncertainty, Risk, and Opaque Stock Markets”. International Journal of Financial Studies 13 (2025), p. 35. DOI: https://doi.org/10.3390/ijfs13010035.

[8] C. Huang and Z. Jing. “Reinforcement Learning for Single-Stock Portfolio Optimization in Equity Markets”. International Journal of Computational Intelligence Systems 19 (2026), p. 37. DOI: https://doi.org/10.1007/s44196-025-01105-x.

[9] J. Yu and K.-C. Chang. “Smart Tangency Portfolio: Deep Reinforcement Learning for Dynamic Rebalancing and Risk–Return Trade-Off”. International Journal of Financial Studies 13 (2025), p. 227. DOI: https://doi.org/10.3390/ijfs13040227.

[10] V. Tomar, M. Bansal, and P. Singh. “Metaheuristic Algorithms for Optimization: A Brief Review”. Engineering Proceedings 59 (2023), p. 238. DOI: https://doi.org/10.3390/engproc2023059238.

[11] M. Faizan and M. A. Mohammad. “Metaheuristic Algorithms for Feature Selection (2014–2024)”. International Journal of Applied Metaheuristic Computing 16 (2026), pp. 1–23. DOI: https://doi.org/10.4018/IJAMC.397402.

[12] D. Lee, S. Noh, J. Kim, and S. Lee. “Efficient Hyperparameter Optimization Using Metaheuristics for Machine Learning in Truss Steel Structure Cross-Section Prediction”. Buildings 15 (2025), p. 2791. DOI: https://doi.org/10.3390/buildings15152791.

[13] S. Anam, S. A. Ardiyansa, Z. Fitriah, and M. Muslikh. “Optimizing Heart Risk Attack Diagnosis by Hybridizing XGBoost and Chaotic Binary Bat Algorithm”. Applied Computational Intelligence and Soft Computing 2026 (2026), p. 2588501. DOI: https://doi.org/10.1155/acis/2588501.

[14] H. A. Fajri, S. A. Ardiyansa, S. Anam, N. C. Maharani, and E. Julianto. “Improving Support Vector Machine Performance with Binary Gaussian Improved Whale Optimization Algorithm: A Case Study on Diabetes Data”. BAREKENG: Jurnal Ilmu Matematika dan Terapan 19 (2025), pp. 2531–2542. DOI: https://doi.org/10.30598/barekengvol19iss4pp2531-2542.

[15] L. P. D. Jayanti, S. Anam, S. A. Ardiyansa, and N. C. Maharani. “Health Insurance Claim Classification using Support Vector Machine with Velocity Pausing Particle Swarm Optimization”. CAUCHY: Jurnal Matematika Murni dan Aplikasi 10 (2025), pp. 698–710. DOI: https://doi.org/10.18860/cauchy.v10i2.31914.

[16] M. S. Uzer. “New Hybrid Approaches Based on Swarm-Based Metaheuristic Algorithms and Applications to Optimization Problems”. Applied Sciences 15 (2025), p. 1355. DOI: https://doi.org/10.3390/app15031355.

[17] T. Ivanovski, M. Brkić Bakarić, and M. Matetić. “Recent Advances in Metaheuristic Algorithms”. Algorithms 19 (2026), p. 19. DOI: https://doi.org/10.3390/a19010019.

[18] V. N. Thatha, M. G. Karthik, V. G. Gaddam, et al. “Histopathological Image Based Breast Cancer Diagnosis Using Deep Learning and Bio Inspired Optimization”. Scientific Reports 15 (2025), p. 19034. DOI: https://doi.org/10.1038/s41598-025-04136-8.

[19] N. Mars, L. Houcine, M. Chaabani, and A. Zaafouri. “Hippopotamus Algorithm for Optimal Sizing of Hybrid Renewable Energy System”. Results in Engineering 29 (2026), p. 109772. DOI: https://doi.org/10.1016/j.rineng.2026.109772.

[20] M. H. Amiri, N. M. Hashjin, M. Montazeri, S. Mirjalili, and N. Khodadadi. “Hippopotamus Optimization Algorithm: A Novel Nature-Inspired Optimization Algorithm”. Scientific Reports 14 (2024), p. 5032. DOI: https://doi.org/10.1038/s41598-024-54910-3.

[21] N. M. Hashjin, M. H. Amiri, A. Beheshti, and M. K. Najafabadi. “Q2HO-MFTV: A Binary Hippopotamus Optimization Algorithm for Feature Selection with a Brief Review of Binary Optimization”. Knowledge-Based Systems 327 (2025), p. 114119. DOI: https://doi.org/10.1016/j.knosys.2025.114119.

[22] S. A. Ardiyansa, M. Muslikh, and A. R. Alghofari. “Binary Hippopotamus Algorithm with Random Forest for Optimizing Feature Selection Problem”. Numerical Algebra, Control and Optimization 15 (2025), pp. 1176–1191. DOI: https://doi.org/10.3934/naco.2025009.

[23] E. Suleymanov, M. Gubadli, and U. Yagubov. “Test of Volatile Behaviors with the Asymmetric Stochastic Volatility Model: An Implementation on Nasdaq-100”. Risks 12 (2024), p. 76. DOI: https://doi.org/10.3390/risks12050076.

[24] S. Maheshwari and D. R. Naik. “Efficiency in Operations of NASDAQ Listed Technology Companies from 2011 to 2023”. Journal of Risk and Financial Management 17 (2024), p. 205. DOI: https://doi.org/10.3390/jrfm17050205.

[25] L. L. Ortiz-Cerezo, A. A. Carsteanu, and J. B. Clempner. “Sharpe-Ratio Portfolio in Controllable Markov Chains: Analytic and Algorithmic Approach for Second Order Cone Programming”. Mathematics 10 (2022), p. 3221. DOI: https://doi.org/10.3390/math10183221.

[26] M. Zatwarnicki and K. Zatwarnicki. “Timing Usage of Technical Analysis in the Cryptocurrency Market”. Applied Sciences 15 (2025), p. 12802. DOI: https://doi.org/10.3390/app152312802.

[27] Y. Lin and B. Liu. “A Framework for Enhancing Stock Investment Performance by Predicting Important Trading Points with Return-Adaptive Piecewise Linear Representation and Batch Attention Multi-Scale Convolutional Recurrent Neural Network”. Entropy 25 (2023), p. 1500. DOI: https://doi.org/10.3390/e25111500.

[28] F. Şerban and S. Dedu. “Robust Portfolio Optimization in Crypto Markets Using Second-Order Tsallis Entropy and Liquidity-Aware Diversification”. Risks 13 (2025), p. 180. DOI: https://doi.org/10.3390/risks13090180.

[29] S. Isaenko. “Transaction Costs, Frequent Trading, and Stock Prices”. Journal of Financial Markets 64 (2023), p. 100775. DOI: https://doi.org/10.1016/j.finmar.2022.100775.




DOI: https://doi.org/10.18860/cauchy.v11i2.43876

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Mohamad Muslikh

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Editorial Office
Mathematics Department,
Maulana Malik Ibrahim State Islamic University of Malang
Gajayana Street 50 Malang, East Java, Indonesia 65144
e-mail: cauchy@uin-malang.ac.id

Creative Commons License
CAUCHY: Jurnal Matematika Murni dan Aplikasi is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.