Work

An Explainable Hybrid LSTM–XGBoost Framework for Portfolio Optimization with Walk-Forward Backtesting in the Indonesian Equity Market

Year: 2026
Type: article
Abstract: The Indonesian equity market presents substantial challenges for portfolio construction due to its high volatility, sector concentration, and sensitivity to global macroeconomic shocks. Although recent studies employ machine learning for stock return prediction, most focus primarily on forecast accuracy without integrating predictive models into a complete portfolio decision-making framework. This study proposes an explainable hybrid LSTM–XGBoost framework for portfolio optimization with walk-forward backtesting in the Indonesian equity market, evaluated on LQ45 constituents of the IDX over 23 quarterly rebalancing periods from January 2020 to November 2025. The framework combines temporal sequence modeling (LSTM) with nonlinear ensemble learning (XGBoost), dynamic ensemble weighting, mean variance optimization with risk-parity fallback, sector diversification constraints, and stop-loss controls. An explainable feature attribution mechanism that combines LSTM gradient-based saliency and XGBoost gain-based importance enables regime-aware interpretation. The empirical results show a total return of 371.69% versus 35.41% for IHSG, a Sharpe ratio of 1.25 versus 0.03, and a maximum drawdown of -20.29% compared with -37.75%. The annualized alpha of 26.50% and the beta of 0.43 confirm that the performance arises from the ability to select stocks rather than the exposure of the market.
Institution: Telkom University
Language: English
Open Access status: gold
Estimated APC paid: $65
OpenAlex ID: W7225081990
FWCI:
Cites:
Cited by:
Related to: 10