PyFin-sentiment: Towards a machine-learning-based model for deriving sentiment from financial tweets
Research output: Journal contributions › Journal articles › Research › peer-review
Authors
Responding to the poor performance of generic automated sentiment analysis solutions on domain-specific texts, we collect a dataset of 10,000 tweets discussing the topics of finance and investing. We manually assign each tweet its market sentiment, i.e., the investor's anticipation of a stock's future return. Using this data, we show that all existing sentiment models trained on adjacent domains struggle with accurate market sentiment analysis due to the task's specialized vocabulary. Consequently, we design, train, and deploy our own sentiment model. It outperforms all previous models (VADER, NTUSD-Fin, FinBERT, TwitterRoBERTa) when evaluated on Twitter posts. On posts from a different platform, our model performs on par with BERT-based large language models. We achieve this result at a fraction of the training and inference costs due to the model's simple design. We publish the artifact as a python library to facilitate its use by future researchers and practitioners.
Original language | English |
---|---|
Article number | 100171 |
Journal | International Journal of Information Management Data Insights |
Volume | 3 |
Issue number | 1 |
Number of pages | 10 |
DOIs | |
Publication status | Published - 01.04.2023 |
Externally published | Yes |
Bibliographical note
Publisher Copyright:
© 2023 The Author(s)
- Deep learning, Financial market sentiment, Machine learning, Opinion mining, Sentiment analysis
- Business informatics
- Informatics