Research Article

Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions

Volume: 54 Number: 1 May 15, 2025
EN

Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions

Abstract

This study investigates the integration of sentiment analysis with machine learning models to forecast stock price movements using the Nvidia Corporation as a case study. Sentiment scores were derived from Nvidia-related financial news headlines using two sentiment analysis tools: FinBERT, a domain-specific tool, and TextBlob, a general-purpose tool. These scores were integrated into predictive frameworks based on bidirectional long short-term memory (Bi-LSTM) networks and multilayer perceptrons (MLPs) developed alongside historical stock price data. This study assesses the predictive performance over the entire observation period and across distinct market phases: bullish, stagnation, and strong bullish conditions. The findings indicate that sentiment features enhance predictive accuracy in specific contexts, particularly during stagnation phases, with TextBlob demonstrating superior performance to FinBERT in specific scenarios. In addition, Bi-LSTM models exhibit consistently superior performance in capturing temporal dependencies compared to MLPs. However, the impact of sentiment features diminished during strongly directional trends, such as those observed in strong bullish markets. The combination of FinBERT and TextBlob in the same dataset allows for a dual-perspective approach to sentiment analysis, thereby providing new insights into the dynamic relationship between market sentiment and stock price behavior. This research contributes to the existing literature on applying sentiment analysis to financial forecasting by advancing the integration of complementary sentiment tools and phase-specific evaluations.

Keywords

References

  1. Alam, M. S., Hossain, A. K. M. B., & Mohamed, F. (2022). Performance Evaluation of Recurrent Neural Networks for Indoor Camera Localization. International Journal of Emerging Technology and Advanced Engineering, 12(8), 116–124. https://doi.org/10.46338/ ijetae0822_15 google scholar
  2. Araci, D. T. (2019). FinBERT: Financial Sentiment Analysis with Pre-trained Language Models. Retrieved from https://arxiv.org/abs/1908. 10063v1. google scholar
  3. Bharathabau, K., Saurav, Vishal. (2023). Prediction and Sentiment Analysis of Stocks using Machine Learning. International Journal For Science Technology And Engineering, 11(5):6512-6519. doi: 10.22214/ijraset.2023.53169 google scholar
  4. Bouktif, S., Fiaz, A., and Awad, M. (2020). Augmented Textual Features Based Stock Market Prediction. IEEE Access, PP, 1. https://doi.org/ 10.1109/ACCESS.2020.2976725 google scholar
  5. Chai, T., & Draxler, R. R. (2014). Root mean square error (RMSE) or mean absolute error (MAE)? This is an argument against avoiding RMSE. Geoscientific Model Development, 7(3), 1247–1250. https://doi.org/10.5194/gmd-7-1247-2014~ google scholar
  6. Chicco, D., Warrens, M. J., & Jurman, G. (2021). The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE, and RMSE in regression analysis evaluation. PeerJ Computer Science, 7, 1–24. https://doi.org/10.7717/PEERJ-CS.623 google scholar
  7. Costola, M., Hinz, O., Nofer, M., & Pelizzon, L. (2023). Machine learning sentiment analysis of COVID-19 news and stock market reactions. google scholar
  8. Research in International Business and Finance, 64, 101881. https://doi.org/10.1016/J.RIBAF.2023.101881 google scholar

Details

Primary Language

English

Subjects

Behavioural Finance

Journal Section

Research Article

Publication Date

May 15, 2025

Submission Date

April 19, 2024

Acceptance Date

April 9, 2025

Published in Issue

Year 2025 Volume: 54 Number: 1

APA
Akusta, A. (2025). Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions. Istanbul Business Research, 54(1), 99-121. https://doi.org/10.26650/ibr.2025.54.1470756
AMA
1.Akusta A. Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions. IBR. 2025;54(1):99-121. doi:10.26650/ibr.2025.54.1470756
Chicago
Akusta, Ahmet. 2025. “Integrating Market Sentiments for Stock Price Prediction: A Comparative Study of Bi-LSTM and Multilayer Perceptions”. Istanbul Business Research 54 (1): 99-121. https://doi.org/10.26650/ibr.2025.54.1470756.
EndNote
Akusta A (May 1, 2025) Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions. Istanbul Business Research 54 1 99–121.
IEEE
[1]A. Akusta, “Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions”, IBR, vol. 54, no. 1, pp. 99–121, May 2025, doi: 10.26650/ibr.2025.54.1470756.
ISNAD
Akusta, Ahmet. “Integrating Market Sentiments for Stock Price Prediction: A Comparative Study of Bi-LSTM and Multilayer Perceptions”. Istanbul Business Research 54/1 (May 1, 2025): 99-121. https://doi.org/10.26650/ibr.2025.54.1470756.
JAMA
1.Akusta A. Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions. IBR. 2025;54:99–121.
MLA
Akusta, Ahmet. “Integrating Market Sentiments for Stock Price Prediction: A Comparative Study of Bi-LSTM and Multilayer Perceptions”. Istanbul Business Research, vol. 54, no. 1, May 2025, pp. 99-121, doi:10.26650/ibr.2025.54.1470756.
Vancouver
1.Ahmet Akusta. Integrating market sentiments for stock price prediction: A comparative study of Bi-LSTM and multilayer perceptions. IBR. 2025 May 1;54(1):99-121. doi:10.26650/ibr.2025.54.1470756

For more information about IBR and recent publications, please visit us at IU Press.