EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

Sentiment Analysis and Machine Learning-Based Stock Prediction for 10 KLSE Index Stocks

Yong Wei Tan, Khai Wah Khaw, XinYing Chew, Pick Schen Yip, Shiuh Tong Lim

Capital Markets Review · 19.12.2025 · 33 (2) · 75-93

DOI: 10.66674/0fmkjr07 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Capital Markets Review, online erschienen am 19.12.2025. Verfasst von Yong Wei Tan und 4 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Abstract:Research Question: How can the integration of localized investor sentiment from social media with historical stock data enhance the predictive accuracy of machine learning models for Kuala Lumpur Stock Exchange (KLSE) index stocks? Motivation: This study introduces novelty by utilizing a localized sentiment dataset extracted from the KLSE Screener, a platform specific to Malaysian investors. This approach better reflects regional investor behavior, language diversity, and local market dynamics compared to global datasets, offering a more contextualized analysis of the Malaysian financial ecosystem. Idea: The core idea is to develop a hybrid prediction model that integrates historical stock data with quantified investor sentiment scores. The central hypothesis is that this integration will yield superior forecasting performance compared to models using historical data alone. The dependent variable is the stock’s closing price, and key independent variables include the historical price features and the sentiment score. Data: Ten years of historical price data were analyzed for the top KLSE stocks. This was combined with one year of investor comments scraped from the KLSE Screener. Sentiment was measured using the Valence Aware Dictionary and Sentiment Reasoner (VADER) lexicon tool. Method/Tools: After preprocessing and normalizing the data, six machine learning models implemented and compared. Model performance was evaluated using several performance indicators. Findings: XGBoost emerged as the best-performing model, MSE=0.0001 and R²=0.99998, effectively capturing complex patterns between price and sentiment data. Correlation analysis revealed mixed, generally weak relationships between sentiment and price movements across different stocks, indicating that investor sentiment in this context is often reactive rather than predictive. This finding adds nuance to literature that often assumes a straightforward positive correlation. Contributions: This paper’s primary contribution is twofold: it demonstrates the superiority of ensemble methods like XGBoost for financial forecasting with sentiment data, and it provides a pioneering analysis using a localized Malaysian sentiment dataset, establishing a foundation for more regionally-aware financial market research.

Zitieren

APA

Tan, Y. W., Khaw, K. W., Chew, X., Yip, P. S., & Lim, S. T. (2025). Sentiment Analysis and Machine Learning-Based Stock Prediction for 10 KLSE Index Stocks. Capital Markets Review, 33(2), 75-93. https://doi.org/10.66674/0fmkjr07

Vancouver

Tan YW, Khaw KW, Chew X, Yip PS, Lim ST. Sentiment Analysis and Machine Learning-Based Stock Prediction for 10 KLSE Index Stocks. Capital Markets Review. 2025;33(2):75-93. doi:10.66674/0fmkjr07

BibTeX
@article{Tan2025,
  author = {Tan, Yong Wei and Khaw, Khai Wah and Chew, XinYing and Yip, Pick Schen and Lim, Shiuh Tong},
  title = {Sentiment Analysis and Machine Learning-Based Stock Prediction for 10 KLSE Index Stocks},
  journal = {Capital Markets Review},
  year = {2025},
  volume = {33},
  number = {2},
  pages = {75--93},
  doi = {10.66674/0fmkjr07}
}
Kostenlos starten →