IDEAS home Printed from https://ideas.repec.org/a/eee/finana/v97y2025ics1057521924007014.html
   My bibliography  Save this article

EmTract: Extracting emotions from social media

Author

Listed:
  • Vamossy, Domonkos F.
  • Skog, Rolf P.

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.

Suggested Citation

  • Vamossy, Domonkos F. & Skog, Rolf P., 2025. "EmTract: Extracting emotions from social media," International Review of Financial Analysis, Elsevier, vol. 97(C).
  • Handle: RePEc:eee:finana:v:97:y:2025:i:c:s1057521924007014
    DOI: 10.1016/j.irfa.2024.103769
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1057521924007014
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.irfa.2024.103769?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Keywords

    Deep learning; Investor emotions; Text analysis; Social media; Return predictability;
    All these keywords.

    JEL classification:

    • G41 - Financial Economics - - Behavioral Finance - - - Role and Effects of Psychological, Emotional, Social, and Cognitive Factors on Decision Making in Financial Markets
    • L82 - Industrial Organization - - Industry Studies: Services - - - Entertainment; Media

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:finana:v:97:y:2025:i:c:s1057521924007014. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620166 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.