This study proposes a machine learning framework tailored to the institutional characteristics of Taiwan’s stock market, aiming to enhance forecasting accuracy for the Taiwan Stock Exchange Capitalization Weighted Stock Index (TAIEX). The model employs the Radius Neighbors Regressor with a dynamic radius-based similarity measure and integrates domain-specific features including technical indicators, volume–price relationships, and Qualified Foreign Institutional Investor (QFII) activity. A custom 60-day input window with a 20-day forecast horizon is applied to capture medium-term market dynamics. The framework was evaluated through extensive backtesting and real-world validation with the TAIEX Futures. The results demonstrate that the model achieves a peak directional accuracy of 85.1% under optimal parameter settings. Moreover, trading simulations confirm its practical viability, yielding a cumulative return on investment (ROI) of approximately 1600% during the short-term evaluation period (2023–2025) and nearly 2000% in the long-term evaluation (2019–2025), even after accounting for transaction costs and stop-loss mechanisms. These findings indicate that combining historical pattern similarity with institutional investor behavior substantially improves predictive power and profitability. Nevertheless, the framework remains constrained by its reliance on Taiwan-specific institutional features and historical trading data, limiting generalizability. Future research should extend applications to other markets while incorporating macroeconomic variables, corporate fundamentals, and news-driven signals to enhance adaptability.
Huang et al. (Sat,) studied this question.