Melola Discovery

← Melola Discovery

Open access Jurnal SINTA 3

GREY WOLF-OPTIMIZED XGBOOST REGRESSOR FOR STOCK INDEX PREDICTION WITH FINANCIAL FEATURES

BAREKENG: Jurnal Ilmu Matematika dan Terapan · Vol. 20 No. 3 (2026) · pp. 2131–2150

DOI
10.30598/barekengvol20iss3pp2131-2150
ISSN
2615-3017, 1978-7227
Published
2026-04-08
Publisher
PATTIMURA UNIVERSITY
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

Accurate stock index prediction is essential for effective investment strategies and economic policymaking. While traditional statistical models often fail to capture the nonlinear dynamics of financial markets, machine learning approaches—particularly Extreme Gradient Boosting (XGBoost)—offer greater flexibility, robustness to overfitting, and computational efficiency. However, the performance of XGBoost strongly depends on hyperparameter tuning, which is difficult to optimize using conventional search methods. To address this, we propose a hybrid framework that integrates XGBoost with Grey Wolf Optimization (GWO) for enhanced hyperparameter selection in stock index forecasting. Using historical data from the Indonesian BBNI stock index (2021–2024) and financial features (price, volume, and temporal), the GWO-optimized XGBoost achieved superior performance, recording the lowest testing MAPE (1.79%), RMSE (108.67), and MAE (84.32). These results surpass classical regressors (Decision Tree, Random Forest, Multilayer Perceptron, Gradient Boosting) by margins of 6–26% and outperform conventional tuning methods (Grid Search, Random Search, Bayesian Optimization) as well as other swarm intelligence approaches (PSO, BA). Moreover, the GWO-based approach reduced error variability and required significantly less optimization time, with the 10-wolf configuration providing the best accuracy–efficiency tradeoff. The scope of this study is limited to a single stock index (BBNI.JK) and financial features, without incorporating macroeconomic indicators, sentiment variables, or cross-market validation. These limitations indicate potential directions for future work to enhance generalizability. Overall, the proposed GWO-XGBoost framework provides a powerful, stable, and time-efficient solution for stock index prediction in volatile market conditions.

Collaboration network of the authors

40 authors · 99 co-authorship links · 14 across different organisations · showing the 40 most connected

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • University of Brawijaya
  • University of Bangka Belitung
  • National Research and Innovation Agency
  • Institut Teknologi Sepuluh Nopember
  • Indonesian Institute of Sciences
  • Chiba University
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Desy Yuliana DalimuntheAffiliation unknown3
Wayan Firdaus MahmudyUniversity of Brawijaya2
Safrizal Ardana ArdiyansaAffiliation unknown2
Eric JuliantoAffiliation unknown2
Avin MaulanaInstitut Teknologi Sepuluh Nopember2
Hilmi Aziz BukhoriAffiliation unknown2
M. Rafael Andika PutraAffiliation unknown2
Zuraidah FitriahAffiliation unknown2
Indah YantiAffiliation unknown2
Noor HidayatAffiliation unknown2
Asyrofa RahmiUniversity of Brawijaya1
Muchammad Chandra Cahyo UtomoUniversity of Brawijaya1
Ahmad Afif SupiantoUniversity of Brawijaya1
Vicky ZilvanIndonesian Institute of Sciences1
Hilman Ferdinandus PardedeNational Research and Innovation Agency1
Onky PrasetyoUniversity of Brawijaya1
R. Budiarianto Suryo KusumoNational Research and Innovation Agency1
Rodiatul AdawiyahUniversity of Bangka Belitung1
Eka Sari WijayantiUniversity of Bangka Belitung1
Ririn AmeliaAffiliation unknown1
Ineu SulistianaAffiliation unknown1
Dewi IsmiartiAffiliation unknown1
Abdi Negara GuciAffiliation unknown1
Fery WidhiatmokoAffiliation unknown1
Mila KurniawatyAffiliation unknown1
Komang Agus Arta WijayaAffiliation unknown1
Helen Yuliana AngmalisangAffiliation unknown1
Natasha Clarissa MaharaniAffiliation unknown1
Vebtasvili VebtasviliChiba University1
Haslen OktariantyAffiliation unknown1
Yabes Sentosa SilabanAffiliation unknown1
Fadillah LuthfiyahAffiliation unknown1
Dita RahmaniaAffiliation unknown1
KhadijahAffiliation unknown1
Niken HalimAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://ojs3.unpatti.ac.id/index.php/barekeng/oai, first harvested 5 Nov 2026, last seen 5 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">GREY WOLF-OPTIMIZED XGBOOST REGRESSOR FOR STOCK INDEX PREDICTION WITH FINANCIAL FEATURES</dc:title>
	<dc:creator>Anam, Syaiful</dc:creator>
	<dc:creator>Shamsuddin, Mohd Razif</dc:creator>
	<dc:creator>Kustiawan, Elyas</dc:creator>
	<dc:creator>Mahanani, Dwi Mifta</dc:creator>
	<dc:creator>Yusuf, Feby Indriana</dc:creator>
	<dc:description xml:lang="en-US">Accurate stock index prediction is essential for effective investment strategies and economic policymaking. While traditional statistical models often fail to capture the nonlinear dynamics of financial markets, machine learning approaches—particularly Extreme Gradient Boosting (XGBoost)—offer greater flexibility, robustness to overfitting, and computational efficiency. However, the performance of XGBoost strongly depends on hyperparameter tuning, which is difficult to optimize using conventional search methods. To address this, we propose a hybrid framework that integrates XGBoost with Grey Wolf Optimization (GWO) for enhanced hyperparameter selection in stock index forecasting. Using historical data from the Indonesian BBNI stock index (2021–2024) and financial features (price, volume, and temporal), the GWO-optimized XGBoost achieved superior performance, recording the lowest testing MAPE (1.79%), RMSE (108.67), and MAE (84.32). These results surpass classical regressors (Decision Tree, Random Forest, Multilayer Perceptron, Gradient Boosting) by margins of 6–26% and outperform conventional tuning methods (Grid Search, Random Search, Bayesian Optimization) as well as other swarm intelligence approaches (PSO, BA). Moreover, the GWO-based approach reduced error variability and required significantly less optimization time, with the 10-wolf configuration providing the best accuracy–efficiency tradeoff. The scope of this study is limited to a single stock index (BBNI.JK) and financial features, without incorporating macroeconomic indicators, sentiment variables, or cross-market validation. These limitations indicate potential directions for future work to enhance generalizability. Overall, the proposed GWO-XGBoost framework provides a powerful, stable, and time-efficient solution for stock index prediction in volatile market conditions.</dc:description>
	<dc:publisher xml:lang="en-US">PATTIMURA UNIVERSITY</dc:publisher>
	<dc:date>2026-04-08</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/21122</dc:identifier>
	<dc:identifier>10.30598/barekengvol20iss3pp2131-2150</dc:identifier>
	<dc:source xml:lang="en-US">BAREKENG: Jurnal Ilmu Matematika dan Terapan; Vol 20 No 3 (2026): BAREKENG: Journal of Mathematics and Its Application; 2131-2150</dc:source>
	<dc:source>2615-3017</dc:source>
	<dc:source>1978-7227</dc:source>
	<dc:source>10.30598/barekengvol20iss3year2026</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/21122/12659</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 Syaiful Anam, Mohd Razif Shamsuddin, Elyas Kustiawan, Dwi Mifta Mahanani, Feby Indriana Yusuf</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>