Skip to Content
  • Article
  • Open Access

20 August 2026

54 Pages

Can FinBERT2-Based Investor Sentiment Predict Gold Futures Volatility? A Fine-Grained Sentiment Category Analysis

and
School of Economics, Beijing Technology and Business University, Beijing 102488, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Research in Behavioral Finance

Abstract

This paper focuses on China’s gold futures market. Using East Money investor posts and the FinBERT2 model, we construct a multidimensional sentiment indicator comprising overall sentiment, positive/negative intensity, and six fine-grained sentiment categories (happiness, sadness, fear, anger, disgust, and neutral). With high-frequency 5 min data, we compute realized volatility and, within the HAR-RV framework, systematically examine the in-sample and out-of-sample predictive power, asymmetry, and inter-period heterogeneity of sentiment dimensions. The results show that investor sentiment significantly and robustly predicts volatility, with gains increasing over horizons, relying on multi-scale cumulative effects. Predictions are asymmetric: negative sentiment drives volatility while positive sentiment does not. Among fine-grained sentiments, happiness and anger are strongest; fear and sadness are ineffective; and disgust has an effect only in long-term routine forecasts but fails under extreme volatility. During the Russia–Ukraine conflict, sadness replaces happiness and anger as the dominant predictor (long-term MSE: 0.01579 vs. benchmark 0.04384). In trending bull markets, the predictive power of happiness and positive/negative intensity is amplified (full-sample R2 gains: 2.70% and 2.89%, vs. 17.08% and 9.69% in bull periods). This study reveals the multidimensional, asymmetric effects and intertemporal heterogeneity of sentiment on forecasts of gold futures volatility, providing a theoretical and empirical foundation for regime-adaptive early-warning systems and risk management.

1. Introduction

In recent years, as trade frictions and geopolitical conflicts have intensified and global economic growth has slowed, the gold market has exhibited marked volatility, with significantly broader fluctuations than in the past. Against this backdrop of uncertainty, investors have increased their gold holdings to hedge against risk, bringing the gold market back into the spotlight of financial trading. According to the World Gold Council, a new record gold price was set 53 times throughout 2025, with prices denominated in all major currencies reaching historic highs. Central banks worldwide have adopted gold as a core strategic asset to counter economic and geopolitical uncertainties. In tandem with the international gold market, China’s gold futures market has also undergone leapfrog development in recent years. In 2025, the cumulative one-way trading volume of gold futures and options on the Shanghai Futures Exchange reached 88.97 trillion yuan, a substantial year-on-year increase of 111.93%. The continued expansion of the market means that fluctuations in gold futures prices have a substantial impact on investors’ risk management and enterprise operations. Accurately predicting the volatility of gold futures has thus become a critical issue in mitigating financial risks (Baur & McDermott, 2010; Burdekin & Tao, 2021).
As a unique asset that combines the characteristics of a commodity, a currency, and a safe-haven asset, the price of gold is fundamentally driven by the market’s assessment of future risks. Behavioral finance research indicates that investor sentiment is a key driver of abnormal volatility and of asset price deviations from fundamentals (Baker & Wurgler, 2006; Brown & Cliff, 2005). Unlike traditional financial assets, the gold market is more heavily dependent on investor confidence and expectations. Optimism may reduce the demand for safe-haven assets, thereby suppressing increases in gold prices, while pessimism and panic often trigger a massive influx into safe-haven capital, driving up both prices and volatility (Cevik et al., 2022; Sobti, 2025). Therefore, if volatility forecasting models rely solely on historical price data while ignoring the psychological state of market participants, they may exhibit significant biases during periods of intense emotional volatility (R. D. Chen et al., 2021; Shapiro et al., 2022; Niu et al., 2024). Accurately and promptly measuring investor sentiment and effectively incorporating it into volatility forecasting models have become key challenges for improving the accuracy of forecasts of the gold futures market volatility.
In recent years, significant progress has been made in measuring investor sentiment through text sentiment analysis techniques based on pre-trained language models. From dictionary-based methods (Tetlock, 2007; Loughran & McDonald, 2011) to traditional machine learning methods (Cortes & Vapnik, 1995; Murphy, 2012) and on to BERT and its variants for the financial sector (Devlin et al., 2019; Huang et al., 2023), the accuracy of sentiment classification has continued to improve. Among these models, the FinBERT2 model (X. Xu et al., 2025), pre-trained on a Chinese financial corpus, has demonstrated excellent classification performance on multi-class financial text tasks. However, specialized sentiment indicators built from real investor discussion texts for the Chinese gold futures market remain limited, and research on applying FinBERT2 to gold futures volatility forecasting remains unexplored.
At the same time, the existing literature examining the asymmetric effects of sentiment on market volatility has often employed coarse-grained classifications, such as a binary positive/negative dichotomy or a three-category classification of bullish, bearish, and neutral (Cevik et al., 2022; Sobti, 2025; Fasanya et al., 2022). While this approach can capture the overall bullish or bearish sentiment of the market, it fails to distinguish the differences in predictive power among different emotions, such as anger, fear, and sadness. Research on behavioral finance and psychology indicates that different categories of emotions exhibit significant differences in arousal levels and behavioral drive (Ekman, 1992; Power & Dalgleish, 2016), and coarse-grained emotional classifications may obscure important differences in predictive power among these categories. A small number of studies have begun to explore the effects of fine-grained emotions on markets (Shen et al., 2023; Cao et al., 2023; Vamossy & Skog, 2025), but these have largely focused on stock markets, and there is insufficient systematic testing of their predictive power for gold futures volatility.
The predictive power of investor sentiment for volatility is not consistent; it may vary with market conditions. Existing research indicates that around structural inflection points—such as the oil price crash, the COVID-19 pandemic, and the Russia–Ukraine conflict—the effectiveness of predictions of sentiment on gold and crude oil volatility changes significantly (J. W. Luo et al., 2022; Köseoglu et al., 2024). However, existing research largely focuses on whether the predictive accuracy changes; there remains a lack of in-depth exploration of whether the dominant sentiment dimensions driving the prediction of gold futures volatility shift when market conditions change.
To address the aforementioned research gap, this paper focuses on China’s gold futures market, covering the period from 1 January 2021 to 16 March 2026. Drawing on real investor discussion threads from East Money and high-frequency 5 min trading data from the Wind database, a systematic investigation into multi-class measures of investor sentiment and their predictive capabilities is conducted. The paper’s secondary contributions are reflected in the following.
First, this paper marks the first application of the FinBERT-2 pre-trained language model to the Chinese gold futures market, in which sentiment indicators are constructed based on extracts from real investor discussions. Existing research on forecasting gold futures volatility has largely focused on macroeconomic variables and traditional market trading indicators (Niu et al., 2024; Zhu et al., 2022), with insufficient exploration of sentiment information derived from investor discussions. In the few studies that have incorporated sentiment into their forecasts, sentiment indicators were often constructed indirectly from market trading data or proxy variables for online attention, such as the Baidu Search Index, rather than directly extracted from actual investor discussions. There remains room for the development of specialized sentiment indicators, constructed using authentic investor discussions, for the Chinese gold futures market. This study employs the FinBERT2 model, pre-trained on a Chinese financial corpus, to construct a daily investor sentiment indicator based on investor discussion posts regarding the Chinese gold futures market on the East Money platform. Using in-sample and out-of-sample empirical results, we demonstrate the predictive capability of this sentiment indicator and its forecasting gains in the short, medium, and long term. These findings provide empirical support for the applicability of FinBERT2 in the Chinese gold futures market and offer a reference for model selection when constructing sentiment indicators based on real investor discussions.
Second, the classification of investor sentiment is expanded in this work from the traditional two- or three-category system to six fine-grained categories, revealing a more nuanced differentiation of emotional functions within the positive–negative dichotomy and advancing research on the multidimensional asymmetric effects of investor sentiment. Unlike the two- or three-category classifications commonly used in the existing literature (Cevik et al., 2022; Sobti, 2025; Fasanya et al., 2022), in this paper, not only are the asymmetric effects of positive and negative sentiment intensity distinguished, but also investor sentiment is subdivided into six categories (happiness, sadness, fear, anger, disgust, and neutral) based on Ekman’s (1992) theory of basic emotions and the classification method proposed by Vamossy and Skog (2025). The differences in predictive performance across these emotional dimensions are systematically tested within a gold futures volatility forecasting framework. This extends the research frontier on the multidimensional asymmetric effects of investor sentiment and lays the foundation for the subsequent development of multifactor forecasting models based on fine-grained emotions.
Third, in this paper, the cross-period heterogeneity of different investor sentiments in predicting gold futures volatility is revealed, showing that the dominant sentiment dimension driving predictions shifts depending on market conditions. While existing research has examined the impact of changing market conditions on the predictive effectiveness of sentiment—for example, through testing changes in overall predictive accuracy near structural breakpoints (J. W. Luo et al., 2022) or assessing the cross-period robustness of sentiment’s predictive ability by dividing periods into pre- and post-conflict sub-periods (Bouteska et al., 2022)—these analyses have largely focused on whether the prediction errors or accuracy change. There remains a lack of discussion regarding whether the dominant sentiment dimension drives predictions of shifts in gold futures volatility when market conditions change. Building upon an analysis of the full sample period, this paper further examines two sub-periods: the period of the Russia–Ukraine conflict and the gold trend-driven bull market. The findings reveal that during the Russia–Ukraine conflict—a prolonged and extreme geopolitical event—sadness replaced happiness and anger as the dominant predictor; conversely, during the gold trend-driven bull market, the predictive power of happiness and the intensity of positive and negative sentiment were significantly amplified. These findings suggest that predictive models must be adaptable to market state, providing a theoretical basis for the subsequent development of dynamic sentiment early-warning systems.
The remainder of this paper is organized as follows: Section 2 presents a literature review and theoretical assumptions; Section 3 describes the data sources and the construction of sentiment indicators; Section 4 outlines the predictive model and variable design; Section 5 reports the empirical results on the predictive power of the sentiment indicators, including overall predictive power, tests of asymmetry across sentiment dimensions, robustness tests, and an analysis of predictive power under different market conditions; and Section 6 summarizes the paper and discusses its implications and limitations.

2. Literature Review

2.1. Predicting Volatility in Gold Futures: From Theory to Modeling

The pricing mechanisms of international capital markets have shifted from being driven by economic fundamentals to being shaped by the combined influence of political events, strategic competition, and policy expectations (Caldara & Iacoviello, 2022). As a globally recognized safe-haven asset, the gold market often serves as a refuge for capital during periods of economic turmoil or political instability (Baur & McDermott, 2010; Baur, 2011), and its price fluctuations reflect the market’s dynamic expectations regarding future uncertainty (Burdekin & Tao, 2021). Therefore, effective modeling and accurate forecasting of the gold market are of significant practical importance for preventing and mitigating market price volatility, enhancing national financial security, and maintaining the healthy and stable development of the economy.
Research on volatility forecasting in the academic community originated with the autoregressive heteroscedasticity (ARCH) model proposed by Engle (1982), which addressed the issues arising from constant variance in traditional econometrics. Bollerslev (1986) generalized this to the GARCH model to overcome the drawback of higher-order ARCH models, which require the estimation of too many parameters. Consequently, scholars turned their attention to developing improvements to the GARCH model, for example, GARCH-M and EGARCH, thereby enriching the GARCH model family (Nelson, 1991; Glosten et al., 1993). Subsequently, an increasing number of scholars applied the GARCH model to study futures price volatility (Hou & Suardi, 2012; Chatziantoniou et al., 2019). However, these models are limited in that they fail to fully utilize the rich information contained in intraday high-frequency data.
With the advancement of information technology, many scholars have turned their attention to high-frequency data due to its increased availability. Andersen and Bollerslev (1998) were the first to develop an approach to use high-frequency data to estimate realized volatility (RV), the advantages of which include its computational simplicity and the absence of complex parameter estimation; compared to GARCH models, the predictive power of RV models is significantly enhanced. Building on this estimation method, researchers began developing new volatility forecasting models. Corsi (2009) proposed the HAR-RV model based on the heterogeneous market hypothesis, which successfully captured the long-memory characteristics of RV and demonstrated strong predictive performance. In recent years, an increasing number of studies have focused on RV forecasting (X. G. Luo et al., 2016), highlighting the value of information contained in high-frequency data for forecasting daily RV (J. W. Luo et al., 2022; Song et al., 2024). Extensive empirical research indicates that the HAR-RV model and its extensions demonstrate excellent performance in forecasting the volatility of commodity futures such as crude oil and gold (J. W. Luo et al., 2022; Jiang et al., 2025). Researchers have also begun to incorporate sentiment variables into the HAR-RV model framework (Niu et al., 2024; Z. W. Xu et al., 2024). However, the additional information included in current extended models is largely concentrated on macroeconomic variables and market trading indicators; the mining and utilization of sentiment information derived from investor discussions remain insufficient. This provides an opportunity for investor sentiment to be introduced from a behavioral finance perspective in this study.

2.2. Studies on Predicting Asset Price Volatility Using Investor Sentiment

Behavioral finance suggests that investor sentiment is a key factor causing asset prices to deviate from fundamentals, triggering abnormal volatility. At its core, this phenomenon stems from the irrational expectations and cognitive biases of investors (R. D. Chen et al., 2021; Shapiro et al., 2022). Sentiment directly leads to irrational trading behavior: optimism fuels investors to chase rising prices and excessive buying, while pessimism drives panic selling and fire sales. These homogeneous trading behaviors amplify price movements (Baker & Wurgler, 2006; Hillert et al., 2014). A large body of research has confirmed that sentiment has significant explanatory power regarding stock market volatility. This influence has gradually spread from the stock market to the futures market, affecting its returns and volatility (Sobti, 2025; R. D. Chen et al., 2021).
Empirical studies have shown that the accuracy of models incorporating investor sentiment indicators is significantly improved for forecasting financial market volatility. Incorporating an investor attention index, using Google search volume as a proxy, can enhance the accuracy of intraday return volatility forecasts for crude oil futures (Y. Y. Liu et al., 2022; Qu & Li, 2023). Jawadi et al. (2024) demonstrated that sentiment information, extracted from economic news articles from sixteen major U.S. newspapers, helps predict the intraday return volatility of WTI futures, while Gong et al. (2022) showed that combining realized volatility with investor sentiment leads to better predictions of market volatility. The above studies confirm the incremental informational value of sentiment variables, whether through proxy measures of investor sentiment, constructed sentiment indices, or the combination of sentiment indices with realized volatility (T. Fu et al., 2024; Jiang et al., 2025).
Considering the gold market, unlike risky assets such as stocks, gold possesses the triple attributes of a commodity, a currency, and a safe-haven asset; consequently, the mechanism by which its price volatility depends on investor sentiment may differ (Baur & McDermott, 2010). Bonato et al. (2021) found that realized volatility is negatively correlated with investor well-being, and J. W. Luo et al. (2022) found that, in the short and medium term, investor sentiment enhances the out-of-sample predictive power of gold volatility. Niu et al. (2024) incorporated speculative sentiment into their model and found that both in-sample and out-of-sample volatility prediction accuracy in the gold market improved. Nevertheless, research on the gold market remains relatively scarce.
Some researchers have begun to examine the asymmetric effects of sentiment across different dimensions. In terms of direction, studies that categorize investor sentiment as positive or negative have found a significant association between these sentiments and volatility (Chang et al., 2024; Sobti, 2025). Cevik et al. (2022) found that negative sentiment increases volatility, while positive sentiment reduces it. When classified by news and social media sources, negative news sentiment was found to predict negative price jumps, while positive social media sentiment predicted positive price jumps (Sobti, 2025). Fasanya et al. (2022) found significant differences in the predictive power of bullish, bearish, and neutral investor sentiment across different asset prices. However, this binary or ternary classification fails to distinguish the predictive differences among emotions of varying nature—such as anger, fear, and sadness—and may obscure the heterogeneous predictive capabilities of different emotional categories.
From a fine-grained perspective, it is first necessary to clarify the conceptual definitions. A review of the literature reveals that existing studies can be categorized into two conceptual frameworks that do not merely classify text into three coarse-grained categories (positive, neutral, and negative). The first interprets fine-grained sentiment analysis as the precise quantification of emotional intensity, aiming to predict more nuanced levels of emotional intensity or continuous polarity scores (Zhang et al., 2022; Z. X. Wang et al., 2023). The second approach defines fine-grained sentiment analysis as the precise classification of sentiment types. Such studies aim to identify more specific and diverse emotional categories, such as anger, happiness, sadness, fear, disgust, and surprise. These definitions collectively encompass the typological differences in emotional expression, emphasizing the distinction between subjective experiences of different natures—such as anger and disgust—rather than merely judging positive or negative sentiment or intensity levels (Lai et al., 2020; J. J. Chen et al., 2023; Y. Y. Ma et al., 2025). “Fine-grained sentiment” in this paper refers to the latter category. A small number of studies have begun to explore the impact of different emotional categories on financial markets. Shen et al. (2023) found that among the four market emotions—fear, sadness, happiness, and optimism—fear had a significant predictive effect on the returns of stock index futures, while the returns of government bond futures were influenced by happiness and optimism. Cao et al. (2023) utilized the TRMI to select lagged text indices for anger, happiness, fear, optimism, and depression to predict returns on S&P 500 index futures, finding that only the anger sentiment indicator demonstrated reliable predictive power within the sample. However, the emotional categories used in the above studies are mostly emotional indices derived from structured proxy variables, rather than from raw discussions posted by investors on social media. The latter can provide more direct and targeted emotional measurement indicators. To overcome this limitation, Vamossy and Skog (2025) developed the open-source tool EmTract, which extracts emotions such as happiness, sadness, and fear from raw discussion texts from the StockTwits platform. They validated the predictive power of these emotions for daily returns on U.S. stocks. However, they focused primarily on the development and validation of the emotion extraction tool, and the market analysis was limited to the U.S. stock market; they did not systematically examine the predictive role of different emotion categories on volatility. Therefore, research on the power of multidimensional sentiment derived from real investor discussions for predicting volatility remains insufficient and warrants further investigation.
The predictive power of investor sentiment regarding volatility is not constant but may undergo structural changes depending on market conditions (J. W. Luo et al., 2022; Ren et al., 2025). J. W. Luo et al. (2022) found that near structural breakpoints—such as the 2014 oil price crash—the predictive effectiveness of sentiment indicators for the volatility of crude oil and gold changes; if changes in market conditions are ignored, the predictive power of sentiment indicators is diminished. Shenjere et al. (2025) found that the impact of sentiment on volatility varies during periods of market transition: it is significantly negative during bull markets and significantly positive during bear markets (W. Z. Wang et al., 2022). In addition, Bouri et al. (2022) showed that the predictive effect of investor sentiment on volatility spillovers exhibits a significant asymmetric pattern across different market states. Research indicates that during major events such as the COVID-19 pandemic or the Russia–Ukraine conflict, market performance is significantly influenced by investor sentiment (Köseoglu et al., 2024). Kyriazis et al. (2023) found that the impact of social media sentiment on cryptocurrency volatility during the pandemic exhibited a significantly different pattern to that observed in non-pandemic periods, with the predictive power of investor sentiment for cryptocurrencies significantly increasing during the pandemic (Bouteska et al., 2022), further supporting the conclusion that different events reshape the predictive effectiveness of sentiment. The existing literature confirms that the relationship between investor sentiment and market volatility is state-dependent, meaning that the predictive effectiveness of sentiment varies across different market periods. However, most of the aforementioned studies employ composite sentiment indices or binary positive/negative sentiment metrics, and many focus solely on whether prediction errors or accuracy change.

2.3. Methods for Measuring Investor Sentiment in the Financial Literature

Investor sentiment is a core concept in behavioral finance, reflecting systematic biases in investors’ expectations of future asset prices that arise when investors are not acting perfectly rationally (Baker & Wurgler, 2006; Brown & Cliff, 2005). To incorporate sentiment into empirical models, accurately and promptly measuring it has become a key challenge.
Early studies primarily relied on market indicator methods (Baker & Wurgler, 2006; Brown & Cliff, 2005) and direct survey methods (Ho & Hung, 2009), but these methods suffer from shortcomings such as poor timeliness, low frequency, and susceptibility to noise interference (J. H. Fu et al., 2021; Q. Liu & Son, 2025).
With the advancement of natural language processing technology, text analysis methods have emerged, and sentiment analysis based on financial texts has gradually become mainstream. Early dictionary-based methods classified text information and statistically extracted it based on predefined dictionaries, but were unable to understand contextual semantics (Tetlock, 2007; Loughran & McDonald, 2011; García et al., 2023; Pinto & Siano, 2025). Subsequently, traditional machine learning methods such as Naive Bayes (Murphy, 2012) and support vector machines (Cortes & Vapnik, 1995) were employed; however, while these could partially capture text sentiment, they struggled to comprehend complex semantics. It was not until Devlin et al. (2019) proposed the BERT model that a breakthrough was achieved. BERT demonstrates significantly higher accuracy in text classification tasks than other models, with its core advantages lying in its precise grasp of complex semantics and reduced reliance on labeled data (Z. W. Xu et al., 2024; Alaparthi & Mishra, 2021). Subsequently, Huang et al. (2023) used financial texts as a corpus to pre-train the FinBERT model—a BERT-based model—and demonstrated that it can capture linguistic knowledge and semantic information more accurately. Subsequently, an increasing number of researchers have incorporated the FinBERT model and its variants into financial sentiment analysis, asset pricing, and return-risk prediction (J. Kim et al., 2023; D. J. Kim et al., 2026). X. Xu et al. (2025) proposed FinBERT2, which is based on a high-quality, finance-specific bidirectional encoder. This model incorporates China’s largest financial pre-training corpus and has demonstrated superior performance to other BERT or FinBERT variants in multi-classification tasks. Nevertheless, the application of FinBERT2 in domestic economic and financial research remains limited, and there is still room for expansion regarding specialized sentiment indicators tailored to China’s gold futures market that are constructed from real investor discussions.

2.4. Theoretical Assumptions

In summary, there are still four areas that warrant further exploration regarding the central issue of using investor sentiment to forecast volatility in gold futures:
First, regarding volatility forecasting models, while the HAR-RV model has become the mainstream benchmark for high-frequency volatility forecasting, the additional information incorporated into existing extended models is largely focused on macroeconomic variables and market trading indicators; sentiment information derived from investor discussion texts is not sufficiently mined or utilized.
Second, regarding measurements of investor sentiment, advanced deep language models such as FinBERT2 have not yet been applied to text sentiment classification in China’s gold futures market. At the same time, existing sentiment classification methods are largely limited to coarse-grained binary or ternary classifications, making it impossible to distinguish the differences in predictive capabilities among finer-grained emotion categories such as anger, fear, and sadness.
Based on the above two gaps, the following hypotheses are proposed:
H1a. 
The investor sentiment indicator constructed using FinBERT2 has significant in-sample predictive power for gold futures volatility.
H1b. 
The extended HAR-RV model incorporating sentiment information significantly outperforms the baseline HAR-RV model in terms of out-of-sample predictive accuracy.
Third, regarding the sentiment asymmetry effect, analyses of asymmetry have primarily focused on positive and negative directions; few studies have extended this asymmetry to fine-grained emotional categories in multi-class classification to systematically examine the differential power of fine-grained emotions for predicting market volatility across different dimensions, such as happiness, fear, sadness, anger, and disgust. Based on this, we propose the following hypotheses:
H2a. 
There is directional asymmetry in the predictive power of positive and negative sentiment for volatility.
H2b. 
There is category heterogeneity in the power of six fine-grained emotion categories (happiness, anger, fear, sadness, disgust, neutral) for predicting volatility.
Fourth, regarding cross-period heterogeneity, existing research has confirmed that the predictive power of sentiment is state-dependent; however, analyses have largely focused on the extent to which predictive accuracy changes, and there remains a lack of focus on whether the dominant sentiment dimension driving predictions shifts when market conditions change. Specifically, we propose the following hypothesis:
H3a. 
Under different market conditions, the investor sentiment indicator based on FinBERT2 still holds predictive value for gold futures volatility; that is, the predictive value of sentiment information is robust across market periods.
H3b. 
Under different market conditions, the heterogeneous structure of how sentiments across various dimensions influence volatility predictions changes; that is, the role of dominant emotional dimensions that drive predictions (happiness, anger, sadness, etc.) shifts as market conditions change.

3. Data and Sentiment Metrics

3.1. Data Sources and Preprocessing

The gold futures price data used in this study were sourced from the Wind database. We selected high-frequency 5 min trading data for the front-month contract of China’s gold futures. The sample period spans from 1 January 2021 to 16 March 2026, comprising a total of 137,543 high-frequency data points covering 1257 trading days. The investor sentiment indicator data were sourced from the “Shanghai Gold Forum” on East Money. This platform was selected based on Baidu Search Index data; within the sample period, the combined search popularity of “East Money” on both desktop and mobile devices was significantly higher than that of similar platforms such as “Xueqiu” and “Tonghuashun.” This high level of activity ensures that extreme shifts in market sentiment can be captured in a timely manner during periods of sharp price volatility. To ensure data quality and reproducibility, we performed a systematic preprocessing procedure comprising four stages: deduplication, invalid entry filtering, text noise cleaning, and date standardization with missing value imputation.
Deduplication. The raw data were stored in a MongoDB database with a unique index established on the post URL. Concurrently, we tracked already-collected URLs during the crawling process and periodically saved checkpoint files to local JSON storage. On each write operation, the system verified whether a URL already existed in the collected set and skipped all duplicate entries accordingly.
Invalid Entry Filtering. Records with missing or malformed posting dates were removed. We also excluded posts containing promotional keywords, such as account opening, QQ group recruitment, and signal following.
Text Noise Filtering. Based on a systematic inspection of the corpus of posts collected from East Money, we identified several common types of textual noise and compiled corresponding regular expression cleaning rules. A complete summary of the cleaning rules, along with representative examples of the cleaning process, is provided in Appendix A.1 (Table A1 and Table A2).
Date Standardization and Missing Value Imputation. Multiple formats were present in the raw post_date field, such as “2021/01/15” and “15 January 2021”. We extracted the year, month, and day information using regular expressions and uniformly formatted all records as YYYY-MM-DD. For records with missing year information, we invoked a custom parser to retrieve the actual year from the post’s detail page. Missing author names were imputed as “Anonymous User”. For missing or invalid comment counts, we re-extracted the value from the source page or set it to zero. Posts with empty body text were retained, with the title used as a substitute.
After applying all preprocessing steps, the market data consisted of 125,885 valid posts spanning 1257 trading days.

3.2. Sentiment Classification and Metric Construction Based on FinBERT2

To ensure the quality of sentiment classification, 8000 posts were randomly selected from the 2021 to early 2024 period as fine-tuning samples and manually annotated by two finance professionals (see Appendix A.2 (Table A3) for details). The annotation framework is based on the basic emotion model proposed by Ekman (1992), combined with the methods of Power and Dalgleish (2016) and Vamossy and Skog (2025), and classifies text sentiment into six categories: happiness, sadness, fear, anger, disgust, and neutral. When selecting training samples, we sought to achieve as balanced a coverage of different emotional tendencies as possible. The 8000 annotated posts were split into a training set (6400 posts, 80%) and a validation set (1600 posts, 20%) using stratified sampling to preserve class proportions across subsets. The random seed was fixed at 42 to ensure reproducibility. The training set was used for parameter learning; the validation set was used for early stopping and reporting classification performance. The class distribution across both subsets is reported in Appendix A.4 (Table A4). Before formal annotation, both annotators independently labeled a stratified random sample of 500 posts covering all six emotion categories. The inter-annotator agreement, measured by Cohen’s Kappa, was 0.7708 on this pilot sample, indicating substantial agreement. Disagreements were resolved through discussion. The remaining posts were then annotated following the same guidelines.
FinBERT2 is a domain-specific bidirectional encoding model for the financial sector (X. Xu et al., 2025), derived from the Chinese RoBERTa-wwm-ext model through domain-adaptive pre-training using a finance-specific corpus containing 32B tokens, covering analyst reports, company announcements, and financial news. Compared to the general-purpose BERT-base-Chinese (Devlin et al., 2019) and the earlier FinBERT (Huang et al., 2023), FinBERT2 features an expanded financial vocabulary and deeper prior knowledge of financial semantics.
The Hugging Face Transformer framework was used during the fine-tuning process, with the key hyperparameter settings as follows: (1) To balance GPU memory constraints and training stability, the ‘BatchSize’ was set to 16. (2) The ‘LearningRate’ was set to 2 × 10−5 (Vamossy & Skog, 2025); this relatively small value helps the model converge smoothly to the optimal solution during fine-tuning, avoiding training oscillations or divergence caused by an excessively high learning rate. (3) Cross-entropy loss was chosen as the loss function, which is suitable for multi-class classification problems. (4) To shorten the training time, the number of training epochs in this study was set to 5, as existing studies on fine-tuning BERT, FinBERT, and related extended models all reached the optimal solution and stopped training within 1–3 epochs (Voigt et al., 2024). Additionally, to prevent model overfitting, early stopping was employed by monitoring the validation set’s F1 score using the Hugging Face Trainer’s load_best_model_at_end = True flag (Nasiopoulos et al., 2025). The model ultimately reached its optimal performance at epoch 2.5. (5) The AdamW optimizer was used (with a weight decay coefficient of 0.01). The computational environment, including software versions and key library dependencies, is detailed in Appendix A.3.
The evaluation metrics include accuracy, precision, recall, and F1 score. TP refers to the number of samples correctly classified by the model as belonging to that class; FP refers to the number of samples from other classes that were incorrectly classified as belonging to that class; and FN refers to the number of samples from that class that were incorrectly classified as belonging to other classes. N is the total number of samples. The evaluation metrics were calculated as follows:
A c c u r a c y = ∑ i = 1 6 T P i N
P r e c i s i o n = ∑ i = 1 6 T P i T P i + F P i W i
R e c a l l = ∑ i = 1 6 T P i T P i + F N i W i
F 1 = ∑ i = 1 6 2 P r e c i s i o n i × R e c a l l i P r e c i s i o n i + R e c a l l i W i
The aforementioned 8000 text samples labeled with sentiment categories were used to compare the classification performance of the following eight models based on the above metrics: Naive Bayes, KNN, decision trees, support vector machines (SVM), LSTM, Bi-LSTM, Text-CNN, and FinBERT2. The comparison results are shown in Table 1. Evaluated on the held-out validation set, the fine-tuned six-class FinBERT2 model achieves 72.0% accuracy and a weighted average F1 score of 71.9%, substantially outperforming all benchmark models. This accuracy exceeds the 64.53% reported by Vamossy and Skog (2025) using five-fold cross-validation on 10,000 StockTwits messages, highlighting the utility of FinBERT2 for financial text sentiment classification. Given the subtlety of emotional expression in financial texts and the inherent complexity of the six-class classification task, this level of performance demonstrates that FinBERT2 effectively captures nuanced semantic features in investor-generated content and is well suited for sentiment classification in the Chinese gold futures market. The complete confusion matrix and class-wise precision, recall, F1, and support (total n = 1600) are reported in Appendix A.4 (Table A5 and Table A6).
Table 1. Text sentiment classification results.
FinBERT2 substantially outperformed all benchmark models in six-class emotion classification (Naïve Bayes, SVM, LSTM, and Text-CNN). This validates its suitability for investor sentiment extraction in the Chinese gold futures market, providing a reliable foundation for constructing subsequent sentiment indicators.
Using the fine-tuned FinBERT2 model, we performed batch inference on the entire dataset of 125,885 text posts. For the i-th post, the model’s output layer was normalized using Softmax to generate a six-dimensional probability vector:
P i = p { i , h a p p i n e s s } , p { i , n e u t r a l } , p { i , a n g e r } , p { i , f e a r } , p { i , s a d n e s s } , p { i , d i s g u s t }
where p { i , k } represents the probability that the text belongs to the k-th emotion category, where ∑ p i , k equals 1. This probability output method is consistent with EmTract’s framework (Vamossy & Skog, 2025). EmTract is an open-source tool designed to extract investor sentiment from financial social media data. It fine-tunes a DistilBERT model on a dataset of 10,000 hand-annotated StockTwits messages and incorporates 4861 additional tokens—including emojis and emoticons—achieving a 64.53% accuracy in six-class basic classification. We adopt a similar probabilistic output framework but employ FinBERT2 (X. Xu et al., 2025), which is specifically pre-trained on a large-scale Chinese financial corpus (32B tokens). Unlike EmTract, which focuses on the U.S. stock market and daily return predictions, in our study, this methodological approach is applied to the Chinese gold futures market for volatility forecasting within the HAR-RV model.
To aggregate the sentiment probabilities of individual posts into daily metrics suitable for time-series analysis, the following two types of sentiment variables were constructed.
Overall Investor Sentiment Index. Based on the definition of “valence”—that is, the probability of positive sentiment minus the sum of the probabilities of all negative sentiments (Vamossy & Skog, 2025)—the overall investor sentiment index for trading day t is defined in this study as
S e n t i m e n t t = 1 N t ∑ i = 1 N t [ p { i , h a p p i n e s s } − ( p { i , a n g e r } + p { i , f e a r } + p { i , s a d n e s s } + p { i , d i s g u s t } ) ]
where Nt represents the total number of posts on day t, and Sentimentt is the overall investor sentiment index for trading day t. By definition, Sentimentt lies between −1 and 1; a higher value indicates more optimistic investor sentiment on that day. Neutral sentiment is excluded from the above calculation because it does not contain explicit directional information. This construction method directly reflects the market’s overall bullish or bearish bias through a linear combination of the probabilities of various sentiment categories, thereby avoiding biases that might arise from subjective weighting. A related implication of this construction is that the denominator Nt includes neutral posts, so the net sentiment is naturally diluted when neutral discourse dominates. Following the standard valence metric in the literature (Vamossy & Skog, 2025), this is an intentional design feature: a higher proportion of neutral content reflects weaker overall emotional conviction, which should attenuate the aggregate sentiment signal. Empirically, despite the high proportion of neutral posts (Vamossy & Skog, 2025), the resulting sentiment index retains significant predictive power for asset price movements, confirming that this dilution effect does not undermine the informational content of the sentiment measure. Furthermore, following the approach in the existing literature (Z. W. Xu et al., 2024), we further decompose the daily net valence Sentimentt into positive and negative components. Specifically, for each trading day t, we define
S e n t i m e n t p o s t = m a x ( S e n t i m e n t t , 0 )
S e n t i m e n t n e g t = m i n ( S e n t i m e n t t , 0 )
where Sentimentpos is a non-negative value representing the intensity of positive sentiment on day t, and Sentimentneg is a non-positive value representing the intensity of negative sentiment on day t. This decomposition preserves the original sign and magnitude of the net valence, allowing us to separately estimate the asymmetric effects of positive versus negative sentiment on volatility. Note that Sentimentneg is algebraically non-positive; in the regression analysis, we interpret its sign directly (a negative coefficient implies that stronger negative sentiment reduces volatility, while a positive coefficient would imply the opposite).
Metrics for each fine-grained emotion category. To capture the differentiated impact of different emotion categories on market volatility, the daily average probability of emotion category k on day t is defined as
P { t , k } = 1 N t ∑ i = 1 N t p { i , k } , k ∈ { h a p p i n e s s , n e u t r a l , a n g e r , f e a r , s a d n e s s , d i s g u s t }
This yields six sub-dimensional time series of emotion intensity. This approach directly uses the average probability of each emotion category as an independent variable, similar to the method used by Jiang et al. (2025) for incorporating emotion variability into the HAR-RV model. It should be noted that when these emotion probabilities are introduced separately into the single-emotion extended models, since the six probabilities are generated by the Softmax output of FinBERT2 and satisfy the sum-to-one constraint within each trading day, the sign and magnitude of each coefficient should be interpreted as the effect of the relative intensity of that emotion compared to other categories on volatility, rather than an independent marginal effect in absolute terms. For trading days with no posts, following the approach of Z. W. Xu et al. (2024), the overall sentiment indicator is imputed as 0 (representing neutral), while each probability indicator is imputed as the mean of non-zero values for that day or left blank. Ultimately, a total of one overall sentiment time series, two positive and negative intensity time series, and six emotional dimension time series were generated, serving as the core input features for subsequent volatility forecasting models. Figure 1 summarizes the overall methodological framework used in this study.
Figure 1. Methodological framework used in this study.

4. Methods

4.1. Variable Definitions

In this paper, realized volatility is used as a proxy for volatility in the gold futures market. Based on extensive literature reviews (Qu & Li, 2023; T. Fu et al., 2024), we selected high-frequency 5 min price data for the front-month gold futures contract to calculate volatility. Previous studies (Andersen & Bollerslev, 1998; L. Y. Liu et al., 2015) have shown that this frequency strikes a good balance between measurement accuracy and suppressing microstructural market noise and can therefore be considered the optimal sampling frequency. Each trading day consists of consecutive trading sessions (night session: 21:00–02:30 the following day; day session: 09:00–10:15, 10:30–11:30, and 13:30–15:00). After removing overnight gaps, we calculate the logarithmic returns for each segment. The realized volatility on day t is defined as the sum of the squares of all 5 min logarithmic returns for that day:
R V t = ∑ i = 1 M t r t , i 2
where rt,i represents the i-th 5 min logarithmic return on day t and Mt represents the number of valid returns on that day. To mitigate the highly right-skewed and heavy-tailed distributional characteristics of the volatility sequence, in subsequent modeling, the natural logarithm of the RV, denoted as lnRVt, is taken. The data covers the period from 4 January 2021 to 16 March 2026, comprising a total of 1257 trading days, and is sourced from the Wind database. Figure 2 presents an overview of the realized volatility of gold futures.
Figure 2. Time series of realized volatility for gold futures.
The core explanatory variables in this paper are multidimensional investor sentiment indicators constructed using the FinBERT2 model. These variables are all daily in frequency, consistent with the time resolution of the volatility data. Specifically, they include the following three categories: (1) Overall investor sentiment valence. Sentiment valence (Sentimentt) reflects the overall emotional bias of all posts within a single day. (2) The intensity of positive and negative sentiment. To further distinguish the asymmetric effects of positive and negative sentiment, overall sentiment is decomposed into intensity indicators for both positive and negative dimensions. (3) The probabilities of each fine-grained emotion category. To examine the differentiated predictive capabilities of sentiments with different characteristics, the average daily probability of six emotion categories is also retained as independent explanatory variables.
The control variable strategy used in this study focuses on historical information about volatility itself. Specifically, the benchmark forecasting model uses daily, weekly, and monthly lagged volatility terms as core control variables; these lagged terms already incorporate external factors—such as macroeconomic conditions, market liquidity, and global risk appetite—reflected in historical trading data through the price channel. The three core feature variables are defined as follows:
Daily lag lnRVt−1: The logarithm of the realized volatility from the previous trading day.
Weekly lag l n R V t − 1 w : The arithmetic mean of the logarithms of the realized volatility over the previous 5 trading days:
l n R V t − 1 w = 1 5 ∑ i = 1 5 l n R V t − i
Monthly lag l n R V t − 1 m : The arithmetic mean of the logarithms of the realized volatility over the previous 22 trading days:
l n R V t − 1 m = 1 22 ∑ i = 1 22 l n R V t − i
Since the baseline model already accounts for the persistence of volatility itself, the subsequent sentiment diffusion model introduces sentiment variables on top of these core lag terms.

4.2. HAR-RV Family Models

The heterogeneous autoregressive (HAR) model was proposed by Corsi (2009) based on the heterogeneous market hypothesis. This hypothesis posits that different types of market participants have varying trading frequencies, risk preferences, and information processing speeds, and that their trading behavior gives rise to volatility components across different time scales—such as daily, weekly, and monthly—within the market. Therefore, incorporating volatility lags from these three time scales into the model simultaneously can effectively capture the characteristics of volatility of long memory and persistence. The benchmark HAR-RV model adopted in this paper is formulated as follows:
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + ε t
where lnRVt represents the logarithm of the realized volatility on day t; β d , β w , and β m measure the effects of the daily, weekly, and monthly volatility components, respectively; ε t and is the random error term.
Building on the benchmark HAR-RV model, we incorporated investor sentiment variables across various dimensions to construct a series of extended models aimed at testing the incremental predictive power of the sentiment indicators. All extended models retain the same volatility lag structure as the benchmark model and additionally include daily, weekly, and monthly lag terms for the sentiment variables to capture the cumulative effects of sentiment across different time scales. Specifically, these extended models include the following:
The valence of overall investor sentiment and its weekly and monthly moving averages, with a lag, in the baseline model:
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + α d S e n t i m e n t t − 1 + α w S e n t i m e n t t − 1 w + α m S e n t i m e n t t − 1 m + ε t
where S e n t i m e n t t − 1 , S e n t i m e n t t − 1 w , and S e n t i m e n t t − 1 m represent the daily, weekly, and monthly lags of overall sentiment, respectively, while α d , α w , α m measure the predictive effects of sentiment across each scale.
To further distinguish the asymmetric effects of positive and negative sentiment intensity, variables S e n t i m e n t p o s t and S e n t i m e n t n e g t were simultaneously incorporated into the HAR-RV model with daily, weekly, and monthly lags, respectively:
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + α d p o s S e n t i m e n t p o s t − 1 + α w p o s S e n t i m e n t p o s t − 1 w + α m p o s S e n t i m e n t p o s t − 1 m + α d n e g S e n t i m e n t n e g t − 1 + α w n e g S e n t i m e n t n e g t − 1 w + α m n e g S e n t i m e n t n e g t − 1 m + ε t
where α p o s and α n e g measure the predictive effects of positive and negative sentiment, respectively, for each sentiment scale.
For each fine-grained emotion category (happiness, fear, sadness, anger, disgust), a separate single-emotion extension model is constructed. Taking happiness as an example,
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + γ d P r o b h a p p i n e s s t − 1 + γ w P r o b h a p p i n e s s t − 1 w + γ m P r o b h a p p i n e s s t − 1 m + ε t
where P r o b h a p p i n e s s t − 1 , P r o b h a p p i n e s s t − 1 w and P r o b h a p p i n e s s t − 1 m represent the daily, weekly, and monthly lags of the happiness emotion, respectively, while γ d , γ w , γ m measure the predictive effects of each dimension of fine-grained emotion, respectively. Similarly, extended models for fear, sadness, anger, and disgust can be derived. These models are used to examine the differential predictive power of emotions with different characteristics.
To examine whether the lagged values of weekly and monthly average sentiment provide additional predictive information beyond that of single-day lagged sentiment, a simplified model was also constructed that includes only the one-period lagged daily sentiment variable. Taking overall sentiment as an example,
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + α d S e n t i m e n t t − 1 + ε t
Simplified models for other sentiment categories follow the same pattern.

4.3. Forecasting Methods and Evaluation System

In this study, the expanded window method is employed for out-of-sample forecasting. Compared to fixed-window or rolling-window methods, the expanded window method has a key advantage: as the forecast horizon progresses, the training sample size continues to accumulate, allowing the model to continuously incorporate the latest information to optimize parameter estimates and thereby improving forecast stability and accuracy (F. Ma et al., 2018; J. Q. Wang et al., 2021). The procedure is implemented as follows. The forecast origin is defined as trading day t, and the information set consists of all historical information up to day t−1, specifically including daily, weekly, and monthly lags of lnRV, as well as daily, weekly, and monthly lags of the corresponding sentiment indicators. The forecast target is the average volatility over the next h days, constructed as the h-day rolling mean of lnRV shifted forward by h periods (h = 1, 5, 22), which is equivalent to predicting the lnRV value at day t + h − 1. This specification is consistent with Corsi’s (2009) HAR-RV framework. In terms of forecasting methodology, in this study, direct forecasting is adopted—separate regression models are estimated for each forecast horizon h rather than generating multi-step forecasts iteratively from a one-step-ahead model, to avoid the accumulation of iterated forecast errors that can degrade long-term predictive accuracy. The initial window is set to 800 trading days. For each forecast origin t, OLS regression is performed using all historical data from period 1 to period t. After obtaining the parameter estimates, the prediction for day t + h − 1 is computed. For sentiment-extended models, the current value of the corresponding sentiment variable must be included in the forecast. The training window is then extended forward by one trading day, and the above steps are repeated until all out-of-sample forecasts are completed. For long-term forecasts (h = 22), adjacent forecast windows overlap by 21 days, which may induce autocorrelation in the forecast error series. To address this, we employ Newey–West heteroskedasticity and autocorrelation-consistent standard errors in both the CW and MCS tests to ensure that the conclusions are not affected by error autocorrelation. In the bootstrap inference for the MCS test, the stationary bootstrap method was employed, with a block length of 2 trading days, to preserve the local dependence structure of the forecast error series. This, together with the Newey–West HAC standard errors described above, provides dual control for serial dependence.
To comprehensively evaluate the out-of-sample forecasting performance of each model from multiple perspectives, four loss functions that are widely used in the volatility forecasting literature were employed (Jiang et al., 2025; F. Ma et al., 2018; J. Q. Wang et al., 2021; Z. W. Xu et al., 2024). Let P denote the length of the out-of-sample forecasting period, RVt denote the true realized volatility level on day t, and RVt denote the volatility level predicted by the model. Since HMSE and HMAE are based on volatility levels, but the forecast target in this study is log realized volatility, we transform the log-scale predictions back to the original scale via exponential retransformation (i.e., the inverse of the natural logarithm) before computing HMSE and HMAE.
Mean Squared Error (MSE): Assigns a higher weight to large errors.
M S E = 1 P ∑ t = 1 P R V t − R V ^ t 2
Mean Absolute Error (MAE): Less sensitive to outliers.
M A E = 1 P ∑ t = 1 P R V t − R V ^ t
Heteroscedasticity-corrected Mean Square Error (HMSE): By using a ratio form, this metric naturally eliminates scale effects and assigns more balanced weights to trading days with different volatility levels; therefore, it is widely recommended for comparing volatility forecasting models.
H M S E = 1 P ∑ t = 1 p 1 − R V t ^ R V t 2
Heteroscedasticity-adjusted Mean Absolute Error (HMAE): Combines heteroscedasticity adjustment and absolute-value robustness.
H M A E = 1 P ∑ t = 1 P 1 − R V t ^ R V t
where RVt represents the realized true value of volatility and R V t ^ represents the corresponding forecast value.
The test method proposed by Clark and West (2007) is specifically designed to compare the out-of-sample predictive capabilities of two nested models. In this study, the benchmark HAR-RV model is nested within the sentiment extension model. The CW test corrects the bias in traditional tests under nested models by introducing an adjustment term into the difference in prediction errors. The null hypothesis is that the predictive capabilities of the two models are equal, and the alternative hypothesis is that the sentiment extension model is significantly superior to the baseline model. A significantly positive CW statistic would reject the null hypothesis.
The Model Confidence Set Test (MCS test), proposed by Hansen et al. (2011), can identify the set of models with the best predictive performance from among multiple competing models. This method does not assume any specific model as a baseline; instead, it eliminates models with poor predictive performance to ultimately obtain a set containing the optimal models. In this study, the range statistic was employed, and p-values were calculated using the bootstrap method. If a model’s p-value exceeds a predetermined threshold, the model is considered to have passed the test, indicating that it possesses strong out-of-sample predictive performance. The magnitude of the p-value is typically positively correlated with a model’s predictive ability; that is, the larger the p-value, the higher the likelihood that the model possesses strong predictive ability. When the p-value reaches 1, it means the model is optimal in all comparisons and is therefore considered the best model.

5. Results and Discussion

5.1. Descriptive Statistics and Basic Tests

Before proceeding with model estimation, descriptive statistics and basic tests for the main variables are first presented. Table 2 shows the mean, standard deviation, skewness, kurtosis, and other statistical measures for the realized volatility of gold futures and various sentiment variables. The results show that the realized volatility series exhibits extreme right-skewness (skewness of 25.14) and kurtosis, with a heavy-tailed distribution. After a logarithmic transformation, the skewness decreased to 0.09 and the kurtosis to 0.62, significantly improving the distribution shape. The mean of the overall sentiment index is negative, and the mean intensity of negative sentiment is higher than that of positive sentiment, indicating that market sentiment during the sample period was generally pessimistic, consistent with gold’s characteristics as a safe-haven asset. Among the six fine-grained emotion categories, neutral accounted for the highest proportion, followed by happiness, while extreme emotions such as anger and disgust accounted for a relatively low proportion. The skewness and kurtosis indicate that most sentiment variables are close to a symmetric distribution, while the variables Sentimentpos and Sentimentneg are right-skewed and exhibit high kurtosis, suggesting that the intensities of positive and negative sentiments occasionally reach significant extremes.
Table 2. Descriptive statistics for key variables.
To test for stationarity, we conducted an ADF unit root test. The results (Table 3) show that, at the 5% significance level, the null hypothesis of a unit root was rejected for the log of realized volatility and all sentiment variables except “neutral.” The series are therefore stationary, and their level values can be used directly in time-series regression. Since the “neutral” sentiment variable does not provide specific dimensional information, it will not be considered in subsequent analyses.
Table 3. ADF stationarity tests for variables.
Autocorrelation tests (Ljung–Box; Table 4) show that all variables exhibit strong autocorrelation at all lags (p < 0.01), confirming the long-memory characteristics of volatility and sentiment and providing statistical support for incorporating daily, weekly, and monthly lag structures into the HAR-RV framework.
Table 4. Ljung–Box autocorrelation test for variables.
The normality test (Table 5) shows that the JB statistics for all variables are significant at p < 0.01, strongly rejecting the assumption of normality. This is consistent with the characteristics of most financial time series; therefore, in subsequent modeling, we will use Newey–West HAC robust standard errors for statistical inference.
Table 5. Jarque–Bera normality test for emotional variables.
The Granger causality test (Table 6) indicates that overall sentiment, the intensity of positive and negative sentiment, and the five fine-grained emotion categories (excluding disgust) all reject the null hypothesis that “sentiment cannot predict volatility” at the 1% or 5% significance levels, while disgust is marginally significant at a one-lag. These preliminary findings suggest that not all dimensions of sentiment have equal predictive power for volatility; there may be significant heterogeneity in predictive performance across sentiment categories. They also provide preliminary predictive evidence supporting the inclusion of sentiment variables into volatility prediction models.
Table 6. Granger causality test.

5.2. Ability to Forecast Overall Investor Sentiment

5.2.1. In-Sample Estimation Results

Table 7 shows the in-sample regression results for the baseline HAR-RV model and the HAR-RV + Sent model, which incorporates overall mood, across three prediction horizons: short term (1 day), medium term (5 days), and long term (22 days). After incorporating overall mood, the adjusted R2 increased from 0.5153 to 0.5196, from 0.6146 to 0.6220, and from 0.4735 to 0.4902 across the three prediction horizons, respectively, with the magnitude of improvement increasing as the prediction horizon lengthened. The AIC decreased across all three horizons, indicating that the inclusion of overall sentiment significantly reduced information loss. The joint significance test for the sentiment variable rejected the null hypothesis of no incremental explanatory power across all three horizons, confirming that overall sentiment provides explanatory power within the sample beyond historical volatility information.
Table 7. In-sample regression results for the overall sentiment model.
The HAR-RV+Sent model consistently outperforms the HAR-RV baseline in-sample, with R2 improvements increasing from 0.42% (1-day) to 1.67% (22-day). This confirms that overall sentiment provides incremental information beyond historical volatility, supporting H1a. The declining AIC values further indicate a superior trade-off between fit and complexity.

5.2.2. Out-of-Sample Prediction Results

The results for the four loss functions, using the extended window method for out-of-sample prediction, are shown in Table 8. HAR-RV+Sent achieved lower MSE values than the baseline for all prediction horizons: a 1.39% reduction for the 1-day horizon, a 2.91% reduction for the 5-day horizon, and a 5.90% reduction for the 22-day horizon. MAE was consistently lower than the baseline for all three time steps; under heteroscedasticity-adjusted metrics, HMSE and HMAE also outperformed the baseline for the 1-day and 5-day time steps.
Table 8. Out-of-sample prediction errors for the overall sentiment model.
Incorporating overall sentiment reduced the out-of-sample MSE by 1.39% (1-day), 2.91% (5-day), and 5.90% (22-day), with gains increasing monotonically with the horizon. The nearly 6% reduction in long-term forecast errors implies economically meaningful improvements in risk assessment and derivative pricing, supporting H1b.
The CW test (Table 9) rejected the null hypothesis that the two models have equal predictive power across the step sizes 1 day, 5 days, and 22 days. The MCS test (Table 10) showed that, for step sizes of 1 day and 5 days, HAR-RV + Sent was included in the set of optimal models for all four loss functions; at a 22-day step size, the sentiment model remained significantly superior to the baseline under the MSE and MAE metrics, but the baseline model outperformed it considering the HMSE and HMAE metrics, indicating that the robustness of overall sentiment declines in the prediction of long-term extreme volatility. In summary, overall sentiment provides robust predictive gains in the short and medium terms and offers incremental value in the long term, but its performance under extreme volatility scenarios is slightly inferior to that of the baseline model.
Table 9. CW test results for the overall sentiment model.
Table 10. MCS test for the overall sentiment model.
The CW test rejects equal predictive accuracy between HAR-RV + Sent and HAR-RV at the 5% level across all horizons. This confirms that the observed MSE reductions are statistically significant, validating the incremental predictive value of overall sentiment.
The values in the table represent the p-values from the MCS test; a higher p-value indicates greater accuracy in the model’s volatility forecasts. In this paper, the significance level is set to 0.1, the block length to 2, and the MCS test is conducted using 10,000 simulations (Z. W. Xu et al., 2024; Hansen et al., 2011). The MCS test identifies HAR-RV + Sent as a superior model for short- and medium-term forecasts across all loss functions. At the 22-day horizon, its advantage diminishes under HMSE/HMAE, suggesting that the robustness of overall sentiment weakens during extreme volatility. This highlights the need for combining multiple sentiment dimensions for reliable long-term forecasting.

5.3. The Asymmetry Effect of Positive and Negative Sentiment Intensity

5.3.1. In-Sample Estimation Results

Table 11 reports the in-sample regression results for the HAR-RV + PosNeg model across three lag lengths. All lag terms for positive sentiment intensity (daily, weekly, and monthly) were insignificant across all three lag lengths. The weekly lag of negative sentiment intensity was significantly negative at the 1-day and 5-day lags, while the monthly lag was significantly positive at all lags. These results are highly consistent with gold’s dual nature: short-term accumulation of negative sentiment prompts investors to seek safe havens, causing capital to flow into the gold market and thereby suppressing volatility, while long-term accumulation of negative sentiment may lead to the entrenchment of pessimistic expectations, resulting in larger-scale position adjustments that increase volatility. The increase in adjusted R2 relative to the baseline grows as the lag length increases, and the decrease in AIC also increases with longer lags. This confirms the directional asymmetry of sentiment’s predictive power: negative sentiment is the core driver of volatility forecasts, while positive sentiment provides a significant boost to the prediction of gold futures volatility. This asymmetric result will be further validated in subsequent out-of-sample tests.
Table 11. Within-sample estimates of positive and negative sentiment intensity.
Positive sentiment intensity is insignificant across all horizons and lag structures, while negative sentiment exhibits a time-scale-dependent asymmetric pattern: weekly lags significantly suppress volatility, whereas monthly lags amplify it. This aligns with gold’s safe-haven characteristics—short-term negative sentiment triggers safe-haven buying that dampens volatility, while long-term pessimism solidifies expectations that ultimately drive volatility higher, supporting H2a.

5.3.2. Out-of-Sample Prediction Results

Table 12 shows the out-of-sample prediction errors for the HAR-RV + PosNeg model. For all three step sizes, the MSE is lower than that of the baseline, with the reduction increasing as the step size increases. The MAE, HMSE, and HMAE are also consistently lower than the baseline values.
Table 12. Out-of-sample prediction errors for the positive and negative sentiment intensity model.
Decomposing sentiment into positive and negative intensities yields MSE reductions of 2.73% (1-day), 5.99% (5-day), and 8.91% (22-day). The improvement observed at the 22-day point was higher than that of the overall emotion model (8.91% vs. 5.90%), confirming that distinguishing directional sentiment carries significant economic value for long-term forecasting and thus providing strong out-of-sample support for H2a.
The results of the CW test (Table 13) show that, over the short, medium, and long term, the HAR-RV + PosNeg model outperforms the baseline HAR-RV model in predictive ability, demonstrating that the reduction in loss is not due to sampling error, but rather that the decomposition of positive and negative sentiment does indeed provide a systematic predictive gain beyond the historical information inherent in volatility itself.
Table 13. CW test results for the positive and negative sentiment intensity model.
The CW test confirms HAR-RV + PosNeg systematically outperforms HAR-RV across all horizons (p < 0.01 for 1-day horizon, p < 0.05 for 5-day horizon, p < 0.01 for 22-day horizon). The increasing magnitude of CW statistics with horizon underscores the growing importance of directional sentiment decomposition for longer-term predictions.
The MCS test (Table 14) shows that, in the short and medium term, HAR-RV + PosNeg is included in the optimal model set for all loss functions; for a 22-day horizon, there is no significant difference from the baseline under the HMSE and HMAE metrics. Consistent with the CW test results, the decomposition of positive and negative sentiment in the short and medium terms significantly improves predictive accuracy, with negative sentiment as the primary driver of improvement. When assessing extreme monthly volatility, positive and negative sentiment information serves as a robust auxiliary variable; however, it still needs to be integrated with sentiment information from other dimensions to achieve more reliable predictions.
Table 14. MCS test results for the positive and negative sentiment intensity model.
The values in the table are the p-values from the MCS test; a higher p-value indicates greater accuracy in the model’s volatility predictions. HAR-RV + PosNeg is consistently included in the MCS optimal set for short- and medium-term forecasts. At the 22-day horizon, its relative advantage diminishes under HMSE/HMAE, echoing the pattern observed for overall sentiment.

5.4. Differences in Predictive Ability for Fine-Grained Emotion

5.4.1. In-Sample Estimation Results

We incorporated five categories of fine-grained emotions—happiness, fear, sadness, anger, and disgust—into the HAR-RV model using daily, weekly, and monthly lag structures; systematically tested the independent predictive power of each emotion from both in-sample and out-of-sample perspectives; and examined the robustness of different lag structures.
Table 15 reports the in-sample regression results for the five single-emotion models at prediction horizons of 1, 5, and 22 days. The results show that the adjusted R2 values for all five emotion models are higher than those of the benchmark HAR-RV, but the extent of improvement varies significantly. Happiness and anger exhibited the strongest predictive power. The weekly lags in the happiness model were significantly positive across all three lag lengths, while the daily lags were also significant at the 5-day and 22-day lag lengths. The anger model exhibited an even more pronounced improvement, with highly significant monthly and weekly lags, indicating strong predictive power. These two emotion models demonstrated the largest increases in adjusted R2 and the most significant reductions in AIC, with the effects becoming more pronounced as the lag length increased. The disgust model performed well in the long term but was average in the short term. The adjusted R2 increased by 3.95% at a 22-day lag, and the AIC reduction was the largest among all single-emotion models, indicating a significant long-term cumulative effect of disgust. However, the daily lag remained consistently insignificant, suggesting that its information needs to accumulate over a longer time scale. Sadness exhibits limited and unstable predictive power; the monthly lag in the sadness model was marginally significant at both short- and long-term lag lengths, whereas the weekly and daily lags were insignificant. The increase in adjusted R2 reached 3.39% in the long term, but the level of significance was low, suggesting that the predictive relationship is not robust enough. Fear had virtually no predictive power. Judging by the signs of the coefficients, the most significant emotional coefficients are positive, indicating that higher levels of various emotions tend to drive volatility higher.
Table 15. Intra-sample estimates for the five categories of fine-grained emotion samples.
Happiness and anger exhibited the most robust in-sample predictive power (R2 gains: 2.89% and 2.26% at 22 days), while the disgust model exhibited the largest R2 gain (3.95%) at 22 days, but with inconsistent coefficient signs, raising reliability concerns. Fear showed no meaningful predictive power. Daily lags are generally insignificant except for happiness and anger, indicating sentiment must accumulate over weekly/monthly scales to acquire predictive value. These findings support H2b and align with Ekman’s (1992) theory that different basic emotions carry distinct behavioral implications.
Finally, daily lags were generally not significant. Among all five types of fine-grained emotion models, only the daily lags for happiness and anger were significant at certain lag lengths; the daily lags for all other emotions were not significant. This is fully consistent with the findings from the positive–negative valence decomposition model discussed earlier, where daily lags were not significant while weekly and monthly lags were significant. That is, isolated single-day sentiment data is insufficient to provide statistically significant power for predicting gold futures volatility at any lag length; sentiment data must be accumulated over weekly or monthly time scales to possess reliable predictive value.

5.4.2. Out-of-Sample Prediction Results

The out-of-sample prediction errors and CW test p-values (Table 16), as well as MCS test results (Table 17) for the five fine-grained emotion models confirms the findings within the sample, demonstrating significant variations in predictive performance across different emotion categories. Specifically, both happiness and anger models passed the CW test across all three prediction horizons, with significant reductions in out-of-sample MSE. They were included in the optimal set in the MCS test for both short- and medium-term conventional predictions, indicating that these two emotion categories are key drivers in predicting gold futures volatility. Specifically, the happiness model maintained its advantage in long-term predictions, while anger’s long-term predictive ability declined relatively. The disgust model exhibited the largest reduction in MSE at the long-term prediction horizon, with the CW test yielding highly significant results. However, under heteroscedasticity-adjusted criteria, aversion was excluded by the MCS test, indicating that its predictive signal lacks reliability under extreme volatility scenarios. The sadness model passed the CW test only at the 5- and 22-day horizons, but it was consistently not included in the optimal set in the MCS test, suggesting that although it is statistically significant, its predictive robustness is insufficient, and its practical application value is limited. The fear model failed the CW test at all time horizons, and its MSE was higher than the baseline at the 1-day and 22-day horizons. Fear had no significant predictive power for gold futures volatility, which is highly consistent with gold’s status as a safe-haven asset—that is, fear often leads to an influx of investments in safe-haven capital, thereby suppressing rather than amplifying volatility.
Table 16. Out-of-sample prediction errors and CW tests for five types of fine-grained emotion models.
Table 17. MCS test for five categories of fine-grained emotion models.
The happiness model achieved the largest MSE reductions (3.52%, 6.73%, and 9.46% for 1-, 5-, and 22-day horizons), followed by anger (2.53%, 5.16%, and 8.04%). The fear model failed the CW test at all horizons, while the disgust model was only significant at 22 days but was excluded considering HMSE/HMAE, indicating unreliable signals during extreme volatility. These results provide robust out-of-sample evidence for H2b, suggesting that model builders should prioritize happiness and anger while exercising caution with disgust in volatile markets.
Happiness and anger models were consistently featured in the MCS superior set for short- and medium-term horizons. At the 22-day horizon, happiness maintained its advantage while the anger model’s performance declined relatively. The fear model consistently failed to be included in the optimal set, confirming its lack of predictive power is consistent across evaluation metrics. This provides strong practical guidance for selective incorporation of sentiment dimensions in forecasting models.

5.5. Simplified Daily Lag Model

To examine whether weekly and monthly lagged mean sentiment values provide additional information beyond that of single-day lags, a simplified model containing only sentiment variables with a one-period daily lag was constructed. The within-sample estimation results (Table 18) and the significance analysis of emotional variables (Table 19) for the daily lagged simplified models indicates that, with the exception of the happiness model, the adjusted R2 increased only marginally or even decreased for the vast majority of simplified models. The improvement in goodness-of-fit for the simplified models was significantly lower than that of the corresponding daily, weekly, and monthly lag versions, indicating that a single-day lag alone is insufficient to fully capture the predictive value of sentiment information. The one-period lag of the happiness emotion variable was highly significant across all three forecast horizons, making it the only simplified model that performed robustly at all horizons. This suggests that the effect of happiness appears to be immediate in nature; that is, the level of optimism on the previous day itself carries an effective predictive signal for future volatility.
Table 18. In-sample evaluation results for the simplified daily lag model.
Table 19. In-sample assessment of the significance of sentiment variables in the simplified daily lagged model.
Among all simplified daily lag models, the model featuring happiness yields the largest and most consistent in-sample R2 improvements across all horizons (0.55%, 1.15%, and 2.14% for 1-, 5-, and 22-day horizons). Most other sentiment dimensions show marginal or even negative R2 gains. This confirms that daily sentiment fluctuations alone generally carry insufficient predictive information, with happiness being a notable exception.
The p-values confirm that only happiness remains statistically significant across all three forecast horizons in the simplified daily lag setting (p < 0.001 for all). Fear and sadness show significance only under certain horizons, while anger and disgust become significant only at the 22-day horizon. The marked decline in significance for most emotions when moving from the full monthly model to the simplified model underscores the critical role of multi-scale cumulative sentiment information.
Table 20 and Table 21 show the out-of-sample MSE and the results of the CW and MCS tests for representative simplified models, respectively. With the exception of the model featuring happiness, the simplified models failed the CW test at all three lag lengths, and the improvement in MSE was negligible. The daily lagged simplified model for happiness significantly outperformed the benchmark at all lag lengths, but the reduction in MSE was notably lower than that of its day/week/month lagged version. In the MCS test, under the MSE/MAE criteria, only the happiness model was consistently included in the optimal set; under the HMSE/HMAE criteria, none of the simplified models remained robust. This indicates that, apart from high-arousal emotions such as happiness, which possess some immediate predictive power, the predictive information for the vast majority of sentiment is primarily embedded in weekly and monthly cumulative effects, and isolated single-day fluctuations are unlikely to provide reliable predictive power. This finding indirectly confirms the necessity of constructing lagged features across daily, weekly, and monthly scales in the HAR model. It also illustrates that the predictive power of sentiment does not stem from transient noise but rather reflects the inertia of investor psychology across multiple time scales.
Table 20. Out-of-sample prediction errors and CW tests for the simplified daily lag model.
Table 21. MCS test results for the simplified daily lagged model.
Only the happiness model achieved significant out-of-sample improvements across all horizons (MSE reductions: 2.66%, 5.87%, and 7.60%), but these are notably smaller than the full model gains (9.46% at 22 days). This confirms that while happiness possesses some immediate predictive power, most predictive information resides in weekly/monthly cumulative effects.
No single simplified daily lag model dominates across all evaluation metrics. The happiness model performs best under conventional MSE/MAE criteria, while PosNeg performs best under heteroscedasticity-adjusted HMSE/HMAE criteria. This suggests that different sentiment dimensions may capture complementary information even at the daily frequency, and the chosen sentiment indicator should depend on the forecaster’s loss preference.

5.6. Robustness Tests

5.6.1. Different Delay Times

To test whether the core conclusions depend on a specific prediction horizon, a comparative analysis was conducted using three different horizons: 1, 5, and 22 days. The results indicate that all core conclusions are highly consistent across these horizons. First, the prediction gain for overall sentiment increases with the prediction horizon. The CW test for HAR-RV + Sent was significant across all three horizons; the reduction in out-of-sample MSE increased with horizon length, and the prediction gain was most pronounced in the long term. The sentiment model was included in the optimal set for the MCS test for the short and medium terms, and this was also supported by the MSE/MAE criteria in the long term. Second, the asymmetric patterns of positive and negative sentiment are consistent across all lag lengths. The intensity of positive sentiment is not significant at any lag length; the weekly lag of negative sentiment intensity is significantly negative at the 1-day and 5-day lag lengths, while the monthly lag is significantly positive at all lag lengths, with the predictive gain increasing as the lag length expands. Third, the divergence in predictive power among the five fine-grained emotion categories is completely consistent across the three lag lengths. Happiness and anger models passed the CW test at all lag lengths, and they were retained in the optimal set in the MCS test; the fear model was not significant at any lag length; and the disgust model was significant only at the 22-day lag length but was excluded under the heteroscedasticity-adjusted criteria. This divergence demonstrates that the strong predictive power of happiness and anger and the lack of significance of fear are not coincidental results specific to any particular lag length.
Overall, the results demonstrate that investor sentiment generally has significant predictive power for volatility and that this predictive power exhibits asymmetry for different sentiment dimensions. These findings have been systematically validated across short-, medium-, and long-term horizons, indicating that the conclusions are robust across different time scales.

5.6.2. Different Forecast Windows

The initial training window was set to 750 or 1000 trading days; then, all out-of-sample predictions and the CW test were re-run. The results (Table 22) show that the ranking of relative performance among the models and the conclusions regarding statistical significance are highly consistent with those of the main analysis: the effects of overall sentiment, happiness, and anger were all significant, while that of fear remained weak. The core conclusions were validated across all step sizes and all windows.
Table 22. Robustness test for changing the forecast window.
In summary, the core conclusion of this study is that using investor sentiment models based on FinBERT2 can significantly improve the accuracy of predictions of gold futures volatility (T = 800, with a 5.90% reduction in long-term out-of-sample MSE compared to the baseline). Furthermore, the intensity of positive and negative sentiment exhibits asymmetry, with negative sentiment exhibiting significantly greater predictive power than positive sentiment. Furthermore, there are marked differences in predictive power among the five fine-grained emotion categories: happiness and anger are the primary contributors to prediction (with happiness reducing MSE by 9.46% in long-term forecasts), while fear lacks effective predictive power (failed the CW test). Furthermore, the results for multidimensional sentiment confirm that isolated single-day sentiment data does not have statistically significant predictive power for gold futures volatility at any time horizon; sentiment data must be aggregated over weekly or monthly time scales to possess reliable predictive value.
The core conclusions are robust across different forecast windows (T0 = 750, 800, 1000). Happiness, anger, and overall sentiment models consistently outperform the benchmark, while the fear model consistently fails the CW test. This confirms that our findings are not contingent on a particular choice of initial training window.

5.6.3. A Multi-Period Lagged Model of Fear and Sadness

To rule out the possibility that fear and sadness models may have underperformed due to poor selection of daily, weekly, and monthly lag structures, we constructed additional independent models with lags of 1–5 periods. Taking fear as an example, the model is formulated as follows:
l n R V t = β 0 + β d l n R V t − 1 + β w l n R V t − 1 w + β m l n R V t − 1 m + ∑ k = 1 5 γ k P r o b f e a r t − k + ε t
The in-sample estimation results for the fear and sadness emotion models in Table 23, under lags of 1–5 periods, indicate that the increase in R2 for the fear model was less than 0.5% across all lag lengths, with only a few lag orders showing significance; for the sadness model, there was only a slight improvement in the long term (a 3.16% increase in R2), but the direction of the coefficients was inconsistent. Changing the lag structure did not alter the core conclusion that fear has no predictive power and sadness has limited predictive power; the main results are robust.
Table 23. In-sample estimates for models with 1–5 lags.
Altering the lag structure for fear and sadness models from daily/weekly/monthly to 1–5 individual lags does not change the core conclusion: fear has no predictive power and sadness has limited predictive power. This rules out the possibility that their poor performance is attributable to a poor choice of lag structure.
The out-of-sample MSE and CW test results for the 1–5-period lag models (Table 24) further corroborate the in-sample findings. For the fear model, after changing the lag structure, the MSE values for the three lag lengths were 0.4529, 0.2958, and 0.3579, respectively, and the p-values for the CW test were marginally significant only at the 5-day lag length; overall, the results remain inconsistent. For the sadness model, the CW tests for the 1–5-period lag models were not significant at any of the three lag lengths, performing even worse than the daily, weekly, and monthly lag structures. This indicates that the lack of predictive power for fear and sadness is not due to an inappropriate choice of lag structure, but rather stems from their intrinsic properties; the main results remain robust.
Table 24. Out-of-sample predictions for the 1–5-period lag models and CW test.
The 1–5-period lag models for fear and sadness fail to achieve significant MSE reductions or consistently pass the CW test. Both perform even worse than their daily/weekly/monthly counterparts, confirming that their lack of predictive power is intrinsic to their emotional properties, not an artifact of model specification.

5.7. Predictive Power of Investor Sentiment Across Different Event Periods

5.7.1. Sentiment Prediction Capabilities During the Russia–Ukraine Conflict

On 24 February 2022, Russia launched a special military operation against Ukraine. This conflict rapidly triggered severe turmoil in global financial markets, and geopolitical risks suddenly surged to historic highs. The Russia–Ukraine conflict represents a highly significant event window in gold market research; the total volatility spillover index exceeded levels seen during the COVID-19 pandemic, with gold and other precious metals acting as net volatility spillover sources, indicating that geopolitical tensions can significantly exacerbate long-term volatility in the gold market (Shahzad et al., 2023; Li & Liu, 2026). To systematically examine the structural changes in sentiment predictive power under extreme geopolitical shocks, the Russia–Ukraine conflict sub-period was examined, defined in this study as 1 December 2021 to 31 August 2022. The start date precedes the conflict outbreak by approximately three months, aiming to capture the accumulation and pre-heating phase of market safe-haven sentiment before the conflict; the end date was chosen to cover approximately six months of persistent impact following the outbreak. This sub-sample contains 184 trading days, and the same expanding-window approach as the main analysis was employed for the forecasts, with the initial training window set to 120 trading days. Whether investor sentiment can still provide predictive value for the gold futures market—and whether its predictive power will undergo structural changes—during this highly volatile geopolitical conflict is a question worth exploring.
The in-sample fit results of various sentiment extension models during the Russia–Ukraine conflict (Table 25) indicate that investor sentiment across all dimensions continues to provide predictive value. All models incorporating sentiment variables achieved higher adjusted R2 values than the benchmark HAR-RV model across short, medium, and long horizons, indicating that even under extreme geopolitical shocks, investor sentiment still provides incremental explanatory power beyond historical volatility. The adjusted R2 for +Sadness surged from the benchmark’s 0.1044 to 0.7493 across the three horizons, an extreme improvement not observed in the full sample. The R2 for +PosNeg also increased by 4.98%, 16.88%, and 20.68% across the three horizons. +Disgust similarly showed a 17.48% improvement over the long-term horizon. This suggests that investor sentiment retains robust predictive value within the sample even during extreme crises, though the specific sentiment dimensions that play a role change.
Table 25. In-sample fit results for sub-periods of the Russia–Ukraine conflict.
During the Russia–Ukraine conflict, sadness becomes the dominant emotion, achieving an extraordinary R2 gain of 64.49% at the 22-day horizon (from 0.1044 to 0.7493). The effects of happiness and anger—dominant in the full sample—decline substantially. This structural shift indicates that under sustained geopolitical uncertainty, investors’ sadness becomes the core psychological factor driving volatility, supporting H3b.
The shift in the predictive roles of multidimensional sentiment compared to the full-sample period is reflected in the following aspects. First, among the five fine-grained emotional dimensions, the dominant emotions shifted from happiness and anger to sadness. In the full sample, happiness and anger were the strongest predictors in the short and medium term, but their predictive power declined significantly during the Russia–Ukraine conflict. Conversely, sadness became the dominant emotion. This suggests that amid persistent geopolitical uncertainty, investors’ sadness—through a cumulative effect—became the core psychological factor driving volatility, and high-arousal behaviors such as chasing rallies and arguments were replaced by risk aversion and pessimism. Second, the predictive power of positive and negative sentiment intensity increased, indicating that during times of crisis, breaking sentiment into positive and negative components can more effectively capture volatility signals released by investors amid polarization. Finally, consistent with the full-sample period, fear still failed to provide stable predictive value, but the long-term predictive power of disgust was partially activated during the conflict period.
The results of out-of-sample predictions (Table 26) show that the pattern of these predictions changed significantly during the Russia–Ukraine conflict. In times of extreme crisis, only sadness provided robust predictive value in the short, medium, and long term, particularly in the medium and long term. The intensity of positive and negative sentiment provided statistically significant predictive value only in the long term, with limited actual improvements in accuracy. This phenomenon did not occur in the full sample, suggesting to some extent that the predictive signals derived from the decomposition of positive and negative intensity may be distorted by extreme volatility during crises. Fear and disgust also demonstrated predictive value in the long term, but their predictive gains were far smaller than those of sadness. The predictive capabilities of overall sentiment, happiness, and anger, however, fail to hold up, contrasting with the findings in the full sample. This suggests that while the predictive value of investor sentiment based on FinBERT2 exhibits cross-market robustness, the specific sentiment dimensions that play a role may shift depending on market conditions.
Table 26. Out-of-sample values of the loss function and CW test for the sub-period of the Russia–Ukraine conflict.
Only sadness provides consistently significant out-of-sample value across all horizons (MSE reductions: 6.04%, 29.69%, and 63.96%). The predictive power of happiness and anger—effective in the full sample—fails during this crisis. This confirms that while sentiment’s predictive value is robust across regimes, the dominant dimensions shift substantially with market conditions, supporting H3b.
The results of the MCS test (Table 27) further confirmed the above conclusions and revealed differences in the robustness of different sentiment dimensions under extreme volatility. The p-values for the four loss functions of the sadness model across all three step sizes indicate that its predictive capability is the best among all compared models. In contrast, the MCS test clearly ruled out the happiness and anger models as optimal under medium- to long-term time steps. From a model selection perspective, this result confirms that amid the extreme geopolitical consequences of the Russia–Ukraine conflict, sadness serves as the optimal information source for improving volatility forecast accuracy.
Table 27. MCS test for out-of-sample predictions during the sub-period of the Russia–Ukraine conflict.
The MCS test identifies the sadness-augmented model as the undisputed optimal model across all horizons and loss functions. Happiness and anger models are clearly ruled out from the optimal set. This provides the strongest possible evidence for the regime-dependent shift in the dominant predictive emotion during extreme geopolitical crises.
Furthermore, to test whether sentiment forecasting during the Russia–Ukraine conflict still relied on daily, weekly, and monthly cumulative effects, a simplified model containing only daily lags was constructed. The in-sample results (Table 28) show that for the vast majority of daily lag models, the increase in adjusted R2 was less than 0.5 percentage points, far lower than that of the corresponding daily/weekly/monthly lag models. Among these, the daily lag for sadness showed the relatively largest increase in R2 at long time steps, but it was still significantly lower than that of its full model.
Table 28. In-sample fit results for the simplified daily lagged model for sub-periods of the Russia–Ukraine conflict.
During the time period of the Russia–Ukraine conflict, most daily lag models show R2 improvements below 0.5 percentage points. Even the strongest (sadness) achieves only 13.21% at 22 days, far lower than the full model’s 64.49% gain. This confirms that even during extreme crises, sentiment forecasting relies on weekly/monthly cumulative trends, not isolated daily fluctuations.
The out-of-sample results (Table 29 and Table 30) further indicate that daily lag models are largely ineffective during crises. With the exception of sadness—which showed marginal significance in the CW test at long time steps and a slight improvement in MSE—the CW tests for all sentiment models were not significant, and their MSEs were generally higher than or on par with the benchmark. The MCS test shows that for the vast majority of sentiments, the single-day lags fail to outperform the benchmark in conventional forecasting. In the short and medium term, the p-values of all simplified models, with the exception of sadness, are on par with or lower than those of the benchmark; in the long term, the p-values for emotions such as happiness and fear drop below 0.1, indicating significantly worse performance than the benchmark. Sadness was the only dimension that showed some robustness under heteroscedasticity-adjusted standards; however, combined with the CW test, its MSE reduction was only about 3%, far lower than that of the daily, weekly, and monthly lag models. The daily lag models for happiness and fear completely failed in the long term, indicating that single-day lag information lacks stable long-term predictive value during extreme crises.
Table 29. Out-of-sample loss function values and CW tests for the daily lagged model during the Russia–Ukraine conflict.
Table 30. MCS test for the daily lagged model during the Russia–Ukraine conflict.
Simplified daily lag models were largely ineffective out-of-sample during this conflict. Only the sadness model shows marginal significance at the 22-day horizon (p = 0.0117), with an MSE improvement of approximately 3%. All other emotion models fail the CW test. This reinforces that isolated daily sentiment fluctuations carry little predictive value during extreme crises.
No simplified daily lag model is consistently included in the MCS optimal set during the conflict. The sadness model demonstrates some robustness under HMSE/HMAE only at longer horizons, but its advantage is marginal compared to the full model. This confirms that single-day lags lack stable long-term predictive value during extreme crises.
In summary, during the Russia–Ukraine conflict, sentiment forecasting continues to rely on cumulative trends at the daily, weekly, and monthly levels; a single-day lag is insufficient to capture meaningful signals. This conclusion is consistent with the findings from the full sample and further supports the necessity of the multi-scale lag structure in the HAR model.

5.7.2. The Ability to Predict Market Sentiment During a Bullish Trend in the Gold Market

Since the beginning of 2024, international gold prices have experienced a historic rally, marking the largest increase since 2010. At the beginning of 2025, the upward trend accelerated further, with a new all-time-high gold price set 53 times throughout the year. In terms of market characteristics, this bull market in gold has been prolonged, driven by diverse factors, and has featured substantial gains. It has lasted nearly two years, providing a unique window for examining the predictive power of investor sentiment regarding volatility in trending markets. In this paper, the trend-driven gold bull market sub-period is defined as 1 April 2024 to 16 March 2026. The rationale for selecting this starting point is that a rapid upward rally in gold prices was initiated in March 2024, and on 1 April 2024, both domestic and international gold futures prices broke through historical record highs simultaneously, confirming and marking the acceleration of this bull market. The uptrend continued to accelerate thereafter until the end of the sample period. This sub-sample contains 472 trading days, and the same expanding-window approach as the main analysis was employed in the forecasts, with the initial training window set to 120 trading days. The purpose of this section is to examine whether investor sentiment across various dimensions retains its predictive power regarding gold futures volatility during a sustained upwards trend, and whether the predictive pattern has intensified or shifted.
The in-sample fitting results for each single-sentiment extension model during bull markets (Table 31) show that sentiment across all dimensions generally possesses predictive power, which increases for longer prediction horizons. With the exception of fear and sadness, the adjusted R2 for all emotion models exceeded that of the benchmark, and the increase in R2 rose significantly as the prediction horizon expanded. This suggests that in a trending bull market, the explanatory power of sentiment information for volatility increases as the forecast horizon lengthens, and the incremental value of sentiment variables is particularly pronounced in long-term forecasts. Notably, the R2 improvement for the +PosNeg model at long-term horizons even exceeded that observed over the entire sample period, indicating that decomposing sentiment into positive and negative components more effectively captures long-term volatility information during a bull market. Second, the predictive power of sentiment remains highly heterogeneous, with happiness and the intensity of positive and negative sentiment emerging as the dominant predictors. During bull markets, happiness yields the greatest increase in R2 in both the short and medium terms, while the intensity of positive and negative sentiment yields the highest increase in R2 in the long term, exceeding the corresponding values for the full sample period. Compared to the full sample period, the predictive advantage of anger is relatively diminished. The limited predictive power of fear and sadness further deteriorated from that in the full-sample period to near-ineffectiveness or even negative contributions, which stands in stark contrast to the role of sadness during the Russia–Ukraine conflict, highlighting the cross-period heterogeneity of sentiment predictive power.
Table 31. In-sample fitting results for the trend-driven gold bull market phase.
During the gold bull market, sentiment’s predictive power was substantially amplified. The +PosNeg model achieves a 17.08% R2 gain at 22 days (vs. 2.70% in the full sample). Fear and sadness deteriorate to near-ineffectiveness, contrasting sharply with sadness’s role during the Russia–Ukraine conflict and highlighting H3b.
The out-of-sample prediction results (Table 32) show a significant improvement in sentiment prediction capabilities. The MSE reductions were generally larger than those in the full sample for all valid sentiment models. This confirms the reinforcing effect of bull markets on sentiment prediction. Among all factors, happiness showed the largest reduction in MSE in the short and medium term, making it a core predictive factor. Positive and negative sentiment intensity had the largest effect on long-term predictions, suggesting directional information matters most for long-term trends. Overall sentiment and anger had stable predictive ability across all periods, but their MSE reductions were lower than those of happiness and positive/negative sentiment intensity. Disgust was significant only in the long term, and fear and sadness were not significant at any time step. This contrasts with their limited power in the full sample and the finding that sadness was involved during the Russia–Ukraine conflict.
Table 32. Loss function values and CW test results for the sample excluded from the gold bull market phase.
The happiness model exhibits the largest short/medium-term MSE reductions (4.38% at 1 day, 6.13% at 5 days), while the positive/negative intensity model performs best for long-term predictions (21.39% MSE reduction at 22 days). Fear and sadness remain insignificant. This confirms that sentiment’s predictive value and dominant dimensions both shift with market conditions, supporting H3a and H3b.
The MCS test results (Table 33) further confirm the above differentiation. In short- and medium-term predictions, +Sent, +PosNeg, and +Happiness were all included in the optimal model set and significantly outperformed the baseline. In long-term predictions, the p-values for +Sent, +Happiness, +Disgust, and +PosNeg were all far lower than that of the baseline, indicating that the sentiment models outperformed it. Under heteroscedasticity-adjusted criteria, the p-values for all sentiment models generally decreased, indicating that extreme volatility weakens the relative advantage of sentiment models; however, +PosNeg and +Happiness still exhibited high p-values for most time steps, demonstrating relatively stronger predictive robustness. Furthermore, as the forecast horizon lengthens, the importance of positive and negative sentiment intensity gradually surpasses that of happiness, becoming the dominant factors in long-term forecasting; the predictive power of anger declines to insignificance over the long term, while that of disgust is activated.
Table 33. MCS test for out-of-sample predictions during the gold bull market phase.
+Sent, +PosNeg, and +Happiness are consistently included in the MCS optimal set for short/medium-term forecasts. At 22 days, +PosNeg and +Happiness maintain their advantage while anger loses significance and disgust is activated. This confirms that different market regimes require different sentiment dimensions for optimal volatility prediction.
We further analyzed simplified daily lag models to examine whether sentiment forecasting during bull markets still relies on multiscale cumulative effects. The in-sample results (Table 34) indicate that the adjusted R2 of most daily lag models increased by less than 1 percentage point, which is significantly lower than that of the corresponding daily, weekly, and monthly lag models. The sole exception was the happiness daily lag model, which significantly outperformed the simplified models for other sentiments, indicating that happiness has some immediate predictive potential, though it remains far inferior to the daily, weekly, and monthly lag models.
Table 34. In-sample fit results for the daily lagged model during the gold bull market phase.
Most daily lag models exhibit R2 improvements below 1 percentage point during the bull market. The exception is the happiness model, confirming it possesses some immediate predictive potential. However, these improvements remain far inferior to those of the full daily/weekly/monthly models, even for happiness.
The out-of-sample results (Table 35 and Table 36) show that, among the daily lag models, only the model for happiness exhibits predictive power. This is consistent with the conclusion that while the daily lag model for happiness is predictive in the full sample, it fails during the Russia–Ukraine conflict, further confirming that the predictive advantage of happiness in real-time analysis holds true only in trending markets. The CW tests for the other daily lag models were all insignificant; the reductions in MSE were minimal or even negative, and these models were excluded in the MCS test. This indicates that in a bull market, only the single-day lag of happiness provides a reliable predictive signal, while for other sentiments, we must rely on weekly and monthly cumulative data.
Table 35. Out-of-sample loss function values and CW tests for the daily lagged model during the gold bull market phase.
Table 36. MCS test for the daily lagged model outside the sample during the gold bull market phase.
Only the daily lag happiness model exhibits significant out-of-sample predictive power during the bull market (MSE reductions: 3.28% at 1 day, 4.95% at 5 days). All other daily lag models fail the CW test. This indicates that other sentiments require weekly/monthly cumulative data in a bull market.
The happiness daily lag model is the only simplified model consistently included in the MCS optimal set under MSE/MAE criteria. No simplified model demonstrates robustness under HMSE/HMAE. This confirms that even happiness’s immediate predictive signal is vulnerable to extreme volatility, making the full daily/weekly/monthly model essential for robust long-term prediction.

5.8. Comparison and Discussion

Comparing these findings with the existing literature, this is the first study to apply the FinBERT2 pre-trained language model to sentiment classification in the Chinese gold futures market. The FinBERT2 model proposed by X. Xu et al. (2025) underwent domain-adaptive pre-training on a Chinese financial corpus and outperformed general-purpose BERT and earlier versions of FinBERT in multi-class classification tasks; however, it has not yet been applied to the gold futures market. The model comparison experiments in this paper show that the fine-tuned six-class FinBERT2 significantly outperforms seven other models—including Naive Bayes, SVM, LSTM, Bi-LSTM, and Text-CNN—in terms of accuracy and F1 score, providing empirical evidence for model selection in future research on financial text sentiment classification. Additionally, this study extends the granularity of sentiment classification from the binary positive/negative classification (Cevik et al., 2022; Sobti, 2025) or the three-class classification of bullish, bearish, and neutral (Fasanya et al., 2022)—commonly adopted in existing research—to six fine-grained emotion categories. This expansion is not merely a refinement of classification; investor sentiment is subdivided into six categories (happiness, sadness, fear, anger, disgust, and neutral) based on Ekman’s (1992) theory of basic emotions and incorporating the classification methods of Power and Dalgleish (2016) and Vamossy and Skog (2025). We systematically tested the differences in predictive performance across these sentiment dimensions within the framework of gold futures volatility forecasting. Regarding the forecasting results, it is necessary to distinguish this study from that of Vamossy and Skog (2025), who also employed a multi-class sentiment framework. The core objective of their study was to develop the EmTract sentiment extraction tool and validate its effectiveness, using daily stock returns as the forecasting target; it did not conduct substantive volatility forecasting. This paper, however, focuses on the prediction of realized volatility in the gold futures market, with both the task objective and market environment differing from those in the above study. Within the volatility prediction framework, this study found that happiness and anger exhibited significant predictive power, while fear and sadness were ineffective; whether this pattern applies to volatility prediction in the stock market remains to be tested in future research. This study primarily draws upon the above study’s six-category framework and model performance benchmarks, rather than directly comparing predictive conclusions.
Regarding the specification of the volatility forecasting model, a key finding of this study is the scale effect of cumulative sentiment information. By comparing a comprehensive model that includes daily, weekly, and monthly lags with a simplified model containing only daily lags, we found that daily lags for the vast majority of sentiment variables did not provide significant improvements in forecasting, whereas the effects of weekly and monthly lags were highly significant. This result supports Corsi’s (2009) heterogeneous market hypothesis, which posits that investors digest and react to sentiment information at different time scales at varying speeds; short-term sentiment fluctuations act as noise, whereas the accumulation of weekly and monthly sentiment reflects shifts in the beliefs of medium- to long-term investors. In fact, previous studies that incorporated sentiment variables into the HAR-RV framework (Niu et al., 2024; Z. W. Xu et al., 2024) have already recognized the importance of a multi-scale structure and introduced weekly and monthly lags for sentiment variables, respectively. Building on this foundation, this study further systematically examines the information loss in the simplified model—which includes only daily lags—compared to the full model, thereby providing empirical evidence from a counterintuitive perspective that confirms the necessity of multi-scale lags, offering a basis for future research.
This paper focuses on the specific asset of China’s gold futures market and shows how gold’s safe-haven attributes are affected by sentiment. Baur and McDermott (2010) and Burdekin and Tao (2021) point out that gold serves as a safe haven for capital during periods of market stress, and its price reflects dynamic expectations regarding future uncertainty. The asymmetric pattern of negative sentiment observed in this paper—namely, a significantly negative weekly lag but a significantly positive monthly lag—aligns precisely with gold’s dual nature: short-term negative sentiment triggers safe-haven buying, and the resulting influx of capital actually reduces volatility, whereas the accumulation of long-term negative sentiment leads to the entrenchment of pessimistic expectations, thereby driving up volatility. This finding complements the conclusions of studies by Cevik et al. (2022) and others, indicating that directional asymmetry in the gold market is not monotonic but rather time-scale dependent. At the same time, this study found that fear did not exhibit significant predictive power across all forecast horizons. This contrasts with the findings of Vamossy and Skog (2025), where fear was found to be predictive of returns in the stock market, suggesting that the role of fear in the gold market may be diminished due to gold’s safe-haven attributes. Bonato et al. (2021) similarly found that optimism reduces gold volatility. Together, these results indicate that the sentiment effects in the gold market exhibit distinct characteristics from those observed in existing studies of the stock or crude oil markets.
Furthermore, through an analysis of two sub-periods—the Russia–Ukraine conflict and the trend-driven bull market in gold—this study not only demonstrates the robustness of the conclusions drawn from the full sample but also further reveals the heterogeneity in the dominant predictive dimensions of sentiment across different periods. This analysis aligns with relevant findings in the existing literature: J. W. Luo et al. (2022) previously noted that structural breaks affect the predictive effectiveness of sentiment on the volatility of oil and gold; however, their study did not further distinguish the shifting roles of different sentiment dimensions. Building on this, our analysis further reveals that during a sustained geopolitical crisis such as the Russia–Ukraine conflict, sadness replaces happiness and anger as the dominant predictor, and its out-of-sample predictive accuracy is extremely high. During a trend-driven bull market in gold, the predictive power of optimism and the intensity of positive and negative sentiment are significantly amplified, indicating that in a one-sided uptrend, investors’ optimistic sentiment regarding chasing rising prices and the directional intensity of that sentiment become the core drivers of short-term volatility. These findings suggest that there is no single, universally optimal sentiment dimension, and predictive models must be capable of being adapted to market conditions.
Finally, given the systematic comparisons across multiple emotion dimensions, forecast horizons, loss functions, lag structures, and market regimes, concerns about false discoveries due to multiple hypothesis testing warrant attention. At the model comparison level, we employ the MCS test of Hansen et al. (2011), which provides joint inference on loss differentials across models through a bootstrap framework and effectively controls for data-snooping bias in model selection. At the empirical level, our key findings—that happiness and anger are consistently significant while fear and sadness are not—remain robust across different forecast horizons (1/5/22 days), lag structures, out-of-sample windows (750/800/1000 days), and market regimes. This consistent pattern across specifications suggests that, under multiple testing, the main results are unlikely to be driven by chance.

6. Conclusions and Outlook

This study focuses on China’s gold futures market, constructing multidimensional investor sentiment indicators (overall sentiment, positive and negative intensity, and six fine-grained sentiment categories) based on investor discussion threads from East Money and the FinBERT2 pre-trained language model. Realized volatility was calculated using high-frequency 5-min data. Within the HAR-RV framework, the study systematically examined the in-sample and out-of-sample predictive capabilities of sentiment across different dimensions regarding volatility, as well as their asymmetry, and investigated the structural changes in sentiment predictive capabilities during two sub-periods: the Russia–Ukraine conflict and the gold bull market.
The results indicate the following: First, the multidimensional investor sentiment index based on FinBERT2 demonstrates significant and robust predictive power for gold futures volatility, and this predictive power relies on cumulative effects across multiple time scales. Second, there is significant asymmetry in the predictive effects of sentiment across different volatility dimensions. This asymmetry manifests at two levels. In terms of direction, the intensity of positive sentiment is not significant across all forecasting horizons, whereas the intensity of negative sentiment exhibits an asymmetric pattern of short-term suppression and long-term amplification. This aligns with gold’s dual nature: short-term negative sentiment drives an influx of safe-haven capital into gold, thereby suppressing volatility, while the accumulation of long-term negative sentiment solidifies pessimistic expectations, which in turn increase volatility. Regarding the fine-grained emotion categories, happiness and anger exhibit significant predictive power, while fear and sadness exhibit limited predictive power; disgust is effective only in long-term routine forecasting but yields unreliable signals during periods of extreme volatility. Third, the predictive ability of sentiment exhibits significant inter-period heterogeneity. During the ongoing extreme geopolitical event of the Russia–Ukraine conflict, the happiness and anger that dominated the full sample period were replaced by sadness. During the trend-driven gold bull market, the predictive power of happiness and the intensity of positive and negative sentiment were significantly amplified, and the daily lag of joy also possessed independent predictive power, while fear and sadness became completely ineffective. This structural shift indicates that there is no universally optimal sentiment dimension, and predictive models must be capable of being adapted to market conditions.
The above core findings were validated across different forecast horizons, expansion windows, lag structures, and the two sub-periods, indicating that the findings are reliable across different contexts.
From a theoretical perspective, the findings of this paper can be explained through three interrelated channels: First, the direct link between emotional dimensions and trading behavior. Happiness and anger prompt investors to take action, while sadness and fear trigger passive or risk-averse behavior—a pattern clearly reflected in the differentiated predictive power of multi-category emotions. Second, gold’s safe-haven attributes reshape the direction of sentiment transmission. When negative sentiment arises, investors increase their gold holdings to hedge against risk, thereby suppressing volatility in the short term. Only when pessimistic expectations accumulate over a weekly or monthly period do systematic position adjustments push long-term volatility higher. This explains the asymmetric nature of the direction of negative sentiment coefficients as the time scale changes. Third, the cumulative effect of sentiment aligns with investor heterogeneity. Single-day fluctuations in sentiment are unlikely to influence the market, whereas weekly and monthly sentiment trends reflect shifts in the beliefs of medium- to long-term investors and thus possess predictive value. This mechanism provides psychological support for the multiscale structure of the HAR model.
The above empirical findings are not merely statistically significant; their economic implications also merit attention. These implications can be understood from three interrelated perspectives.
First, negative sentiment exhibits an asymmetric predictive pattern for volatility, characterized by short- to medium-term suppression and long-term amplification—a pattern consistent with gold’s dual nature as both a commodity and a safe-haven asset. As shown in Table 11, the weekly lag of negative sentiment significantly reduces volatility, while its monthly lag significantly elevates it. This implies that when negative news initially emerges, safe-haven capital flows rapidly into the gold market, temporarily dampening price fluctuations. However, when pessimistic expectations persist beyond several weeks, market sentiment transitions from immediate reactions to sustained concerns, prompting institutional investors to systematically adjust their positions and thereby amplifying volatility. This finding suggests that risk managers should not be swayed by declines in short-term volatility when monitoring negative sentiment; rather, the sustained accumulation of pessimistic signals indicates medium-term volatility risk.
Second, the predictive power of different sentiment categories exhibits significant heterogeneity, and this heterogeneity shifts with changing market conditions. Under full-sample conditions, happiness and anger yield the largest predictive gains (Table 16), reflecting the high-arousal characteristics of these two emotions: optimism drives momentum-chasing behavior, while anger drives extreme trading activities, both of which accelerate the incorporation of information into prices and thus amplify volatility. However, the sadness-augmented model exhibits a 63.96% reduction in monthly MSE during the Russia–Ukraine conflict and was identified during the MCS test as the optimal model across all loss functions (Table 26 and Table 27). This indicates that when the market enters a prolonged state of geopolitical uncertainty, investor sentiment shifts from high-arousal chasing and venting to risk aversion and pessimism, and the dominant drivers of volatility undergo the corresponding transition. It can thus be inferred that fixed factor combinations should not be adopted in sentiment-based early-warning models, but their core sentiment variables should instead be adjusted dynamically according to market regimes.
Third, the predictive value of sentiment information relies heavily on weekly and monthly cumulative effects, while single-day fluctuations provide few effective signals. This study systematically compared the full sentiment model incorporating daily, weekly, and monthly lags against a simplified model containing only the daily lag. The results show that the simplified model fails to pass the CW test for most sentiment dimensions (Table 20) and yields substantially smaller out-of-sample MSE reductions than its multi-scale counterpart. This suggests that single-day sentiment perturbations may act as noise and are not sufficient to alter the expectations of market participants. Only after sentiment accumulates over consecutive weeks or months does it reflect a substantive shift in investor beliefs and thereby acquire predictive power for volatility. This finding provides practical guidance for implementing volatility forecasting models: practitioners should employ weekly and monthly moving averages of sentiment as core inputs, rather than pursuing daily sentiment noise.
In summary, the predictive gains documented in this paper extend beyond the statistical domain. The time-scale effects of negative sentiment, the regime-dependent shifts in the dominance of different sentiment categories, and the multi-scale accumulation characteristics of sentiment information collectively indicate that the FinBERT2-based sentiment indicators are capable of capturing economically meaningful drivers of volatility in China’s gold futures market. These findings provide an empirical foundation for the development of regime-adaptive volatility early-warning systems and warrant further validation within risk management frameworks such as Value-at-Risk or expected shortfall in future research.
Although this study has made some progress in measuring investor sentiment, testing its predictive power, and examining its cross-period heterogeneity, several limitations remain that warrant further refinement and expansion in future research. First, in the NLP fine-tuning stage, we employed an 80/20 train/validation split without reserving a fully independent test set. The validation set was used both for early stopping and for reporting classification metrics. While this is a limitation from a strict NLP methodology perspective, two points merit attention: Our hyperparameters (learning rate, batch size, optimizer) were not tuned on this validation set, but rather adopted directly from the established literature (Vamossy & Skog, 2025). This reduces concerns about overfitting to the validation set. In time-series forecasting, an expanding-window approach with robustness checks was employed, using initial windows of 750, 800, and 1000 days. Across all three out-of-sample rolling windows, sentiment indices maintain significant predictive power. This provides supplementary downstream-task evidence of the classifier’s generalization ability. Second, the sentiment indicators used in this study are based on East Money. Although this platform has high user activity compared to other financial social media, a single data source may not fully reflect the overall sentiment of market participants. Future research could integrate text data from multiple social media platforms to construct more representative cross-platform investor sentiment indicators, while also examining the differentiated impacts of sentiment across different investor groups on market volatility. Third, this study employs Ekman’s six-category emotion model for manual annotation of posts. Although this framework has a broad academic foundation in the field of sentiment analysis, emotional expressions in financial texts are often more complex and domain-specific. Future research could develop a specialized sentiment classification system tailored to the financial sector or introduce continuous measurement methods for the sentiment-intensity dimension to capture sentiment information in financial texts with greater precision. Fourth, the classic HAR-RV linear model was used in this study as the baseline framework. Although this model has a simple structure and excellent predictive performance, it fails to capture the potential nonlinearity between sentiment and volatility. Future research could introduce threshold regression or Markov regime-switching models to capture nonlinear features. Additionally, further exploration of intelligent volatility forecasting methods based on text sentiment could be conducted by leveraging the advantages of deep learning models in time-series modeling and nonlinear feature extraction. Moreover, while this study has compared FinBERT2 with multiple benchmark models at the text classification level, incorporating richer alternative sentiment indicators at the volatility forecasting level remains a valuable direction for future research. Fifth, the sample period for this study spans from January 2021 to March 2026 and does not include earlier market phases. Future research could extend the sample period to test the stability of the findings across different market cycles. Additionally, the research framework could be expanded to other commodity futures (such as crude oil, silver, and copper) or the international gold market to examine the cross-market generalizability of this study’s findings.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/ijfs14080225/s1. The supplementary materials contain the data crawling code for the East Money website, the fine-tuning code for FinBERT2, and the publicly available datasets (sentiment, volatility, and trading day data) used in the final analysis.

Author Contributions

Conceptualization, H.C.; methodology, H.C.; software, H.C.; validation, Y.G.; formal analysis, H.C.; investigation, H.C.; resources, H.C.; data curation, H.C.; writing—original draft, H.C.; writing—review and editing, Y.G.; visualization, Y.G.; supervision, Y.G.; project administration, Y.G.; funding acquisition, Y.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The gold futures price and trading data used in this study were obtained from the Wind database, which is protected by commercial licensing agreements and cannot be publicly shared. The raw data are available for direct access upon obtaining a valid license to the Wind database; alternatively, inquiries regarding data access may be directed to the corresponding author. The investor post data used in this study were sourced from East Money. Due to the platform’s user agreement restrictions, the raw post texts (containing user-identifiable information) cannot be publicly shared. To protect user privacy, all posts were anonymized prior to analysis: personal identifiers such as usernames and user IDs were removed, with only the post body text and publication date retained for sentiment classification. Processed data (excluding raw user information) and the complete time series of sentiment indices are available from the corresponding author upon reasonable request. This study uses publicly accessible post data from the East Money platform for non-commercial academic research, and the data usage complies with the platform’s public data access policies. All data are contained within the article or Supplementary Materials. The original contributions presented in this study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1

Based on a systematic inspection of the corpus of posts collected from East Money, we identified several common types of textual noise and compiled corresponding regular expression cleaning rules.
Table A1. Regular expression cleaning rules for text noise.
Table A2. Examples of text cleaning results.

Appendix A.2

Definition of Manual Annotation Categories for Investor Sentiment. This coding scheme is based on Ekman’s (1992) theory of basic emotions and draws on the EmTract annotation framework developed by Power and Dalgleish (2016) and Vamossy and Skog (2025), while incorporating the linguistic characteristics of investor discussion threads on the China Gold Futures Market on East Money. During annotation, each post was assigned only one most appropriate sentiment label (single-label classification).
Annotation Guidelines: First, if a post contains multiple emotions, the annotator should classify it with a single label based on the dominant emotion (the one with the highest weight and most strongly expressed). Second, for posts containing emojis, the overall context of the text must be considered, with priority given to the emotional signals conveyed by the emojis. Third, annotation should primarily be based on the text’s emotional words, tone, and contextual intent, while also referring to the approach used for similar short texts in the EmTract literature.
Table A3. Definitions of manually annotated investor sentiment categories.

Appendix A.3

All experiments and analyses were conducted using Python 3.12.10 within the PyCharm 2024.3.1.1 integrated development environment. The raw social media data were stored and managed using MongoDB 8.2.5.0. For deep learning-based sentiment classification, we employed PyTorch 2.0.0 with CUDA 12.9, running on an NVIDIA RTX 5060 GPU. The core sentiment analysis model was the FinBERT2-base model (valuesimplex-ai-lab/FinBERT2-base) obtained from the Hugging Face model hub. The model was fine-tuned using the Transformers 4.40.0 library. Key Python libraries used for data processing, statistical analysis, and model evaluation included scikit-learn (version 1.3.0), pandas (version 2.2.2), numpy (version 1.24.0), and datasets (version 2.20.0). To ensure full reproducibility, we set the random seed to 42 for all experiments involving stochastic processes. All code and processed data are available from the corresponding author upon reasonable request.

Appendix A.4

Table A4. Class distribution of training and validation sets.
Table A5. Confusion matrix of FinBERT2.
Table A6. Class-wise precision, recall, F1, and support of FinBERT2.

References

  1. Alaparthi, S., & Mishra, M. (2021). BERT: A sentiment analysis odyssey. Journal of Marketing Analytics, 9, 118–126. [Google Scholar] [CrossRef] [Scilit]
  2. Andersen, T. G., & Bollerslev, T. (1998). Towards a unified framework for high and low frequency return volatility modeling. Statistica Neerlandica, 52, 273–302. [Google Scholar] [CrossRef] [Scilit]
  3. Baker, M., & Wurgler, J. (2006). Investor sentiment and the cross-section of stock returns. Journal of Finance, 61, 1645–1680. [Google Scholar] [CrossRef] [Scilit]
  4. Baur, D. G. (2011). Explanatory mining for gold: Contrasting evidence from simple and multiple regressions. Resources Policy, 36, 265–275. [Google Scholar] [CrossRef] [Scilit]
  5. Baur, D. G., & McDermott, T. K. (2010). Is gold a safe haven? International evidence. Journal of Banking & Finance, 34, 1886–1898. [Google Scholar] [CrossRef] [Scilit]
  6. Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31, 307–327. [Google Scholar] [CrossRef] [Scilit]
  7. Bonato, M., Gkillas, K., Gupta, R., & Pierdzioch, C. (2021). A note on investor happiness and the predictability of realized volatility of gold. Finance Research Letters, 39, 101614. [Google Scholar] [CrossRef] [Scilit]
  8. Bouri, E., Demirer, R., Gabauer, D., & Gupta, R. (2022). Financial market connectedness: The role of investors’ happiness. Finance Research Letters, 44, 102075. [Google Scholar] [CrossRef] [Scilit]
  9. Bouteska, A., Mefteh-Wali, S., & Dang, T. (2022). Predictive power of investor sentiment for bitcoin returns: Evidence from COVID-19 pandemic. Technological Forecasting and Social Change, 184, 121999. [Google Scholar] [CrossRef] [Scilit]
  10. Brown, G. W., & Cliff, M. T. (2005). Investor sentiment and asset valuation. The Journal of Business, 78, 405–440. [Google Scholar] [CrossRef] [Scilit]
  11. Burdekin, R. C. K., & Tao, R. (2021). The golden hedge: From global financial crisis to global pandemic. Economic Modelling, 95, 170–180. [Google Scholar] [CrossRef] [Scilit]
  12. Caldara, D., & Iacoviello, M. (2022). Measuring geopolitical risk. American Economic Review, 112(4), 1194–1225. [Google Scholar] [CrossRef] [Scilit]
  13. Cao, Z., Shen, J. C., Wei, X. B., & Zhang, Q. Z. (2023). Anger in predicting the index futures returns. Journal of Futures Markets, 43(4), 437–454. [Google Scholar] [CrossRef] [Scilit]
  14. Cevik, E., Kirci, A. B., Cevik, E. I., & Dibooglu, S. (2022). Investor sentiments and stock markets during the COVID-19 pandemic. Financial Innovation, 8(1), 69. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Chang, K., Yang, M. F., Zhou, S. Q., & Wei, G. X. (2024). The impacts of online public opinions on stock price synchronicity in China: Evidence from stock forums. Expert Systems with Applications, 255(B), 124520. [Google Scholar] [CrossRef] [Scilit]
  16. Chatziantoniou, I., Degiannakis, S., & Filis, G. (2019). Futures-based forecasts: How useful are they for oil price volatility forecasting? Energy Economics, 81, 639–649. [Google Scholar] [CrossRef] [Scilit]
  17. Chen, J. J., Wang, X. B., Huang, C., Hu, X., Shen, X. K., & Zhang, D. (2023). A large finer-grained affective computing EEG dataset. Scientific Data, 10(1), 740. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Chen, R. D., Bao, W. W., & Jin, C. L. (2021). Investor sentiment and predictability for volatility on energy futures markets: Evidence from China. International Review of Economics & Finance, 75, 112–129. [Google Scholar] [CrossRef] [Scilit]
  19. Clark, T. E., & West, K. D. (2007). Approximately normal tests for equal predictive accuracy in nested models. Journal of Econometrics, 138(1), 291–311. [Google Scholar] [CrossRef] [Scilit]
  20. Corsi, F. (2009). A simple approximate long-memory model of realized volatility. Journal of Financial Economics, 7(2), 174–196. [Google Scholar] [CrossRef] [Scilit]
  21. Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20, 273–297. [Google Scholar] [CrossRef] [Scilit]
  22. Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019, June 2–7). BERT: Pre-training of deep bidirectional transformers for language understanding. 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA. [Google Scholar] [CrossRef] [Scilit]
  23. Ekman, P. (1992). An argument for basic emotions. Cognition and Emotion, 6(3–4), 169–200. [Google Scholar] [CrossRef] [Scilit]
  24. Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50(4), 987–1007. [Google Scholar] [CrossRef] [Scilit]
  25. Fasanya, I. O., Oyewole, O. J., & Oliyide, J. A. (2022). Investors’ sentiments and the dynamic connectedness between cryptocurrency and precious metals markets. The Quarterly Review of Economics and Finance, 86, 347–364. [Google Scholar] [CrossRef] [Scilit]
  26. Fu, J. H., Wu, X., Liu, Y. F., & Chen, R. D. (2021). Firm-specific investor sentiment and stock price crash risk. Finance Research Letters, 38, 101442. [Google Scholar] [CrossRef] [Scilit]
  27. Fu, T., Huang, D. S., Feng, L. B., & Tang, X. P. (2024). More is better? The impact of predictor choice on the INE oil futures volatility forecasting. Energy Economics, 134, 107540. [Google Scholar] [CrossRef] [Scilit]
  28. García, D., Hu, X., & Rohrer, M. (2023). The colour of finance words. Journal of Financial Economics, 147(3), 525–549. [Google Scholar] [CrossRef] [Scilit]
  29. Glosten, L. R., Jagannathan, R., & Runkle, D. E. (1993). On the relation between the expected value and the volatility of the nominal excess return on stocks. Journal of Finance, 48(5), 1779–1801. [Google Scholar] [CrossRef]
  30. Gong, X., Zhang, W. G., Wang, J. B., & Wang, C. (2022). Investor sentiment and stock volatility: New evidence. International Review of Financial Analysis, 80, 102028. [Google Scholar] [CrossRef] [Scilit]
  31. Hansen, P. R., Lunde, A., & Nason, J. M. (2011). The model confidence set. Econometrica, 79(2), 453–497. [Google Scholar] [CrossRef] [Scilit]
  32. Hillert, A., Jacobs, H., & Müller, S. (2014). Media makes momentum. The Review of Financial Studies, 27(12), 3467–3501. [Google Scholar] [CrossRef] [Scilit]
  33. Ho, C., & Hung, C. H. (2009). Investor sentiment as conditioning information in asset pricing. Journal of Banking & Finance, 33(5), 892–903. [Google Scholar] [CrossRef] [Scilit]
  34. Hou, A. J., & Suardi, S. (2012). A nonparametric GARCH model of crude oil price return volatility. Energy Economics, 34(2), 618–626. [Google Scholar] [CrossRef] [Scilit]
  35. Huang, A. H., Wang, H., & Yang, Y. (2023). FinBERT: A large language model for extracting information from financial text. Contemporary Accounting Research, 40(2), 806–841. [Google Scholar] [CrossRef] [Scilit]
  36. Jawadi, F., Bourghelle, D., Rozin, P., Cheffou, A. I., & Uddin, G. S. (2024). Sentiment and energy price volatility: A nonlinear high frequency analysis. Energy Economics, 133, 107465. [Google Scholar] [CrossRef] [Scilit]
  37. Jiang, Z., Lu, Y. G., & Zhang, L. (2025). Integrating sentiment information for risk prediction: The case of crude oil futures market in China. Empirical Economics, 68(4), 1677–1718. [Google Scholar] [CrossRef] [Scilit]
  38. Kim, D. J., Noh, E., & Choi, S. Y. (2026). A hybrid transformer framework integrating sentiment and dynamic market structure for stock price movement forecasting. AIMS Mathematics, 11(1), 977–1020. [Google Scholar] [CrossRef] [Scilit]
  39. Kim, J., Kim, H. S., & Choi, S. Y. (2023). Forecasting the S&P 500 index using mathematical-based sentiment analysis and deep learning models: A FinBERT Ltransformer model and STM. Axioms, 12(9), 835. [Google Scholar] [CrossRef] [Scilit]
  40. Köseoglu, S. D., Mercangöz, B. A., Khan, K., & Sarwar, S. (2024). The impact of the Russian-Ukraine war on the stock market: A causal analysis. Applied Economics, 56(21), 2509–2519. [Google Scholar] [CrossRef] [Scilit]
  41. Kyriazis, N., Papadamou, S., Tzeremes, P., & Corbet, S. (2023). The differential influence of social media sentiment on cryptocurrency returns and volatility during COVID-19. Quarterly Review of Economics and Finance, 89, 307–317. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. Lai, Y. N., Zhang, L. F., Han, D. H., Zhou, R., & Wang, G. R. (2020). Fine-grained emotion classification of Chinese microblogs based on graph convolution networks. World Wide Web-Internet and Web Information Systems, 23(5), 2771–2787. [Google Scholar] [CrossRef] [Scilit]
  43. Li, S., & Liu, Y. (2026). A new perspective on gold as a risk hedge: Long-term impacts of bilateral political tensions between the US and China. International Review of Economics & Finance, 106, 104918. [Google Scholar] [CrossRef] [Scilit]
  44. Liu, L. Y., Patton, A. J., & Sheppard, K. (2015). Does anything beat 5-minute RV? A comparison of realized measures across multiple asset classes. Journal of Econometrics, 187(1), 293–311. [Google Scholar] [CrossRef] [Scilit]
  45. Liu, Q., & Son, H. (2025). Text sentiment mining used for constructing investor sentiment in social media: Survey and recommendations. SAGE Open, 15(1), 21582440251328535. [Google Scholar] [CrossRef] [Scilit]
  46. Liu, Y. Y., Niu, Z. B., Suleman, M. T., Yin, L. B., & Zhang, H. W. (2022). Forecasting the volatility of crude oil futures: The role of oil investor attention and its regime switching characteristics under a high-frequency framework. Energy, 238(A), 121779. [Google Scholar] [CrossRef] [Scilit]
  47. Loughran, T., & McDonald, B. (2011). When is a liability not a liability? Textual analysis, dictionaries, and 10-Ks. Journal of Finance, 66(1), 35–65. [Google Scholar] [CrossRef] [Scilit]
  48. Luo, J. W., Demirer, R., Gupta, R., & Ji, Q. (2022). Forecasting oil and gold volatilities with sentiment indicators under structural breaks. Energy Economics, 105, 105751. [Google Scholar] [CrossRef] [Scilit]
  49. Luo, X. G., Qin, S. H., & Ye, Z. N. (2016). The information content of implied volatility and jumps in forecasting volatility: Evidence from the Shanghai gold futures market. Finance Research Letters, 19, 105–111. [Google Scholar] [CrossRef] [Scilit]
  50. Ma, F., Wahab, M. I. M., Liu, J., & Liu, L. (2018). Is economic policy uncertainty important to forecast the realized volatility of crude oil futures? Applied Economics, 50(18), 2087–2101. [Google Scholar] [CrossRef] [Scilit]
  51. Ma, Y. Y., Zhang, T. J., & Zhang, P. P. (2025). The construction of a Chinese fine-grained sentiment dictionary for Chinese domestic investors (CN-FSD) and its application. Expert Systems with Applications, 264, 125739. [Google Scholar] [CrossRef] [Scilit]
  52. Murphy, K. P. (2012). Machine learning: A probabilistic perspective. MIT Press. [Google Scholar]
  53. Nasiopoulos, D. K., Roumeliotis, K. I., Sakas, D. P., Toudas, K., & Reklitis, P. (2025). Financial sentiment analysis and classification: A comparative study of fine-tuned deep learning models. International Journal of Financial Studies, 13(25), 75. [Google Scholar] [CrossRef] [Scilit]
  54. Nelson, D. B. (1991). Conditional heteroskedasticity in asset returns: A new approach. Econometrica, 59(2), 347–370. [Google Scholar] [CrossRef] [Scilit]
  55. Niu, Z. B., Demirer, R., Suleman, M. T., & Zhang, H. W. (2024). Speculation, cross-market sentiment and the predictability of gold market volatility. Journal of Behavioral Finance, 25(3), 278–295. [Google Scholar] [CrossRef] [Scilit]
  56. Pinto, J., & Siano, F. (2025). Beyond words: The challenge of measuring financial text across borders. Journal of International Business Studies, 56(7), 921–936. [Google Scholar] [CrossRef] [Scilit]
  57. Power, M., & Dalgleish, T. (2016). Cognition and emotion: From order to disorder (3rd ed.). Psychology Press. [Google Scholar]
  58. Qu, H., & Li, G. (2023). Multi-perspective investor attention and oil futures volatility forecasting. Energy Economics, 119, 106531. [Google Scholar] [CrossRef] [Scilit]
  59. Ren, L., Sun, Y. Y., Xiong, D. P., & Wei, Y. (2025). Evaluating the impact of private and public sentiments on the linkage between gold and stock markets: Evidence from China. Evaluation Review, 49(4), 739–772. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  60. Shahzad, U., Si Mohammed, K., Tiwari, S., Nakonieczny, J., & Nesterowicz, R. (2023). Connectedness between geopolitical risk, financial instability indices and precious metals markets: Novel findings from Russia Ukraine conflict perspective. Resources Policy, 80, 103190. [Google Scholar] [CrossRef] [Scilit]
  61. Shapiro, A. H., Sudhof, M., & Wilson, D. J. (2022). Measuring news sentiment. Journal of Econometrics, 228(2), 221–243. [Google Scholar] [CrossRef] [Scilit]
  62. Shen, J., Griffith, J., Najand, M., & Sun, L. (2023). Predicting stock and bond market returns with emotions: Evidence from futures markets. Journal of Behavioral Finance, 24(3), 333–344. [Google Scholar] [CrossRef] [Scilit]
  63. Shenjere, P. A., Ferreira-Schenk, S., & Moodley, F. (2025). Does investor sentiment influence South African ETF flows during different market conditions? Economies, 13(1), 10. [Google Scholar] [CrossRef] [Scilit]
  64. Sobti, N. (2025). What triggers intraday price jumps and co-jumps in gold? International Review of Financial Analysis, 105, 104380. [Google Scholar] [CrossRef] [Scilit]
  65. Song, Y. P., Huang, J. F., Zhang, Q. C., & Xu, Y. (2024). Heterogeneity effect of positive and negative jumps on the realized volatility: Evidence from China. Economic Modelling, 136, 106745. [Google Scholar] [CrossRef] [Scilit]
  66. Tetlock, P. C. (2007). Giving content to investor sentiment: The role of media in the stock market. Journal of Finance, 62(3), 1139–1168. [Google Scholar] [CrossRef] [Scilit]
  67. Vamossy, D. F., & Skog, R. P. (2025). EmTract: Extracting emotions from social media. International Review of Financial Analysis, 97, 103769. [Google Scholar] [CrossRef] [Scilit]
  68. Voigt, F., Calero, J. A., Dahal, K., Wang, Q., Von Luck, K., & Stelldinger, P. (2024, August 26–28). Towards machine learning based text categorization in the financial domain. 2024 IEEE 3rd Conference on Information Technology and Data Science (CITDS), Debrecen, Hungary. [Google Scholar] [CrossRef] [Scilit]
  69. Wang, J. Q., Ma, F., Wahab, M. I. M., & Huang, D. S. (2021). Forecasting China’s crude oil futures volatility: The role of the jump, jumps intensity, and leverage effect. Journal of Forecasting, 40(5), 921–941. [Google Scholar] [CrossRef] [Scilit]
  70. Wang, W. Z., Su, C., & Duxbury, D. (2022). The conditional impact of investor sentiment in global stock markets: A two-channel examination. Journal of Banking & Finance, 138, 106458. [Google Scholar] [CrossRef] [Scilit]
  71. Wang, Z. X., Hu, Z. D., Ho, S. B., Cambria, E., & Tan, A. H. (2023). MiMuSA—Mimicking human language understanding for fine-grained multi-class sentiment analysis. Neural Computing & Applications, 35(21), 15907–15921. [Google Scholar] [CrossRef] [Scilit]
  72. Xu, X., Wen, F. F., Chu, B. L., Fu, Z. B., Lin, Q. H., Liu, J. Q., Fei, B. J., Li, Y., Zhou, L. N., & Yang, Z. L. (2025, August 3–7). FinBERT2: A specialized bidirectional encoder for bridging the gap in finance-specific deployment of large language models. 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’25), Toronto, ON, Canada. [Google Scholar] [CrossRef] [Scilit]
  73. Xu, Z. W., Gan, S. Q., Hua, X., & Xiong, Y. J. (2024). Can the sentiment of the official media predict the return volatility of the Chinese crude oil futures? Energy Economics, 140, 107967. [Google Scholar] [CrossRef] [Scilit]
  74. Zhang, H., Li, Z. X., Xie, H. R., Lau, R. Y. K., Cheng, G., Li, Q., & Zhang, D. A. (2022). Leveraging statistical information in fine-grained financial sentiment analysis. World Wide Web-Internet and Web Information Systems, 25(2), 513–531. [Google Scholar] [CrossRef]
  75. Zhu, X. H., Niu, Z. B., Zhang, H. W., Huang, J. X., & Zuo, X. G. (2022). Can gold and bitcoin hedge against the COVID-19 related news sentiment risk? new evidence from a NARDL approach. Resources Policy, 79, 103098. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.