IDEAS home Printed from https://ideas.repec.org/a/eee/finana/v97y2025ics1057521924007014.html

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

    for a different version of it.

    References listed on IDEAS

    as
    1. Stefania Albanesi & Domonkos F. Vamossy, 2019. "Predicting Consumer Default: A Deep Learning Approach," Working Papers 2019-056, Human Capital and Economic Opportunity Working Group.
    2. Adriana Breaban & Charles N Noussair, 2018. "Emotional State and Market Behavior [Bubbling with excitement: en experiment]," Review of Finance, European Finance Association, vol. 22(1), pages 279-309.
    3. Malcolm Baker & Jeffrey Wurgler, 2007. "Investor Sentiment in the Stock Market," Journal of Economic Perspectives, American Economic Association, vol. 21(2), pages 129-152, Spring.
    4. Eduardo B. Andrade & Terrance Odean & Shengle Lin, 2016. "Bubbling with Excitement: An Experiment," Review of Finance, European Finance Association, vol. 20(2), pages 447-466.
    5. Vamossy, Domonkos F., 2021. "Investor emotions and earnings announcements," Journal of Behavioral and Experimental Finance, Elsevier, vol. 30(C).
    6. Mark J. Kamstra & Lisa A. Kramer & Maurice D. Levi, 2003. "Winter Blues: A SAD Stock Market Cycle," American Economic Review, American Economic Association, vol. 93(1), pages 324-343, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Liu, Rong & Duan, Na & Liu, Jingyi, 2025. "Research on the impact of social media advertisement placement on enterprises' economic benefits," International Review of Economics & Finance, Elsevier, vol. 102(C).
    2. REN, Fei & YI, Miaomiao & CHEN, Zhang-Hangjian & GAO, Xiang, 2026. "The effect of investor-driven information diffusion on excess comovement: Evidence from retail and institutional investors in China and the United States," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 106(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Domonkos F. Vamossy, 2023. "Social Media Emotions and IPO Returns," Papers 2306.12602, arXiv.org, revised Apr 2024.
    2. Domonkos F. Vamossy & Rolf Skog, 2021. "EmTract: Extracting Emotions from Social Media," Papers 2112.03868, arXiv.org, revised Jun 2023.
    3. Domonkos F. Vamossy, 2024. "Social Media Emotions and Market Behavior," Papers 2404.03792, arXiv.org.
    4. Vamossy, Domonkos F., 2021. "Investor emotions and earnings announcements," Journal of Behavioral and Experimental Finance, Elsevier, vol. 30(C).
    5. Warkulat, Sonja & Pelster, Matthias, 2024. "Social media attention and retail investor behavior: Evidence from r/wallstreetbets," International Review of Financial Analysis, Elsevier, vol. 96(PB).
    6. Domonkos F. Vamossy, 2025. "Social Media Emotions and IPO Returns," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 57(1), pages 31-67, February.
    7. Hoang, Daniel & Wiegratz, Kevin, 2022. "Machine learning methods in finance: Recent applications and prospects," Working Paper Series in Economics 158, Karlsruhe Institute of Technology (KIT), Department of Economics and Management.
    8. Hirshleifer, David & Jiang, Danling & DiGiovanni, Yuting Meng, 2020. "Mood beta and seasonalities in stock returns," Journal of Financial Economics, Elsevier, vol. 137(1), pages 272-295.
    9. Lepori, Gabriele M., 2015. "Investor mood and demand for stocks: Evidence from popular TV series finales," Journal of Economic Psychology, Elsevier, vol. 48(C), pages 33-47.
    10. Draganac, Dragana & Lu, Kelin, 2025. "Pricing asset beyond financial fundamentals: The impact of prosocial preference and image concerns," Journal of Economic Dynamics and Control, Elsevier, vol. 170(C).
    11. Adebayo Oshingbesan & Eniola Ajiboye & Peruth Kamashazi & Timothy Mbaka, 2022. "Model-Free Reinforcement Learning for Asset Allocation," Papers 2209.10458, arXiv.org.
    12. Berardi, Michele, 2022. "Uncertainty and sentiments in asset prices," Journal of Economic Behavior & Organization, Elsevier, vol. 202(C), pages 498-516.
    13. Yochi Cohen-Charash & Charles A Scherbaum & John D Kammeyer-Mueller & Barry M Staw, 2013. "Mood and the Market: Can Press Reports of Investors' Mood Predict Stock Prices?," PLOS ONE, Public Library of Science, vol. 8(8), pages 1-15, August.
    14. Abudy, Menachem (Meni) & Mugerman, Yevgeny & Shust, Efrat, 2022. "The Winner Takes It All: Investor Sentiment and the Eurovision Song Contest," Journal of Banking & Finance, Elsevier, vol. 137(C).
    15. Bashir, Hajam Abid & Kumar, Dilip, 2025. "Unveiling investor sentiment, attention, and speed of price adjustment in Indian market," International Review of Economics & Finance, Elsevier, vol. 101(C).
    16. Guiso, Luigi & Sapienza, Paola & Zingales, Luigi, 2018. "Time varying risk aversion," Journal of Financial Economics, Elsevier, vol. 128(3), pages 403-421.
    17. Cortés, Kristle & Duchin, Ran & Sosyura, Denis, 2016. "Clouded judgment: The role of sentiment in credit origination," Journal of Financial Economics, Elsevier, vol. 121(2), pages 392-413.
    18. Martin G Kocher & Konstantin E Lucks & David Schindler, 2019. "Unleashing Animal Spirits: Self-Control and Overpricing in Experimental Asset Markets," The Review of Financial Studies, Society for Financial Studies, vol. 32(6), pages 2149-2178.
    19. Ma, Marshall Xiaoyin & Noussair, Charles N. & Renneboog, Luc, 2022. "Colors, Emotions, and the Auction Value of Paintings," European Economic Review, Elsevier, vol. 142(C).
    20. Vijay Singal & Jitendra Tayal, 2020. "Risky short positions and investor sentiment: Evidence from the weekend effect in futures markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 40(3), pages 479-500, March.

    More about this item

    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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.