EmTract: Extracting emotions from social media
Domonkos F. Vamossy and
Rolf P. Skog
International Review of Financial Analysis, 2025, vol. 97, issue C
Abstract:
We developed EmTract, an open-source tool designed to extract investor emotions from financial social media data. We contribute a novel dataset of 10,000 financial social media messages annotated with emotion labels and improve the DistilBERT model by incorporating 4861 tokens, including emojis and emoticons. This augmentation improved the model’s accuracy by over 3 percentage points compared to the standard BERT model, while providing faster inference and reduced computational requirements. Our models and datasets are publicly available to promote broader adoption and further research in financial sentiment analysis. We validated EmTract during the 2021 “meme stock” rally, where it accurately captured spikes in emotions such as anger and disgust following trading restrictions, demonstrating the model’s practical applicability in real-world events. Additionally, heterogeneity tests show that emotions have a stronger impact on smaller, more volatile, and heavily shorted stocks, aligning with established behavioral finance theories. These findings underscore the importance of integrating emotional dynamics into market analysis, particularly for speculative assets. Our contributions represent a significant step forward in understanding the psychological drivers of financial markets and offer practical tools for future research and industry applications.
Keywords: Deep learning; Investor emotions; Text analysis; Social media; Return predictability (search for similar items in EconPapers)
JEL-codes: G41 L82 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S1057521924007014
Full text for ScienceDirect subscribers only
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:eee:finana:v:97:y:2025:i:c:s1057521924007014
DOI: 10.1016/j.irfa.2024.103769
Access Statistics for this article
International Review of Financial Analysis is currently edited by B.M. Lucey
More articles in International Review of Financial Analysis from Elsevier
Bibliographic data for series maintained by Catherine Liu ().