Stock Price Prediction Using Sentiment Analysis

被引:9
|
作者
Sidogi, Thendo [1 ]
Mbuvha, Rendani [2 ]
Marwala, Tshilidzi [1 ]
机构
[1] Univ Johannesburg, Sch Elect Engn, Johannesburg, South Africa
[2] Univ Witwatersrand, Sch Stat & Actuarial Sci, Johannesburg, South Africa
关键词
FinBERT; language model; sentiment analysis; prediction; LSTM; MARKET; NEWS;
D O I
10.1109/SMC52423.2021.9659283
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We investigate the influence of financial news headline sentiment on the predictability of stock prices using Long Term Short Term Memory (LSTM) networks. The investigation is performed on intraday data with specific lag-times between published article headlines and realised stock prices. FinBERT, a natural language processing model which is fine-tuned specifically for financial news is used to perform sentiment analysis on the company related news headlines. Two base models, one with only historical stock price data as inputs and the other with both historical stock price data and sentiment data from the original BERT model is tested. An alternative model with have both historical stock price data and sentiment data from the fine tuned FinBERT model as additional features. A comparison is performed on both the base and alternative models using Root Mean Square Error (RMSE) and mean absolute error (MAE) as performance metrics. The results suggest that the use of news headline sentiment features from FinBERT significantly improve the predictive performance of LSTM networks in intraday stock price prediction. FinBERT features are also found to outperform features based BERT model trained on a general corpus, illustrating the positive effect of domain specific fine tuning for Large Language models.
引用
收藏
页码:46 / 51
页数:6
相关论文
共 50 条
  • [41] Airbnb Price Prediction Using Machine Learning and Sentiment Analysis
    Kalehbasti, Pouya Rezazadeh
    Nikolenko, Liubov
    Rezaei, Hoormazd
    [J]. MACHINE LEARNING AND KNOWLEDGE EXTRACTION (CD-MAKE 2021), 2021, 12844 : 173 - 184
  • [42] Incorporating Multi-Source Market Sentiment and Price Data for Stock Price Prediction
    Fu, Kui
    Zhang, Yanbin
    [J]. MATHEMATICS, 2024, 12 (10)
  • [43] Stock Price Forecasting via Sentiment Analysis on Twitter
    Kordonis, John
    Symeonidis, Symeon
    Arampatzis, Avi
    [J]. 20TH PAN-HELLENIC CONFERENCE ON INFORMATICS (PCI 2016), 2016,
  • [44] Prediction of stock price direction using the LASSO-LSTM model combines technical indicators and financial sentiment analysis
    Yang, Junwen
    Wang, Yunmin
    Li, Xiang
    [J]. PeerJ Computer Science, 2022, 8
  • [45] Prediction of stock price direction using the LASSO-LSTM model combines technical indicators and financial sentiment analysis
    Yang, Junwen
    Wang, Yunmin
    Li, Xiang
    [J]. PEERJ COMPUTER SCIENCE, 2022, 8
  • [46] Stock price movement prediction based on Stocktwits investor sentiment using FinBERT and ensemble SVM
    Liu, Jin-Xian
    Leu, Jenq-Shiou
    Holst, Stefan
    [J]. PEERJ COMPUTER SCIENCE, 2023, 9
  • [47] Dynamic and context-dependent stock price prediction using attention modules and news sentiment
    Nicole Königstein
    [J]. Digital Finance, 2023, 5 (3-4): : 449 - 481
  • [48] Improving stock market prediction accuracy using sentiment and technical analysis
    Agrawal, Shubham
    Kumar, Nitin
    Rathee, Geetanjali
    Kerrache, Chaker Abdelaziz
    Calafate, Carlos T.
    Bilal, Muhammad
    [J]. ELECTRONIC COMMERCE RESEARCH, 2024,
  • [49] Sentiment Analysis for Indian Stock Market Prediction Using Sensex and Nifty
    Bhardwaj, Aditya
    Narayan, Yogendra
    Vanraj
    Pawan
    Dutta, Maitreyee
    [J]. PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON ECO-FRIENDLY COMPUTING AND COMMUNICATION SYSTEMS, 2015, 70 : 85 - 91
  • [50] Deep Learning for Stock Market Prediction Using Sentiment and Technical Analysis
    Chatziloizos G.-M.
    Gunopulos D.
    Konstantinou K.
    [J]. SN Computer Science, 5 (5)