IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2404.08665.html
   My bibliography  Save this paper

Targeted aspect-based emotion analysis to detect opportunities and precaution in financial Twitter messages

Author

Listed:
  • Silvia Garc'ia-M'endez
  • Francisco de Arriba-P'erez
  • Ana Barros-Vila
  • Francisco J. Gonz'alez-Casta~no

Abstract

Microblogging platforms, of which Twitter is a representative example, are valuable information sources for market screening and financial models. In them, users voluntarily provide relevant information, including educated knowledge on investments, reacting to the state of the stock markets in real-time and, often, influencing this state. We are interested in the user forecasts in financial, social media messages expressing opportunities and precautions about assets. We propose a novel Targeted Aspect-Based Emotion Analysis (TABEA) system that can individually discern the financial emotions (positive and negative forecasts) on the different stock market assets in the same tweet (instead of making an overall guess about that whole tweet). It is based on Natural Language Processing (NLP) techniques and Machine Learning streaming algorithms. The system comprises a constituency parsing module for parsing the tweets and splitting them into simpler declarative clauses; an offline data processing module to engineer textual, numerical and categorical features and analyse and select them based on their relevance; and a stream classification module to continuously process tweets on-the-fly. Experimental results on a labelled data set endorse our solution. It achieves over 90% precision for the target emotions, financial opportunity, and precaution on Twitter. To the best of our knowledge, no prior work in the literature has addressed this problem despite its practical interest in decision-making, and we are not aware of any previous NLP nor online Machine Learning approaches to TABEA.

Suggested Citation

  • Silvia Garc'ia-M'endez & Francisco de Arriba-P'erez & Ana Barros-Vila & Francisco J. Gonz'alez-Casta~no, 2024. "Targeted aspect-based emotion analysis to detect opportunities and precaution in financial Twitter messages," Papers 2404.08665, arXiv.org.
  • Handle: RePEc:arx:papers:2404.08665
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2404.08665
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jorge Carrillo-de-Albornoz & Javier Rodríguez Vidal & Laura Plaza, 2018. "Feature engineering for sentiment analysis in e-health forums," PLOS ONE, Public Library of Science, vol. 13(11), pages 1-25, November.
    2. Jitendra Kumar Rout & Kim-Kwang Raymond Choo & Amiya Kumar Dash & Sambit Bakshi & Sanjay Kumar Jena & Karen L. Williams, 2018. "A model for sentiment and emotion analysis of unstructured social media text," Electronic Commerce Research, Springer, vol. 18(1), pages 181-199, March.
    3. Ahn, Yongkil & Kim, Dongyeon, 2021. "Emotional trading in the cryptocurrency market," Finance Research Letters, Elsevier, vol. 42(C).
    4. Patrick Houlihan & Germán G. Creamer, 2021. "Leveraging Social Media to Predict Continuation and Reversal in Asset Prices," Computational Economics, Springer;Society for Computational Economics, vol. 57(2), pages 433-453, February.
    5. M. Bee & J. Hambuckers & L. Trapin, 2021. "Estimating large losses in insurance analytics and operational risk using the g-and-h distribution," Quantitative Finance, Taylor & Francis Journals, vol. 21(7), pages 1207-1221, July.
    6. Traianos-Ioannis Theodorou & Alexandros Zamichos & Michalis Skoumperdis & Anna Kougioumtzidou & Kalliopi Tsolaki & Dimitris Papadopoulos & Thanasis Patsios & George Papanikolaou & Athanasios Konstanti, 2021. "An AI-Enabled Stock Prediction Platform Combining News and Social Sensing with Financial Statements," Future Internet, MDPI, vol. 13(6), pages 1-22, May.
    7. Richard Taffler, 2018. "Emotional finance: investment and the unconscious," The European Journal of Finance, Taylor & Francis Journals, vol. 24(7-8), pages 630-653, May.
    8. Yufeng Wang & Shuangrong Liu & Songqian Li & Jidong Duan & Zhihao Hou & Jia Yu & Kun Ma, 2019. "Stacking-Based Ensemble Learning of Self-Media Data for Marketing Intention Detection," Future Internet, MDPI, vol. 11(7), pages 1-12, July.
    9. Xiaojun Li & Pan Tang, 2020. "Stock index prediction based on wavelet transform and FCD‐MLGRU," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(8), pages 1229-1237, December.
    10. Darren Duxbury & Tommy Gärling & Amelie Gamble & Vian Klass, 2020. "How emotions influence behavior in financial markets: a conceptual analysis and emotion-based account of buy-sell preferences," The European Journal of Finance, Taylor & Francis Journals, vol. 26(14), pages 1417-1438, September.
    11. Hui Yuan & Wei Xu & Qian Li & Raymond Lau, 2018. "Topic sentiment mining for sales performance prediction in e-commerce," Annals of Operations Research, Springer, vol. 270(1), pages 553-576, November.
    12. Jaeheon Chun & Jaejoon Ahn & Youngmin Kim & Sukjun Lee, 2021. "Using Deep Learning to Develop a Stock Price Prediction Model Based on Individual Investor Emotions," Journal of Behavioral Finance, Taylor & Francis Journals, vol. 22(4), pages 480-489, October.
    Full references (including those not matched with items on IDEAS)

    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. Francisco de Arriba-P'erez & Silvia Garc'ia-M'endez & Jos'e A. Regueiro-Janeiro & Francisco J. Gonz'alez-Casta~no, 2024. "Detection of financial opportunities in micro-blogging data with a stacked classification system," Papers 2404.07224, arXiv.org.
    2. Goodell, John W. & Kumar, Satish & Lim, Weng Marc & Pattnaik, Debidutta, 2021. "Artificial intelligence and machine learning in finance: Identifying foundations, themes, and research clusters from bibliometric analysis," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    3. Ajitha Kumari Vijayappan Nair Biju & Ann Susan Thomas & J Thasneem, 2024. "Examining the research taxonomy of artificial intelligence, deep learning & machine learning in the financial sphere—a bibliometric analysis," Quality & Quantity: International Journal of Methodology, Springer, vol. 58(1), pages 849-878, February.
    4. Goodell, John W. & Kumar, Satish & Rao, Purnima & Verma, Shubhangi, 2023. "Emotions and stock market anomalies: A systematic review," Journal of Behavioral and Experimental Finance, Elsevier, vol. 37(C).
    5. Liu, Ya-Fei & Li, Hui & Liang, Sai, 2022. "Any reputation is a good reputation: influence of investor-perceived reputation in restructuring on hospitality firm performance," Annals of Tourism Research, Elsevier, vol. 92(C).
    6. Hamelin, Nicolas & Bonelli, Marco I., 2022. "Traders’ anticipatory feelings and traders’ profitability: An exploratory study," Journal of Behavioral and Experimental Finance, Elsevier, vol. 36(C).
    7. Ghaith Abdulsattar A.Jabbar Alkubaisi, 2020. "The Role of Ensemble Learning in Stock Market Classification Model Accuracy Enhancement Based on Naive Bayes Classifiers," International Journal of Statistics and Probability, Canadian Center of Science and Education, vol. 9(1), pages 1-36, January.
    8. Dedy Rahman Wijaya & Ni Luh Putu Satyaning Pradnya Paramita & Ana Uluwiyah & Muhammad Rheza & Annisa Zahara & Dwi Rani Puspita, 2022. "Estimating city-level poverty rate based on e-commerce data with machine learning," Electronic Commerce Research, Springer, vol. 22(1), pages 195-221, March.
    9. Alaa Omran Almagrabi & Yasser D. Al-Otaibi, 2020. "A Survey of Context-Aware Messaging-Addressing for Sustainable Internet of Things (IoT)," Sustainability, MDPI, vol. 12(10), pages 1-26, May.
    10. Domonkos F. Vamossy, 2020. "Investor Emotions and Earnings Announcements," Papers 2006.13934, arXiv.org, revised Jun 2020.
    11. Arpan Kumar Kar & P. S. Varsha & Shivakami Rajan, 2023. "Unravelling the Impact of Generative Artificial Intelligence (GAI) in Industrial Applications: A Review of Scientific and Grey Literature," Global Journal of Flexible Systems Management, Springer;Global Institute of Flexible Systems Management, vol. 24(4), pages 659-689, December.
    12. Shangkun Deng & Yingke Zhu & Xiaoru Huang & Shuangyang Duan & Zhe Fu, 2022. "High-Frequency Direction Forecasting of the Futures Market Using a Machine-Learning-Based Method," Future Internet, MDPI, vol. 14(6), pages 1-21, June.
    13. Wang, Wenzhao & Duxbury, Darren, 2021. "Institutional investor sentiment and the mean-variance relationship: Global evidence," Journal of Economic Behavior & Organization, Elsevier, vol. 191(C), pages 415-441.
    14. Amin Aminimehr & Ali Raoofi & Akbar Aminimehr & Amirhossein Aminimehr, 2022. "A Comprehensive Study of Market Prediction from Efficient Market Hypothesis up to Late Intelligent Market Prediction Approaches," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 781-815, August.
    15. Khatereh Ghasvarian Jahromi & Davood Gharavian & Hamid Reza Mahdiani, 2023. "Wind power prediction based on wind speed forecast using hidden Markov model," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(1), pages 101-123, January.
    16. Baranowski Paweł & Korczak Karol & Zając Jarosław, 2020. "Forecasting Cinema Attendance at the Movie Show Level: Evidence from Poland," Business Systems Research, Sciendo, vol. 11(1), pages 73-88, March.
    17. Andreas Oehler & Julian Schneider, 2023. "Social trading: do signal providers trigger gambling?," Review of Managerial Science, Springer, vol. 17(4), pages 1269-1331, May.
    18. Domonkos F. Vamossy, 2024. "Social Media Emotions and Market Behavior," Papers 2404.03792, arXiv.org.
    19. Aren Selim & Hamamci Hatice Nayman, 2023. "Mediating Effect of Pleasure-Seeking and Loss Aversion in the Relationship Between Phantasy and Financial Risk Tolerance and the Moderating Role of Confidence," Folia Oeconomica Stetinensia, Sciendo, vol. 23(2), pages 24-44, December.
    20. Schneider, Julian & Oehler, Andreas, 2021. "Competition for visibility: When do (FX) signal providers employ lotteries?," International Review of Financial Analysis, Elsevier, vol. 78(C).

    More about this item

    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:arx:papers:2404.08665. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.