arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08896cs.LGcs.AIq-fin.ST
收藏

使用XGBoost对NEPSE指数对数收益率进行预测并进行走步验证

XGBoost Forecasting of NEPSE Index Log Returns with Walk Forward Validation

Department of Mathematics, Kathmandu University(数学系,加德满都大学);Department of Physics, Kathmandu University(物理系,加德满都大学)

Sahaj Raj Malla, Shreeyash Kayastha, Rumi Suwal, Harish Chandra Bhandari, Rajendra Adhikari

AI总结:

本文利用XGBoost对NEPSE指数对数收益率进行预测,通过走步验证评估模型性能,证明梯度提升在波动市场中的有效性。

摘要:

本研究开发了一个稳健的机器学习框架,用于使用XGBoost回归器对尼泊尔股票交易所(NEPSE)指数的每日对数收益率进行一步预测。构建了一个全面的特征集,包括滞后对数收益率(最多30天)以及已建立的技术指标,如短期和中期滚动波动率度量和14周期相对强度指数。使用Optuna对超参数进行优化,并在初始训练段上进行时间序列交叉验证。通过走步验证在多个滞后配置下评估出样性能,采用扩展和固定长度滚动窗口方案,模拟真实世界部署并避免前瞻性偏差。通过均方根误差、平均绝对误差、决定系数(R-squared)和方向准确性对对数收益率和重建的收盘价进行预测准确性评估。实证结果表明,最优配置,即扩展窗口与20个滞后,优于调优的ARIMA和岭回归基准,实现了最低的对数收益率RMSE(0.013450)和MAE(0.009814),以及65.15%的方向准确性。虽然R-squared仍然较低,但与金融收益率的噪声性质一致,主要强调相对误差减少和方向预测。特征重要性分析和视觉检查进一步增强了可解释性。这些发现证明了梯度提升集成在建模波动新兴市场时间序列非线性动态中的有效性,并为NEPSE指数预测建立了可重复的基准。

英文摘要:

This study develops a robust machine learning framework for one-step-ahead forecasting of daily log-returns in the Nepal Stock Exchange (NEPSE) Index using the XGBoost regressor. A comprehensive feature set is engineered, including lagged log-returns (up to 30 days) and established technical indicators such as short- and medium-term rolling volatility measures and the 14-period Relative Strength Index. Hyperparameter optimization is performed using Optuna with time-series cross-validation on the initial training segment. Out-of-sample performance is rigorously assessed via walk-forward validation under both expanding and fixed-length rolling window schemes across multiple lag configurations, simulating real-world deployment and avoiding lookahead bias. Predictive accuracy is evaluated using root mean squared error, mean absolute error, coefficient of determination (R-squared), and directional accuracy on both log-returns and reconstructed closing prices. Empirical results show that the optimal configuration, an expanding window with 20 lags, outperforms tuned ARIMA and Ridge regression benchmarks, achieving the lowest log-return RMSE (0.013450) and MAE (0.009814) alongside a directional accuracy of 65.15%. While the R-squared remains modest, consistent with the noisy nature of financial returns, primary emphasis is placed on relative error reduction and directional prediction. Feature importance analysis and visual inspection further enhance interpretability. These findings demonstrate the effectiveness of gradient boosting ensembles in modeling nonlinear dynamics in volatile emerging market time series and establish a reproducible benchmark for NEPSE Index forecasting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑