Olawale, I. O., Iworiso, J. and Amaunam, I. A. (2023) Predicting stock investments based on sentiment and historical price data. International Journal of Data Envelopment Analysis and *Operations Research*, 4 (1). pp. 1-32.
|
Text
ijdeaor-4-1-1.pdf - Published Version Available under License Creative Commons Attribution 4.0. Download (2MB) | Preview |
Abstract / Description
This paper examines the impact of integrating sentiment data from Twitter with historical stock prices to enhance stock market prediction accuracy. The study employs a comparative analysis using machine learning and deep learning algorithms—Support Vector Machine (SVM), Recurrent Neural Network (RNN), and Bidirectional Encoder Representations from Transformers (BERT) on a single stock. Among these algorithms, BERT achieved the highest predictive accuracy with a rate of 93.21%. The outperformance of BERT algorithm over the other techniques in this study is an indicative evidence that deep learning classification algorithms are superior to conventional sentiment analysis in stock market predictability, with immense contribution to empirical literature. All computations and graphics in this study are obtained using Python. In an extension to this core analysis, the study simulates two distinct investment strategies using aggregated data from ten different stocks: a passive long-term investment and an active, sentiment-based bot trading strategy. These strategies were evaluated using separate machine learning algorithms—Random Forest and XGBoost classifiers—to inform real-time investment decisions. The results indicate that both versions of the bot trading strategies, regardless of the machine learning or deep learning model employed, consistently outperform the passive, long-term investment strategy. The findings corroborate the utility of incorporating social media sentiment into traditional stock prediction frameworks, thereby providing valuable insights for investors and financial institutions. This study underscores the transformative potential of advanced machine learning algorithms and sentiment analysis in reducing investment risks and enhancing decision-making.
Item Type: | Article |
---|---|
Uncontrolled Keywords: | sentiment analysis, supervised learning, classifiers, ML, DL, accuracy |
Subjects: | 000 Computer science, information & general works > 050 General serial publications 500 Natural Sciences and Mathematics > 510 Mathematics |
Department: | School of Computing and Digital Media |
Depositing User: | Jonathan Iworiso |
Date Deposited: | 12 Oct 2023 08:54 |
Last Modified: | 12 Oct 2023 08:54 |
URI: | https://repository.londonmet.ac.uk/id/eprint/8809 |
Downloads
Downloads per month over past year
Downloads each year
Actions (login required)
![]() |
View Item |