Stock price movement prediction based on Stocktwits investor sentiment using FinBERT and ensemble SVM

Author:

Liu Jin-Xian1,Leu Jenq-Shiou1,Holst Stefan2

Affiliation:

1. Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei, Taiwan

2. Department of Computer Science and Networks, Kyushu Institute of Technology, Fukuoka Prefecture, Japan

Abstract

Investor sentiment plays a crucial role in the stock market, and in recent years, numerous studies have aimed to predict future stock prices by analyzing market sentiment obtained from social media or news. This study investigates the use of investor sentiment from social media, with a focus on Stocktwits, a social media platform for investors. However, using investor sentiment on Stocktwits to predict stock price movements may be challenging due to a lack of user-initiated sentiment data and the limitations of existing sentiment analyzers, which may inaccurately classify neutral comments. To overcome these challenges, this study proposes an alternative approach using FinBERT, a pre-trained language model specifically designed to analyze the sentiment of financial text. This study proposes an ensemble support vector machine for improving the accuracy of stock price movement predictions. Then, it predicts the future movement of SPDR S&P 500 Index Exchange Traded Funds using the rolling window approach to prevent look-ahead bias. Through comparing various techniques for generating sentiment, our results show that using the FinBERT model for sentiment analysis yields the best results, with an F1-score that is 4–5% higher than other techniques. Additionally, the proposed ensemble support vector machine improves the accuracy of stock price movement predictions when compared to the original support vector machine in a series of experiments.

Funder

The Kyushu Institute of Technology—National Taiwan University of Science and Technology Joint Research Program

Publisher

PeerJ

Subject

General Computer Science

Reference31 articles.

1. Is all that talk just noise? the information content of internet stock message boards;Antweiler;The Journal of Finance,2004

2. FinBERT: financial sentiment analysis with pre-trained language models;Araci,2019

3. Support Vector Machines (SVM) as a technique for solvency analysis;Auria;SSRN Electronic Journal,2008

4. Sentiment analysis of stocktwits using transformer models;Bozanta,2021

5. Bagging predictors;Breiman;Machine Learning,1996

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3