Author
Abstract
The rapid development of social media has generated massive amounts of timely and sentiment-rich textual data, which provides a new perspective for studying investor psychology and market behaviors in the stock market. Existing studies mostly rely on lexicon-based methods or shallow machine learning models, which are insufficient to capture complex semantics in financial contexts. Meanwhile, static sentiment analysis dominates current research, while the dynamic evolution of investor sentiment over time is largely overlooked. To address these limitations, this study adopts large language models (LLMs) to conduct fine-grained sentiment representation modeling on Twitter financial corpus. Using the publicly available Twitter Financial News Sentiment Dataset containing 500,000 annotated tweets related to the stock market, we design dedicated prompt templates to extract discrete sentiment labels and continuous sentiment scores ranging from -1 to 1. We further construct a multi-dimensional sentiment indicator system including mean sentiment index, sentiment volatility, and sentiment distribution entropy. Time-series analysis methods such as sliding window analysis, trend detection, and anomaly detection are employed to explore the evolutionary patterns of investor sentiment. Empirical results show that social media sentiment exhibits significant periodic fluctuations, distinct sentiment peaks around major market events, and heterogeneous evolutionary characteristics across different stocks. Compared with traditional approaches, the LLM-based method demonstrates stronger contextual understanding and higher accuracy in financial domain adaptation. This study enriches the methodology of financial text sentiment analysis and provides empirical evidence for behavioral finance research on investor sentiment dynamics.
Suggested Citation
Download full text from publisher
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:axf:soapsa:v:5:y:2026:i::p:355-362. 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: Yuchi Liu (email available below). General contact details of provider: https://soapubs.com/index.php/SOAPS .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.