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 条
  • [1] Stock Price Prediction Using News Sentiment Analysis
    Mohan, Saloni
    Mullapudi, Sahitya
    Sammeta, Sudheer
    Vijayvergia, Parag
    Anastasiu, David C.
    [J]. 2019 IEEE FIFTH INTERNATIONAL CONFERENCE ON BIG DATA COMPUTING SERVICE AND APPLICATIONS (IEEE BIGDATASERVICE 2019), 2019, : 205 - 208
  • [2] Sentiment Analysis for Stock Price Prediction
    Gupta, Rubi
    Chen, Min
    [J]. THIRD INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION PROCESSING AND RETRIEVAL (MIPR 2020), 2020, : 213 - 218
  • [3] Stock Price Prediction using Linear Regression based on Sentiment Analysis
    Cakra, Yahya Eru
    Trisedya, Bayu Distiawan
    [J]. 2015 International Conference on Advanced Computer Science and Information Systems (ICACSIS), 2015, : 147 - 153
  • [4] Time Series with Sentiment Analysis for Stock Price Prediction
    Sharma, Vrishabh
    Khemnar, Rajgauri
    Kumari, Renu
    Mohan, Biju R.
    [J]. 2019 2ND INTERNATIONAL CONFERENCE ON INTELLIGENT COMMUNICATION AND COMPUTATIONAL TECHNIQUES (ICCT), 2019, : 178 - 181
  • [5] Sentiment analysis on stock social media for stock price movement prediction
    Derakhshan, Ali
    Beigy, Hamid
    [J]. ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2019, 85 : 569 - 578
  • [6] Stock Price Prediction Using Optimal Network Based Twitter Sentiment Analysis
    Kumar, Singamaneni Kranthi
    Akeji, Alhassan Alolo Abdul-Rasheed
    Mithun, Tiruvedula
    Ambika, M.
    Jabasheela, L.
    Walia, Ranjan
    Sakthi, U.
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2022, 33 (02): : 1217 - 1227
  • [7] Stock Price Movement Prediction Using Sentiment Analysis and CandleStick Chart Representation
    Ho, Trang-Thi
    Huang, Yennun
    [J]. SENSORS, 2021, 21 (23)
  • [8] The Effect of Sentiment on Stock Price Prediction
    Vanstone, Bruce James
    Gepp, Adrian
    Harris, Geoff
    [J]. RECENT TRENDS AND FUTURE TECHNOLOGY IN APPLIED INTELLIGENCE, IEA/AIE 2018, 2018, 10868 : 551 - 559
  • [9] Using Financial News Sentiment for Stock Price Direction Prediction
    Fazlija, Bledar
    Harder, Pedro
    [J]. MATHEMATICS, 2022, 10 (13)
  • [10] Stock closing price prediction based on sentiment analysis and LSTM
    Zhigang Jin
    Yang Yang
    Yuhong Liu
    [J]. Neural Computing and Applications, 2020, 32 : 9713 - 9729