Enhancing Stock Trend Prediction Using BERT-Based Sentiment Analysis and Machine Learning Techniques
Abstract
Predicting stock trends with precision in the ever-evolving financial markets continues to be a formidable challenge. This research investigates an innovative approach that amalgamates the capabilities of BERT (Bidirectional Encoder Representations from Transformers) for sentiment classification (Pang et al., 2002; ?) with supervised machine learning techniques to elevate the accuracy of stock trend prediction. By harnessing the natural language processing process of BERT and its capacity to understand context and sentiment in textual data, coupled with established machine learning methodologies, we aim to provide a robust solution to the intricacies of stock market prediction. By leveraging BERT's natural language processing capabilities, we extract sentiment features from financial news articles. These sentiment scores, combined with traditional financial indicators, form a comprehensive set of features for our predictive model. We aggregate daily net sentiment, among other metrics, and demonstrate its statistically significant predictive efficacy concerning subsequent movements in the stock market. We employed a machine learning model to establish a quantitative relationship between the aggregation of daily net sentiment and trends in stock market movements. Which improved the state-of-the-art performance by 15 percentage points. This research contributes to the ongoing effort to improve stock trend prediction methods, ultimately aiding market participants in making informed investment choices.
Keywords
Full Text:
PDFReferences
Aldhyani T. H., Alzahrani A., “Framework for predicting and modeling stock market prices based on deep learning algorithms”, Electronics, vol. 11, no 19, p. 3149, 2022.
Bansal M., Goyal A., Choudhary A., “Stock market prediction with high accuracy using machine learning techniques”, Procedia Computer Science, vol. 215, p. 247-265, 2022.
Devlin J., Chang M.-W., Lee K., Toutanova K., “BERT: Bidirectional Encoder Representations from Transformers”, arXiv preprint arXiv:1810.04805, 2018.
Joachims T., “Text categorization with support vector machines: Learning with many relevant features”, European conference on machine learning, p. 137-142, 1998.
Lin Y.-L., Lai C.-J., Pai P.-F., “Using deep learning techniques in forecasting stock markets by hybrid data with multilingual sentiment analysis”,
Electronics, vol. 11, no 21, p. 3513, 2022.
Pang B., Lee L., Vaithyanathan S., “Thumbs up? Sentiment classification using machine learning techniques”, Proceedings of the ACL-02 conference on Empirical methods in natural language processing-Volume 10p. 79-86, 2002.
Shah A., Gor M., Sagar M., Shah M., “A stock market trading framework based on deep learning architectures”, Multimedia Tools and Applications, vol. 81, no 10, p. 14153-14171, 2022.
DOI: https://doi.org/10.46336/ijqrm.v5i1.567
Refbacks
- There are currently no refbacks.
Copyright (c) 2024 Nikesh Yadav
This work is licensed under a Creative Commons Attribution 4.0 International License.
Published By:
IJQRM: Jalan Riung Ampuh No. 3, Riung Bandung, Kota Bandung 40295, Jawa Barat, Indonesia
IJQRM Indexed By:
Creation is distributed below Lisensi Creative Commons Atribusi 4.0 Internasional.