Skip to Content
EntropyEntropy
  • Article
  • Open Access

10 April 2026

34 Pages

Stock Forecasting Based on Informational Complexity Representation: A Framework of Wavelet Entropy, Multiscale Entropy, and Dual-Branch Network

,
and
1
School of Economics and Management, Sias University, Xinzheng 451150, China
2
School of Artificial Intelligence, Jiangxi Normal University, Nanchang 330022, China
3
School of Remote Sensing and Information Engineering, Wuhan University, Wuhan 430072, China
*
Authors to whom correspondence should be addressed.
This article belongs to the Section Complexity

Abstract

Stock price sequences are characterized by pronounced nonlinearity, non-stationarity, and multi-scale volatility. They are further influenced by complex, multi-source factors, such as macroeconomic conditions and market behavior, making high-precision forecasting highly challenging. Existing approaches are limited by noise and multi-dimensional market features, as well as difficulties in balancing prediction accuracy with model complexity. To address these challenges, we propose Wavelet Entropy and Cross-Attention Network (WECA-Net), which combines wavelet decomposition with a multimodal cross-attention mechanism. From an information-theoretic perspective, stock price dynamics reflect the time-varying uncertainty and informational complexity of the market. We employ wavelet entropy to quantify the dispersion and uncertainty of energy distribution across frequency bands, and multiscale entropy to measure the scale-dependent complexity and regularity of the time series. These entropy-derived descriptors provide an interpretable prior of “information content” for cross-modal attention fusion, thereby improving robustness and generalization under non-stationary market conditions. Experiments on Chinese stock indices, A-Share, and CSI 300 component stock datasets demonstrate that WECA-Net consistently outperforms mainstream models in Mean Absolute Error (MAE) and R2 across all datasets. Notably, on the CSI 300 dataset, WECA-Net achieves an R2 of 0.9895, underscoring its strong predictive accuracy and practical applicability. This framework is also well aligned with sensor data fusion and intelligent perception paradigms, offering a robust solution for financial signal processing and real-time market state awareness.

1. Introduction

As a cornerstone of contemporary financial systems, stock market price fluctuations not only reflect the prevailing macroeconomic environment but also profoundly influence investment decisions and wealth distribution [1]. Recent studies [2] highlight that global equity markets witness exceptionally high daily trading volumes, where even a marginal reduction of 1% in predictive error could translate into savings of tens of billions of dollars for institutional investors. Notwithstanding the growing significance of accurate forecasting, the inherent complexity of stock prices, stemming from their sensitivity to a multitude of factors such as macroeconomic indicators, corporate fundamentals, and investor sentiment, renders their prediction particularly challenging. These time series exhibit pronounced nonlinearity, non-stationarity, substantial noise, and multiscale patterns [1,3]. The multifaceted and dynamic nature of stock price movements positions their forecasting as one of the most formidable tasks in quantitative finance. Achieving reliable predictions is of practical importance: it aids investors in risk mitigation, assists corporations in refining financial strategies, and supports regulators in safeguarding market stability. Consequently, the advancement of robust predictive models for stock prices has become a focal point in the domains of financial engineering and artificial intelligence.
Stock price forecasting methods are primarily categorized into traditional stock price forecasting, deep learning-based stock price forecasting, and attention mechanism-based stock price forecasting [4,5,6]. Traditional stock price forecasting methods encompass both statistical approaches and conventional machine learning techniques. (1) Traditional statistical forecasting approaches are primarily grounded in time-series theory. By examining properties such as stationarity and autocorrelation in historical price data, classical models such as Autoregressive Integrated Moving Average (ARIMA) and Generalized Autoregressive Conditional Heteroskedasticity (GARCH) have been widely developed and applied [7,8,9]. For instance, Minhaj et al. [10] employed an ARIMA model combined with Johnson & Johnson stock price and S&P 500 index data to construct a forecasting model. Zamzami et al. [11] utilized a symmetric GARCH model to assess IBM stock trading volatility. (2) Traditional machine learning approaches employ nonparametric methods to handle high-dimensional data, primarily including Support Vector Machines (SVMs), Random Forests (RFs), and Artificial Neural Networks (ANNs) [12,13,14]. For instance, Karthick Myilvahanan and Mohana Sundaram [12] proposed an SVM model combined with Long Short-Term Memory (LSTM) and a Convolutional Neural Network (CNN), optimized using the Aquila heuristic optimization algorithm. This approach enabled effective stock market forecasting by processing stock data characterized by high levels of noise, chaotic features, and non-stationarity. Talazadeh and Perakovic [13] enhanced predictive performance by constructing models that combined RF with technical indicators and sentiment analysis. Kan et al. [14] employed an ANN-based stock price forecasting method, leveraging its nonlinear mapping capabilities to process stock data. Although these models can handle nonlinear data, they typically rely heavily on manual feature engineering, and their feature extraction and generalization capabilities remain limited when processing high-dimensional, non-stationary time series data [15,16].
To overcome the limitations of traditional stock price forecasting methods, deep learning techniques have seen growing application in this field. These models can autonomously learn hierarchical and abstract features from raw data, reducing reliance on manual feature engineering and demonstrating robust performance in capturing complex and diverse financial information [17]. Deep learning models such as Recurrent Neural Networks (RNNs), LSTM, and Gated Recurrent Unit (GRU) networks have garnered significant attention due to their ability to effectively capture complex temporal dependencies in time series data [18,19,20]. For instance, Theagarajan et al. [21] employed LSTM, GRU, and RNN models to forecast Indian stock indices. The results demonstrated that these deep learning models can effectively capture intricate market relationships and significantly outperform traditional statistical models, particularly in identifying nonlinear patterns. Xie et al. [22] developed a hybrid forecasting framework that integrates Variational Mode Decomposition (VMD) with Bidirectional Long Short-Term Memory (BiLSTM) to better model the inherent complexity and nonlinearity present in stock market dynamics.
Although deep learning methods are effective at feature extraction and enhancing prediction accuracy, they generally emphasize local patterns and often fail to comprehensively model the long-range global dependencies present in stock markets. To address this limitation, attention-driven approaches have been incorporated into stock price prediction, enabling improved modeling of extended dependencies and complex spatiotemporal structures [23]. For instance, Zena and Al-Sultan [23] proposed an efficient attention-based algorithm for handling noisy and dynamically volatile stock time series data. Singh and Jha [24] combined attention mechanisms with a wavelet denoising LSTM model, employing additive attention to dynamically focus on critical time steps. This approach significantly improved performance in predicting the NIFTY 50 index. Chen et al. [25] developed a stock prediction model integrating variational modal decomposition and multi-scale attention mechanisms to forecast China’s stock market.
Although the aforementioned methods have achieved some success in stock price forecasting, they still exhibit the following limitations:
(1)
Most existing approaches fail to perform effective data preprocessing. Stock price data typically exhibits high dimensionality, significant noise, and substantial variability. Existing methods often neglect thorough data cleaning, transformation, and denoising, resulting in models learning features with excessive noise, which compromises prediction accuracy.
(2)
Existing approaches predominantly rely on traditional convolutional operations for feature extraction, limiting their ability to capture multi-scale, multi-dimensional market characteristics. Furthermore, these methods often focus solely on price time-series information, while neglecting cross-dimensional correlations between market factors (such as trading behavior, news events, and macroeconomic indicators) and stock prices. This results in incomplete feature extraction and constrained prediction accuracy.
(3)
A trade-off exists between prediction accuracy and model complexity in stock forecasting. Achieving high accuracy typically requires complex structural designs, while lightweight models often struggle to deliver satisfactory performance. Existing approaches struggle to strike a balance between prediction precision and computational complexity. This fundamentally stems from the absence of unified, systematic principles in model architecture design, hindering the synergistic optimization of efficient feature representation and computational efficiency.
Stock markets are inherently complex systems characterized by high uncertainty and information asymmetry. Entropy, as a fundamental measure of uncertainty and information content in time series, provides a powerful framework for analyzing the irregularity and complexity of stock price movements. Therefore, this study develops a stock price forecasting model featuring a dual-branch architecture that integrates wavelet decomposition and multimodal attention mechanisms. The main contributions of this work are as follows:
(1)
We propose an Informational Complexity Representation framework to characterize the intrinsic complexity of financial time series. This framework integrates wavelet entropy and multiscale entropy as quantitative measures of market information complexity. The wavelet transform is used for multiscale time-frequency representation, and multimodal cross-attention is employed for cross-modal feature fusion. By incorporating entropy-based complexity descriptors, the proposed framework enables the model to better capture the nonlinear dynamics of financial markets and enhance prediction performance.
(2)
We design an advanced preprocessing scheme for stock price time series by combining the Yeo–Johnson transformation with a padding-based Fourier transform denoising (P-FTD) method. This approach standardizes data distribution and suppresses noise in raw price records.
(3)
We design a multimodal cross-attention mechanism to model the interactions between stock-specific features and macro-market factors. By enabling adaptive fusion of heterogeneous information sources, this mechanism effectively captures the dynamic dependencies between stock prices and macro-market variables. This approach overcomes the limitation of existing models that rely solely on single-stock time-series information. Moreover, the proposed model achieves a balance between prediction accuracy and computational efficiency.

3. Method

3.1. Model Overview

This section details the proposed WECA-Net (Wavelet Entropy and Cross-Attention Network) model, as illustrated in Figure 1. The model adopts a dual-branch architecture. The upper branch processes stock price sequences by converting one-dimensional data into two-dimensional spatiotemporal maps via wavelet transforms, then extracts multi-scale spatiotemporal features using multi-level convolutional modules. The lower branch processes macroeconomic market factors, extracting multi-scale dynamic features through an enhanced Inception module. Features from both branches are fused through a cross-attention mechanism, where market factor features serve as queries that guide the model to focus on price features most relevant to the current market state. Additionally, the model explicitly computes wavelet entropy and multiscale entropy as quantitative representations of information complexity, which are concatenated with the extracted features before being input to the fusion module. This integrated design aims to simultaneously capture multiscale volatility patterns within prices and the influence of external market conditions, thereby enhancing prediction accuracy and robustness.
Figure 1. Overall Model Architecture Diagram.

3.2. Data Preprocessing

Since stock market data contains noisy or anomalous values that may impact subsequent learning, comprehensive data preprocessing is required before feeding raw stock data into deep learning models. This process primarily involves the following two steps.

3.2.1. Yeo–Johnson Transformation

Stock price time series typically exhibit significant heteroscedasticity and non-normal distribution characteristics, which severely impact the stability of subsequent deep learning model training and prediction accuracy [52]. To address this issue, we first apply the Yeo–Johnson transformation to the raw stock price sequence ( P = p 1 , p 2 , … , p T ). This transformation is a power transformation technique whose main advantage lies in stabilizing the variance of the sequence and making the data distribution more closely approximate normality. The resulting transformed features are more regular, which not only facilitates optimization for deep learning models but also enhances robustness to outliers, thereby laying a solid foundation for subsequent accurate predictions. For each data point p t , the transformation function is defined as:
To address this issue, we first apply the Yeo–Johnson transformation to the raw stock price sequence P = p 1 , p 2 , … , p T . This transformation is a power transformation method whose core advantage lies in stabilizing the variance of the sequence and making the data distribution closer to normal. The transformed data features become more regular, not only facilitating optimization by deep learning models but also enhancing robustness against outliers, thereby laying a solid foundation for subsequent accurate predictions. For each data point p t , the transformation function is defined as:
ψ λ p t = 1 + p t λ − 1 λ                                               if   λ ≠ 0   and   p t ≥ 0 ln p t + 1                                                           if   λ = 0   and   p t ≥ 0 − { − p t + 1 2 − λ − 1 } 2 − λ                     if   λ ≠ 2   and   p t < 0 − ln − p t + 1                                             if   λ = 2   and   p t < 0
where p t denotes the original price sequence data point, λ represents the optimal transformation parameter determined via maximum likelihood estimation, ψ λ p t is the transformed data point, and the transformed sequence is denoted as X = x 1 , x 2 , … , x T . This transformation simultaneously handles positive and negative values and improves the distributional properties of the stock price sequence. It optimizes transformation effectiveness through a data-driven approach, thereby significantly enhancing the quality of input data and the overall adaptability of the model.

3.2.2. P-FTD Denoising

After stabilizing the variance via the Yeo–Johnson transformation, we further introduce the P-FTD model to eliminate residual noise [53]. P-FTD is an advanced signal denoising technique whose core principle is to distinguish and remove noise components using adaptive threshold filtering in the frequency domain. The core process of this model is described in Algorithm 1 as follows:
Algorithm 1. P-FTD Denoising Algorithm
Input:
Transformed sequence X = x 1 , x 2 , ⋯   , x T
Padding length p = 10
Padding distribution hyperparameter α = 0.5
Output:
Denoised sequence X ~ = x ~ 1 , x ~ 2 , … , x ~ T
1. Compute the standard deviation σ of the sequence X .
2. Generate the starting padding sequence: ε i ~ N 0 , α σ 2 , i = 1 , ⋯ , p
3. Generate the ending padding sequence: ε P + i ~ N 0 , α σ 2 , i = 1 , ⋯ , p
4. Construct the padded sequence: X p a d = ε 1 , ⋯ , ε p , x 1 , ⋯ , x T , ε P + 1 , ⋯ , ε 2 P
5. Perform Fast Fourier Transform:   F f f t = F F T X p a d
6. Compute the frequency domain threshold: τ f = P 90 F k //where P 90 denotes the 90th percentile of the magnitudes of the frequency components.
7. For each frequency component F k , apply filtering:
        If F k < τ f , set F k = 0
        Otherwise, keep F k unchanged.
8. Perform inverse Fourier transform: X f i l t e r e d = I F F T F f f t
9. Remove the padding data from both ends to obtain the denoised sequence X ~ .
P-FTD employs a data-driven dynamic thresholding strategy that effectively eliminates high-frequency noise while preserving valid signal components representing genuine market fluctuations, maximizing the retention of low-frequency valid signals reflecting authentic market volatility [53]. Following P-FTD processing, we obtain a smoother and cleaner stock price sequence dataset X ~ = x ~ 1 , x ~ 2 , … , x ~ T , providing high-quality input for subsequent time-frequency analysis modules.
To assess the effect of preprocessing on stationarity, we performed Augmented Dickey–Fuller (ADF) unit root tests on both the raw price series and the preprocessed series. The results (see Table 1) show that the raw series is non-stationary at the 5% level, while the series after Yeo–Johnson transformation and P-FTD denoising becomes stationary at the 1% level. This ensures that subsequent prediction modeling avoids spurious regression due to unit roots.
Table 1. Representative ADF test results for selected financial instruments, *** denotes rejection of the unit root null hypothesis at the 1% significance level. Critical values for the ADF test: 1% = −3.434, 5% = −2.863, 10% = −2.567.
We conducted ADF unit root tests on all financial instruments used in this study. For illustration purposes, Table 1 reports the results for a representative subset (3 indices, 3 A-shares, 3 CSI 300 constituents). The lag length was automatically selected based on the Akaike Information Criterion (AIC), with a maximum lag set to floor 12 × ( T / 100 ) 1 / 4 , where T = 1457 . Significance levels are reported at 1%, 5%, and 10%. For the raw price series, all p-values exceed 0.05, indicating that the null hypothesis of a unit root cannot be rejected. This confirms that the raw price series are non-stationary, consistent with the typical random walk behavior of financial time series. After the Yeo–Johnson transformation and P-FTD denoising, all p-values are below 0.01, allowing rejection of the unit root at the 1% level. This demonstrates that the preprocessed series becomes stationary, providing a valid statistical foundation for level prediction and mitigating concerns about spurious regression.
It is crucial to emphasize that all P-FTD parameters (padding length, scaling factor, and frequency-domain threshold) are estimated solely from the training set. During validation and testing, for each time step to be predicted, we apply denoising only to the historical sequence available up to that point (i.e., all data prior to that time). The last window is then extracted from the denoised sequence as input. This sequential procedure guarantees that no future information is ever used, eliminating look-ahead bias entirely. Consequently, the test data are not processed by a “global” filter in a single pass, but are denoised in a rolling real-time manner, ensuring statistical validity.

3.3. Stock Price Data Segmentation

To transform continuous financial time series into supervised learning samples suitable for deep learning models, this study employs a sliding window segmentation method to structure the preprocessed price sequence X ~ [54]. The core objective of this approach is to establish explicit mappings between historical price patterns and future trends, thus providing the model with training samples that capture temporal dependencies. The detailed processing workflow is illustrated in Figure 2.
Figure 2. Dividing Stock Price Data Using a Sliding Window.
Based on the temporal characteristics of time series, three key parameters are first defined. The window length L determines the historical observation period, the forecast step F specifies the future prediction horizon, and the sliding step ∆ controls the sampling density. In this study, the forecasting task is defined as one-step forecasting, and the forecasting step size is set to F = 1 . The segmentation process begins at the sequence start point, sequentially extracting price data from consecutive L time points to form the input feature sequence:
S i = x ~ t , x ~ t + 1 , … , x ~ t + L − 1
The prediction target is defined as the price value at the first time point after the window closes:
Y i = x ~ t + L
For a denoised sequence of length T , sliding with step ∆ yields
N = T − L Δ + 1
sample pairs S i , Y i , i = 1 , 2 , ⋯ , N , where each S i is a historical stock price sub-sequence of length L , and Y I is its corresponding future price target. This standardized data processing approach provides a normalized input format for subsequent wavelet transform feature extraction. It ensures a smooth transition from one-dimensional time-series data to two-dimensional time-frequency images and establishes a high-quality training foundation for deep learning models.

3.4. Wavelet Transform and Grayscale Conversion

To quantify the complexity of market information, this paper introduces two entropy-based measures: wavelet entropy and multiscale entropy. Wavelet entropy captures the uncertainty in the distribution of energy across different frequency components of stock price sequences. When energy is concentrated in a limited number of frequencies, the entropy value is low, indicating strong periodicity or regularity. Conversely, if energy is spread across a wide range of frequencies, the entropy value is high, reflecting greater complexity and unpredictability. Multiscale entropy, on the other hand, assesses complexity by examining the self-similarity and regularity of a sequence across multiple time scales. The variation in entropy values with scale reveals whether the sequence exhibits long-range correlations or tends toward randomness. Integrating these entropy features into predictive models enhances their ability to perceive dynamic market shifts, thereby improving prediction robustness.
For the subsequence samples obtained via sliding window segmentation, this study employs multi-scale wavelet decomposition combined with grayscale conversion to transform one-dimensional time series into two-dimensional time–frequency image representations. This approach enhances the model’s capacity to capture multi-scale dynamic patterns inherent in financial time series [2]. The transformation not only reveals localized fluctuations of price sequences across different frequency scales but also provides a structured input format conducive to subsequent convolutional feature extraction. The overall procedure is formalized in Algorithm 2, and an illustrative example of the resulting data representation is shown in Figure 3. It is worth noting that Algorithm 2 and Figure 3 specifically depict the generation of time–frequency images based on the Continuous Wavelet Transform (CWT), which serves as the input representation for the convolutional neural network. In contrast, the entropy feature is a quantitative measure of complexity derived from Discrete Wavelet Transform (DWT) coefficients using a defined formula. Together, these two components constitute a multi-perspective characterization of market information complexity within the proposed model.
Figure 3. Wavelet Transform and Grayscale Conversion Diagram.
In Algorithm 2, the scale vector a = [ a 1 , a 2 , … , a M ] represents the multiscale parameters in continuous wavelet analysis. Although this notation originates from the theoretical definition of the continuous wavelet transform, this paper employs a discrete implementation for practical computations. Multiscale convolution calculations are performed by constructing corresponding wavelet filters at different scales a M .
Algorithm 2. Haar Wavelet-Based Time-Frequency Spectrum Image Generation Algorithm
Input:
S = X 1 , X 2 , ⋯ , X N : Sample set, where each sample X i = x ~ 1 , x ~ 2 , ⋯   , x ~ L is a sub-sequence of length L, denoised via P-FTD and segmented by sliding window
waveletbase: Selected mother wavelet function (Haar wavelet used in this study)
scales: The scale vector a to be analyzed: a = [ a 1 , a 2 , ⋯   , a M ]
imgheight, imgwidth: Desired output size of the time-frequency image (H×W) (Fixed at 64×64 in the experiment)
Output:
I = I 1 , I 2 , ⋯ , I N : Set of time-frequency images, where each I i is a grayscale image of size H×W
1. I ← { } // Initialize empty set
2. // Generate wavelet filters for all scales based on the mother wavelet and scale vector
3. filters←generate_wavelet_filters (waveletbase, a) // The function constructs a bank of wavelet filters, one for each scale a m .
4. for i ← 1 to N do
5.            C ← 0 M × L // Initialize wavelet coefficient matrix
6.         for m ← 1 to M do
7.              Convolve X i with the filter filters [ m ] using convolution mode ‘same’ to obtain coefficient vector c m // ‘same’ mode ensures the output length equals the input length L .
8.            Store the result: C[m,:]←cm
9.         end for
10. Compute power spectrum matrix: P ← C 2 //Element-wise square of magnitudes; P ∈ R M × L .
11. Normalize to 0 1 : P n o r m ← P − m i n ( P ) m a x ( P ) − m i n ( P )
12. Resize P norm to fixed size H × W using bilinear interpolation: I i = resize ( P norm , H , W )
13. Add image to set: I ← I ∪ { I i }
14. end for
15. return I

3.4.1. Construction of the Wavelet Time-Frequency Representation

For any subsequence S = x ~ 1 , x ~ 2 , ⋯ , x ~ L (for brevity, subscripts start from 1), this paper employs Haar wavelets for four-level discrete wavelet decomposition. The decomposition produces detail coefficients at multiple scales D j j = 1 , 2 , 3 , 4 and an approximation coefficient sequence representing the low-frequency component of the signal A 4 . Detail coefficients D j capture local fluctuation characteristics of the price sequence at different frequency scales, where the subscript j denotes the decomposition level (i.e., scale). The length of the coefficient sequence at each scale corresponds to the number of sample points at that scale, with the coefficient position indicated by the index k . The approximation coefficient A 4 reflects low-frequency trend information, also indexed by k . This multiresolution decomposition simultaneously preserves information in both the time and frequency domains, enabling clear expression of abrupt changes, periodic fluctuations, and long-term trends across various scales, thereby providing a foundation for complex pattern analysis.
By stacking scale coefficients vertically according to frequency scales and horizontally according to temporal evolution, a two-dimensional time-frequency matrix can be constructed. This matrix reflects scale variations vertically and temporal evolution horizontally, thereby forming a two-dimensional representation describing the dynamic structure of prices.

3.4.2. Calculation of Information Complexity Entropy Features

To further characterize the information complexity of the sequence, this paper calculates two types of entropy features based on the wavelet decomposition results.
(1)
Wavelet Entropy
Wavelet entropy is used to quantify the distribution of signal energy across different wavelet scales, thereby characterizing the information complexity of financial time series. First, calculate the energy distribution of coefficients at each scale. The energy at the j th detail scale is defined as:
E j = ∑ k D j , k 2 , j = 1 , ⋯ , 4
where D j , k denotes the wavelet detail coefficient at the kth position in the jth scale. The energy of the approximation component is defined as:
E 5 = ∑ k A 4 , k 2
Here, A 4 , k denotes the approximation coefficient at the kth position. The total sequence energy is:
E t o t = ∑ j = 1 5 E j
This yields the normalized probability for energies at each scale:
p j = E j E t o t
Based on the Shannon entropy formulation, the wavelet entropy is defined as:
H w = − ∑ j = 1 5 p j log p j
This metric measures the uncertainty in energy distribution across the frequency domain of price sequences: lower entropy indicates energy concentration at fewer scales, while higher entropy reflects uniform distribution. Thus, wavelet entropy reflects the frequency-domain complexity of market volatility.
(2)
Multiscale Entropy
To characterize the structural features of a sequence at different temporal resolutions, this paper introduces a multiscale entropy approach. For the denoised complete price sequence, coarse-graining is first applied. At scale factor s , the coarse-grained sequence is defined as:
y k s = 1 s ∑ i = k − 1 s + 1 k s x ~ i , k = 1 , 2 , ⋯ , T s
where s = 1 , 2 , ⋯ , 10 denotes the scaling factor, k represents the time index after coarsening. Subsequently, the sample entropy of each coarsened sequence is computed:
S s = S a m p E N m , r , y s
Here, the embedding dimension is set to m = 2 , and the tolerance is set to r = 0.2 × σ x ~ , where σ x ~ is the standard deviation of the original denoised sequence X ~ . The sample entropy value reflects the self-similarity and regularity of the sequence at different scales. When the scale factor s = 1 , 2 , ⋯ , 10 , the multiscale entropy vector is obtained:
E M S E = S 1 , S 2 , ⋯ , S 10
This vector describes the complex structure of price sequences across different time scales: high entropy values indicate stronger randomness in the sequence, while low entropy values reflect the presence of distinct structural patterns.
In the subsequent feature fusion stage, wavelet entropy H w and multiscale entropy vector E M S E serve as information complexity features. Together with time-frequency features extracted by convolutional neural networks and market factor features, they participate in model learning, thereby enhancing the model’s ability to capture market uncertainty and complex dynamics.

3.4.3. Grayscale Image Generation

After obtaining the multiscale wavelet coefficients for each sub-sequence S , the multiscale time-frequency information is mapped into a two-dimensional matrix by calculating the energy spectrum of coefficients at each scale and performing normalization. Specifically, for each scale j and time position k , the energy value is derived from the square of the wavelet coefficient D j , k 2 (for detail coefficients) or A 4 , K 2 (for approximation coefficients). Stack the energies from all scales row-wise to form an initial two-dimensional energy matrix. Its number of rows equals the number of decomposition scales, and its number of columns equals the maximum length of coefficients at each scale. Since wavelet decomposition yields coefficients of varying lengths at different scales, interpolation (e.g., bilinear interpolation) is required to uniformly adjust the length of each row to the predetermined number of columns. Subsequently, the matrix undergoes normalization, mapping energy values to the interval [0, 1]. A scale transformation then scales the matrix to a fixed size H × W , ultimately generating a single-channel grayscale image where each pixel’s grayscale value corresponds to the normalized energy intensity. This image not only preserves the multi-scale spatiotemporal features of the original time series but also highlights key structural information within price fluctuations. It provides convolutional neural networks with an input format that aligns with their spatial perception mechanisms. The generated spatiotemporal grayscale image is then fed into a feature extraction module to further uncover higher-order spatial features, enabling deep modeling of complex dynamic patterns within financial time series.

3.5. Feature Extraction Module

To efficiently and robustly extract multi-level features from the aforementioned wavelet time-frequency images, we abandon the traditional convolutional stacking approach. Instead, we adopt a modern architecture that integrates DWConv, Squeeze-and-Excitation (SE), Scaled Exponential Linear Unit (SeLU) activation functions, and dual residual connections. This architecture is stacked N times to form the core feature extraction backbone network, designed to achieve richer and more robust feature representations at a lower computational cost. As the central feature extraction unit in the stock price branch, this module forms a counterpart to the market factor branch at the structural level, jointly establishing the dual-channel feature representation foundation of the model.
The structure of the feature extraction module is illustrated in Figure 4.
Figure 4. Multi-Feature Extraction Module.
The formula is as follows:
F 1 = S E ( S e L U D W C o n v 3 × 3 C o n v 1 × 1 ( D W C o n v 3 × 3 B N F i n ) ) + F i n
F 2 = F C M a x P o o l L N C o n v F F N F 1 + F 1
where F i n ∈ R H × W denotes the input feature map, BN ( F i n ) represents batch normalization, DWConv3×3 denotes depthwise separable convolution with a 3 × 3 kernel, Conv1×1 denotes a standard 1 × 1 convolution kernel, SeLU(·) represents the self-normalizing activation function, SE(·) denotes the Squeeze and Excitation (SE) attention module, + F i n indicates the first residual connection, ConvFFN(F1) signifies the convolutional feedforward network, LN(·) denotes layer normalization, and +F1 represents the second residual connection.
Specifically, feature maps from data samples first undergo batch normalization (BN) to accelerate model convergence [55,56]. Subsequently, a 3 × 3 depthwise separable convolution extracts local spatiotemporal patterns in the spatial dimension, significantly reducing computational complexity. Following this, a 1 × 1 standard convolution (Conv1×1) performs inter-channel feature fusion and dimensionality transformation to enhance feature expressiveness. Data undergoes further spatial feature refinement via 3 × 3 depthwise separable convolution, incorporating self-normalizing nonlinear transformation through the SeLU activation function to stabilize gradients. The SE module then aggregates global channel information using global average pooling and determines the significance of each channel through a fully connected layer, which allows for adaptive adjustment of feature channels. Next, the recalibrated features are integrated with the original input F i n via an initial residual connection to retain essential low-level information. The resulting features are subsequently passed into a convolutional feedforward network (ConvFFN) [56], where two 1 × 1 convolutional layers enhance nonlinear representation capabilities, followed by layer normalization (LN) to stabilize the training process. Finally, a second residual connection fuses the LN output with the first residual result, enhancing feature reuse. Through deep convolution, channel attention, dual residual connections, and feedforward networks, the entire multi-feature extraction module precisely extracts key patterns from spatiotemporal images, improving stock price prediction accuracy.

3.6. Market Feature Extraction Module

In addition to the stock’s own price data, stock prices are also closely linked to broader market conditions and macroeconomic factors [25]. To capture the potential impact of these external factors on stock prices, we designed a dedicated market factors branch, as shown in Figure 5.
Figure 5. Market Factors Module.
The input to this module is multidimensional market factor time series data M ∈ R T × D , where T represents the time step (aligned with the stock price sequence), and D denotes the market factor dimension. The specific processing flow is as follows: First, the input market factors undergo embedding to obtain relevant features. Then, the Inception module performs multi-scale feature extraction while applying the SeLU activation function for nonlinear transformation. Subsequently, the Inception module conducts deep abstraction to extract higher-order feature interaction patterns. Ultimately, this branch outputs high-quality market factor features F market , which serves as the query vector (Query) fed into the subsequent dual attention fusion module. Here, they intelligently interact with historical price features to jointly accomplish the stock price prediction task.
The Inception Block primarily performs convolutions and pooling with varying receptive fields to capture diverse feature interaction patterns from micro to macro scales. As illustrated in Figure 6, this module comprises four parallel branches: the first branch performs 1 × 1 convolutions for basic feature projection; the second branch first extracts relevant features via average pooling, then applies parallel dilated convolutions with 3 × 3 kernels and dilation rate d = 1 to capture smoothed local features; the third branch performs max pooling followed by parallel dilated convolutions with a 3 × 3 kernel and dilation rate d = 2 to capture prominent medium-range features; the fourth branch applies a 1 × 1 dilated convolution followed by parallel dilated convolutions with a 3 × 3 kernel and dilation rate d = 4 to obtain global macro-level features. Features from these four branches are fused via element-wise summation.
Figure 6. Inception Block.
The formula is as follows:
f 1 = C o n v 1 × 1 F m f
f 2 = P D C o n v 3 × 3 , d = 1 A v g P o o l F m f
f 3 = P D C o n v 3 × 3 , d = 2 M a x P o o l F m f
f 4 = P D C o n v 3 × 3 , d = 4 C o n v 1 × 1 F m f
f = f 1 + f 2 + f 3 + f 4        
where F m f denotes the market factor input tensor, Conv1×1(⋅) denotes a 1 × 1 convolution operation, used to achieve channel dimension mapping and feature compression, thereby reducing redundancy and enhancing computational efficiency; AvgPool(⋅) and MaxPool(⋅) represent average pooling and max pooling operations, respectively, used to extract global trend information and significant local response features of market factors from different statistical perspectives; PDConv3×3, d = k(⋅) denotes a 3 × 3 padding-based dilated convolution with dilation rate k. This operation expands the receptive field while maintaining a manageable parameter scale, enabling capture of market dynamics across different scales. f1–f4 denote multi-scale feature representations extracted from different branches. These are ultimately fused through element-wise summation to yield the comprehensive multi-scale market factor feature representation f, providing high-quality input for subsequent cross-attention mechanisms.
This multi-branch architecture enables the model to learn hierarchical representations step-by-step, from basic statistical features to advanced semantic features. It fully explores the latent and complex nonlinear relationships between market factors and stock price movements, providing high-quality feature inputs for the subsequent multimodal cross-attention mechanism. Simultaneously, in terms of network depth and feature abstraction level, the market factor branch maintains a symmetrical design with the stock price feature branch. This ensures relatively balanced modeling capabilities for different information sources within a unified structural framework, thereby enhancing the stability of multi-source information fusion and overall prediction performance.

3.7. Multimodal Cross-Attention Mechanism Integrating Market Factor Features and Stock Price Features

When integrating historical price features with market factor features, simple concatenation or weighted averaging methods struggle to adapt to complex market dynamics. To address this, this paper designs a multimodal cross-attention mechanism to effectively fuse historical stock price features with market factor features. In this mechanism, market factor features serve as query signals, guiding the model to dynamically focus on information within stock price features that is most relevant to the current market state. In this way, adaptive fusion of multi-source features is achieved. Constrained by an overall dual-branch structure, the mechanism balances flexibility in information interaction with structural stability, as shown in Figure 7.
Figure 7. Cross-Attention Mechanism Module.
This module fuses stock historical price features extracted at different time scales by the upper branch, forming unified price feature maps F price , which serve as both keys and values in the attention mechanism. Simultaneously, the multi-scale market factor feature maps F market extracted by the lower branch serve as queries.
Additionally, the wavelet entropy H w and multiscale entropy vector E M S E computed in Section 3.4 are regarded as representations of information complexity. These entropy features characterize the uncertainty and structural complexity of stock price sequences across different frequency and time scales. To fully leverage this information, this paper concatenates entropy features with price features, forming an extended price feature representation that jointly participates in subsequent attention computations. Through this approach, the attention mechanism not only focuses on the time-frequency structure of price sequences but also references changes in market information complexity, thereby more effectively identifying historical patterns with significant predictive significance.
Through this cross-attention modeling approach based on market state queries, the model dynamically retrieves and integrates the most relevant information from historical price patterns guided by the current market environment. This enables more effective characterization of market factors’ influence on stock price movements. For the n th pair of stock price features and market-related features, the corresponding attention weight is computed as follows:
Q n = F market n W q  
K n = F price n W k
V n = F price n W v
Attn n = softmax Q n K n ⊤ d k V n
where n ∈ 1 , N , W q , W k , and W v are weight matrices, d k represents the scaling factor, which prevents gradient vanishing caused by excessively large dot products. This attention mechanism effectively integrates market factors and stock price sequence information, capturing and understanding their interactions while highlighting critical time points within the stock price sequence to preserve more valuable insights.
To enhance the robustness and effectiveness of feature fusion, a gated recurrent optimization mechanism is incorporated. This mechanism iteratively optimizes the attention outputs by combining a forget gate (Sigmoid) and an input gate (Tanh). Under this approach, the model adaptively modulates the information flow across features at multiple temporal scales, emphasizing salient patterns while attenuating noise and irrelevant components.
The attention outputs are subsequently fed into the prediction layer to produce intermediate forecasts for each sub-window. The final prediction y ^ is obtained by aggregating the outputs across all N sub-windows:
y ^ = ∑ n = 1 N Predictor n Attn n
Among these, Predictor n ⋅ denotes the predictor implementing the nth scale sequence using a linear layer. This design enables the model to comprehensively consider feature representations across different time scales, generating more accurate and robust stock price forecasts.

4. Experiment

4.1. Datasets

The data used in this study are sourced from the Wind database, covering the Chinese stock market from 1 January 2018 to 31 December 2023, for a total of 1457 trading days with complete trading records. The dataset comprises three categories of financial instruments: 10 major Chinese market indices, 16 A-Share listed stocks, and 16 CSI 300 Index constituents. To ensure data representativeness and diversity, this study selected market indices and individual stocks of varying types for experimental analysis. Specific codes for all research subjects are listed in Table 2.
Table 2. Financial Instruments Used in the Experiments (Indices, A-Share, and CSI 300 Constituents).
Eleven macroeconomic market factors are incorporated as inputs to the market factor extraction module to account for the influence of the macroeconomic environment on stock price movements [25]. These factors were also obtained from the Wind database and were processed with daily frequency adjustments and timestamp alignment to prevent the leakage of forward-looking information. We obtain the official release date for each indicator (if unavailable, we apply standard release lag assumptions, such as CPI typically released mid-month). For each trading day t, we use the latest value released up to that date. This process is achieved through forward-filling based on release dates: for example, if January’s CPI is released on 15 February, December’s CPI is used for the period from 2 January to 14 February, and January’s CPI is used starting 15 February. We explicitly avoid any form of interpolation (such as linear interpolation) because interpolation artificially creates future information. To reduce the influence of randomness, each experiment was independently conducted ten times, and the mean and standard deviation of the results were reported. Detailed descriptions of relevant variables are provided in Table 3:
Table 3. Macro Market Factors.
The dataset is partitioned into training, validation, and test samples following a 3:1:1 split. The corresponding descriptive statistics are reported in Table 4. This partitioning method ensures temporal continuity across each subset while enabling thorough model validation under diverse market conditions.
Table 4. Descriptive Statistics of Datasets.
A systematic data preprocessing pipeline was established to guarantee data reliability and enhance model robustness. To ensure temporal consistency, a timestamp alignment strategy was adopted to accurately match monthly or annual market factors with daily stock price sequences, while strict temporal separation was enforced to eliminate potential information leakage. The price series were transformed using the Yeo–Johnson method to reduce heteroscedasticity and achieve distributional normalization. Categorical market attributes were encoded via embedding layers, whereas numerical variables were normalized through Z-score standardization. In addition, the P-FTD algorithm was employed to suppress high-frequency noise in the price series while retaining essential market dynamics. Together, this data construction and preprocessing framework provides a solid foundation for training deep learning models, preserving both temporal dependencies and underlying economic characteristics.
In the experiment, to prevent variations in asset price distributions from interfering with model training, we trained independent prediction models for each financial instrument. Each model utilized only the historical price series of its respective underlying asset. All data preprocessing steps-including Yeo–Johnson transformation and P-FTD denoising-were determined based on the training set and subsequently applied to the validation and test sets. This ensured no forward-looking information was used during model training.
Strict Data Splitting and Leakage Prevention: To avoid any look-ahead bias, we strictly adhere to chronological ordering in data splitting. The entire dataset (2018–2023) is divided chronologically into training (2018–2021), validation (2021–2022), and test (2022–2023) sets. All preprocessing steps, including the estimation of the Yeo–Johnson transformation parameter λ and the P-FTD denoising threshold (the 90th percentile of frequency magnitudes), are performed exclusively on the training set. These estimated parameters are then applied to the validation and test sets. The sliding window segmentation (with a step size of ∆   = 1 ) is applied independently within each subset; overlapping windows within the training set serve only to increase the sample size and do not introduce any new information into the training process. To further confirm the absence of leakage, we repeated the experiment using non-overlapping windows ( ∆ = L ) and obtained nearly identical results (see Section 4.5), demonstrating that overlapping windows do not lead to overfitting or information leakage.
Strict Temporal Preprocessing: To avoid any look-ahead bias, all preprocessing steps strictly adhere to chronological order. The parameters for P-FTD denoising (e.g., the frequency-domain threshold) are estimated exclusively from the training set and remain fixed during validation and testing. During validation and testing, for each prediction step, we use only historical data available up to that moment (including the training set, validation set, and any previously observed test set data) for denoising and feature extraction. For instance, when predicting the first day of the test set, the historical sequence used for denoising consists solely of the training and validation sets, containing no future test set information. This protocol ensures the statistical validity of model training and evaluation.

4.2. Experimental Setup and Evaluation Metrics

4.2.1. Experimental Environment and Parameter Configuration

The WECA-Net model was implemented using the PyTorch deep learning framework (v1.13.1). Experimental hardware, software configurations, and parameters are detailed in Table 5.
Table 5. Experimental Environment and Parameter Configuration.
During model training, the Adam optimizer was used, with β1 and β2 momentum parameters set to 0.9 and 0.999, respectively, to promote effective and stable updates. The initial learning rate was 0.001 and decayed over time via a cosine annealing schedule, which supports faster convergence and reduces the likelihood of being trapped in poor local minima. A batch size of 32 was chosen to balance computational load and maintain reliable gradient estimates. Training proceeded for up to 200 epochs, with early stopping implemented: if validation loss did not improve for 20 consecutive epochs, training was terminated to limit overfitting. To further constrain model complexity and enhance generalization, L2 regularization with a coefficient of 5 × 10−4 was applied.
In terms of model architecture, a dropout rate of 0.2 was applied to randomly deactivate neurons during training, thereby improving the model’s resilience to changing market environments. A multi-scale sliding window design was employed with lengths of 5, 10, 20, and 30 trading days, comprehensively covering features from weekly to quarterly time scales. This provided the model with regularized time-series inputs featuring local continuity. The forecasting horizon is set to F = 1 , corresponding to a one-step-ahead prediction, focusing on predicting the next trading day’s price. The sliding stride S = 1 utilizes maximum overlap sampling to maximize training sample size while maintaining temporal continuity.
For feature extraction, the wavelet transform employs the Haar wavelet basis function. The scale parameter is set to 64 based on the Nyquist sampling theorem, with 4 decomposition levels. Multi-scale spatial representations are extracted through depthwise separable convolutions with a 3 × 3 kernel. The gated recurrent process within the cross-attention module is repeated three times. To mitigate overfitting and enhance generalization, a dropout rate of 0.2 is introduced.
The model was trained using the mean squared error (MSE) loss. This choice facilitates robust convergence and improves both prediction reliability and generalization, which is essential for ensuring the validity of subsequent comparative and ablation analyses.
Real-Time Denoising in Testing: During testing, P-FTD denoising is performed in a rolling manner. For each test time point t, we construct a historical sequence from the beginning of the data up to day t − 1, apply denoising (using the parameters estimated from the training set), and extract the last window of length L from the denoised sequence as the model input. This procedure is repeated at each time step, ensuring that denoising is always based on historical data only and that no future information is used at any test point.

4.2.2. Evaluation Metrics

To thoroughly assess the predictive performance of the proposed model, five commonly used evaluation metrics are employed: MAE, MAPE, MSE, RMSE, R2, and Directional Accuracy (DA). The corresponding calculation formulas are as follows:
MAE quantifies the mean absolute deviation between predicted values and their corresponding actual values:
MAE = 1 n ∑ i = 1 n ∣ y i − y ^ i ∣
MAPE expresses the relative magnitude of prediction errors as a percentage:
MAPE = 100 % n ∑ i = 1 n ∣ y i − y ^ i y i ∣
MSE evaluates the mean of the squared discrepancies between predicted and actual values, assigning a greater penalty to larger errors:
MSE = 1 n ∑ i = 1 n ( y i − y ^ i ) 2
RMSE is derived as the square root of MSE and retains the same physical unit as the original data, thereby facilitating intuitive interpretation:
RMSE = 1 n ∑ i = 1 n ( y i − y ^ i ) 2  
The coefficient of determination R2 reflects the proportion of variance in the observed data that is explained by the predictive model and serves as an indicator of goodness of fit:
R 2 = 1 − ∑ i = 1 n ( y i − y ^ i ) 2 ∑ i = 1 n ( y i − y ¯ ) 2
In these expressions, y I represents the observed value, y ¯ indicates the mean of the observed values, y ^ I corresponds to the predicted value, and n denotes the sample size.
DA measures the model’s ability to predict the direction of price movements. Since the model outputs predictions for the preprocessed series, we first invert the Yeo–Johnson transformation to obtain price predictions p ^ t + 1 on the original scale. DA is defined as the proportion of samples for which the predicted direction matches the actual direction:
D A = 1 N ∑ t = 1 N I ( s i g n ( p ^ t + 1 − p t ) ) = s i g n ( p t + 1 − p t )
where I ( ⋅ ) is the indicator function, and p t is the original price at time t. Higher DA indicates better directional capture. To assess the statistical significance of DA, we employ the Pesaran-Timmermann (PT) test.

4.3. Experimental Results

To assess the predictive performance of WECA-Net, a series of comparative experiments was carried out on three datasets, including stock indices, A shares, and the CSI 300. Based on the evolutionary trajectory of modeling techniques, the comparison models are categorized into four groups: traditional statistical methods, deep learning approaches, hybrid deep learning frameworks, and attention-driven models. Table 6, Table 7 and Table 8 report the detailed experimental outcomes, and Figure 8 visualizes the prediction error distributions of different models on the CSI 300 dataset.
Table 6. Performance comparison of models on stock indices.
Table 7. Performance comparison of models on A-Share.
Table 8. Performance comparison of models on CSI 300.
Figure 8. Boxplots of Prediction Errors.
A comparison with traditional statistical models shows that the ARIMA model [26] achieves moderate performance across the three datasets, with MAE values of 0.0878, 0.0935, and 0.0801, and R2 values of 0.9145, 0.8890, and 0.9312, respectively. Despite its solid theoretical foundation, ARIMA’s reliance on linear assumptions limits its ability to capture the nonlinear dynamics of financial time series. In contrast, our proposed model achieves MAE values of 0.0325, 0.0230, and 0.0221 on the same datasets, with corresponding R2 improvements to 0.9760, 0.9876, and 0.9895. Across the three datasets, WECA-Net consistently yields lower MAE and higher R2 than ARIMA and the compared deep learning baselines. This significant advantage demonstrates that traditional statistical methods exhibit insufficient modeling capabilities when confronted with high-dimensional, multi-scale financial data. Our model, by employing wavelet transforms to achieve multi-resolution analysis across time and frequency dimensions, effectively captures complex price dynamics that traditional methods struggle to model.
Compared with deep learning models, single-architecture models such as LSTM [25], GRU [25], and CNN [25] show improved performance but still exhibit significant limitations. LSTM [25] achieved the best results across the three datasets, with an average MAE of 0.0644 and an average R2 of 0.9498. The GRU [25] model exhibited greater variability, with its MAE rising to 0.0816 on the A-share dataset. The CNN [25] model achieved an average MAE of 0.0723 but demonstrated limited capability in modeling long-range dependencies in stock data. While these models enhance nonlinear modeling through neural network architectures, they remain deficient in multi-scale feature extraction and noise robustness. The WECA-Net model transforms one-dimensional time series into two-dimensional spatiotemporal images via wavelet transformation. It combines multi-level convolutional modules for multi-scale spatial feature extraction and employs P-FTD denoising to suppress high-frequency noise. Ultimately, on the CSI 300 dataset, it achieves an MAE of 0.0221 and an R2 of 0.9895. Compared to the best baseline model (LSTM) averaged across datasets, WECA-Net reduces the prediction error by 59.8%, fully demonstrating the necessity of complex architectures for processing financial data.
Compared to hybrid deep learning models, the proposed architecture exhibits clear strengths. For example, CNN-LSTM [25], which utilizes convolutional layers for local feature extraction and recurrent networks for temporal sequence modeling, achieves an MAE of 0.0501 and an R2 of 0.9569 on the stock index dataset. Neural Basis Expansion Analysis for Time Series (N-Beats) [25] excels in capturing multi-scale patterns through its interpretable hierarchical decomposition architecture, achieving MAE = 0.0416 and R2 = 0.9763 on the A-share dataset. The state-of-the-art VMD-MSANet [25] attained MAE = 0.0275 and R2 = 0.9896 on the CSI 300 dataset. While these hybrid models achieve some improvement through technical fusion, most focus on single data sources or specific technical combinations, failing to fully realize deep synergy between internal and external information. The WECA-Net model adopts a dual-branch architecture: the upper branch extracts stock price time-frequency features via wavelet transform and multi-scale convolutions, while the lower branch captures market factor dynamics through an improved Inception Block. Adaptive fusion is ultimately achieved through a multimodal cross-attention mechanism. On the stock index dataset, compared with the state-of-the-art VMD-MSANet, the proposed model achieves a reduction of 0.0063 in MAE and 0.001 in MSE, along with an improvement of 0.0101 in R2, demonstrating the significant contribution of cross-domain information fusion to enhancing prediction accuracy.
Compared with models based on attention mechanisms, experimental results validate the superiority of our model in feature focusing and information fusion. The Transformer model [25] enhances global dependency modeling through self-attention mechanisms, demonstrating potential in long-term forecasting tasks. However, on the stock index dataset, its MAE of 0.0745 underperforms the baseline LSTM. Autoformer [25] further refined the attention mechanism, achieving an average MAE of 0.0539 and an average R2 of 0.9524. While these models enhanced global dependency modeling through self-attention, they still inadequately addressed the multi-scale characteristics of financial sequences. The WECA-Net model employs a multimodal cross-attention mechanism, using stock price time-frequency features as key-value pairs and market dynamics features as queries to achieve dynamic cross-domain information alignment. Combined with a gated recurrent optimization formula, it further enhances fusion quality. On the CSI 300 dataset, our model achieves a MAE reduction of 55.9% compared to Autoformer and 68.3% compared to Transformer, with R2 improvements of 2.94 and 4.54 percentage points, respectively. This advantage stems from the rich periodic features provided by the multi-scale sliding window strategy (L = 5, 10, 20, 30) and the robust structural support for attention mechanisms offered by the dual-branch architecture.
Figure 8 displays the prediction error distributions for the three datasets, highlighting that the proposed model consistently outperforms others across all evaluation metrics. It markedly surpasses existing approaches in prediction accuracy, robustness, and generalization ability, demonstrating its effectiveness for stock price forecasting.
The superior performance of WECA-Net can be partly attributed to its entropy-aware design, which systematically reduces the uncertainty in feature representation through wavelet-based multiscale analysis and attention-driven information fusion. By emphasizing informative regions in the time-frequency domain, the model achieves a form of entropy reduction that is crucial for robust prediction in noisy financial environments. This aligns with recent entropy-centric studies in financial time series analysis, which advocate for entropy-driven feature selection to improve forecasting accuracy.
To address concerns that the high R 2 values may partially reflect strong temporal autocorrelation in financial price series rather than genuine predictive capability, we compare WECA-Net with a simple naive forecast that repeats the previous period’s price P ^ t + 1 P t . On the CSI 300 test set, the naive forecast achieves an R2 of 0.9715, indicating that most variance can be explained by price persistence. However, WECA-Net significantly outperforms this baseline model: MAE is reduced by 32.4%, RMSE by 29.9%, and R2 increases to 0.9895. The directional accuracy of WECA-Net (68.3%) further demonstrates its ability to capture market dynamics beyond simple inertia. Moreover, Diebold–Mariano tests reveal that WECA-Net’s prediction errors are significantly lower than those of the naive forecast (p < 0.001).
Furthermore, to statistically validate whether the performance improvement of the proposed model over the strongest baseline model, VMD-MSANet, is significant, this paper performs a Diebold–Mariano (DM) test based on the prediction error sequence. Let the prediction errors of the two models on the test set be:
e t 1 = y t − y ^ t o u r s
e t 2 = y t − y ^ t b a s e l i n e
and defined the loss difference as:
d t = L e t 1 − L e t 2
where the loss function L ( ⋅ ) adopts a squared error form. The null hypothesis of the DM test is that both models exhibit identical predictive accuracy.
Table 9 reports the DM test results between WECA-Net and the strongest baseline model on each dataset. As shown, on the CSI 300 dataset, the comparison with VMD-MSANet yields a DM statistic of 2.87 (p = 0.0004), which is significant at the 1% level. On the Indices dataset, the comparison with N-Beats yields a DM statistic of 2.45 (p = 0.0014), also indicating a statistically significant improvement. These results confirm that WECA-Net consistently outperforms the strongest baseline models with high statistical significance.
Table 9. Diebold–Mariano Test Results.
To further verify the superiority of our model over the naive forecast, we conducted a Diebold-Mariano (DM) test. The DM statistic is 2.87, p < 0.01, strongly rejecting the null hypothesis of equal predictive accuracy. This indicates that, despite the high autocorrelation of stock prices (naive forecast R 2 = 0.9715 ), our model ( R 2 = 0.9895 ) captures additional predictable information beyond simple persistence. Hence, the high R2 not only reflects autocorrelation but also demonstrates genuine predictive gains from integrating multi-source information (e.g., macro factors, entropy features).
On the CSI 300 dataset, our model achieves a directional accuracy of 68.3%. The Pesaran-Timmermann test yields a p-value < 0.001, indicating that this accuracy is significantly above the random-walk benchmark of 50%. This measure does not account for transaction costs or other market frictions, so it does not imply risk-free arbitrage, but it statistically demonstrates the model’s ability to capture meaningful directional information.

4.4. Ablation Study

To assess the individual impact of each key module on stock price forecasting performance, an ablation study was performed on the CSI 300 constituent dataset. Beginning with the baseline model, individual components are successively removed, starting with the preprocessing module, wavelet transform module, market factor module, and cross-attention mechanism. This step-by-step approach analyzes the contribution of each module to prediction accuracy, quantifying their practical effectiveness in data quality control, feature extraction, and information fusion.

4.4.1. Impact of the Data Preprocessing Module on Experimental Results

To validate the effectiveness of the data preprocessing module, five sets of ablation experiments were designed on the CSI 300 component dataset: naive prediction, no preprocessing, removal of Yeo–Johnson transformation, removal of P-FTD denoising, and application of the complete preprocessing workflow. Table 10 summarizes the experimental results, where the complete preprocessing scheme yields the most favorable results, reducing MAE to 0.0221 and improving R2 to 0.9895. Compared to the model without preprocessing, MAE decreased by approximately 19.9%. This result indicates that the Yeo–Johnson transformation effectively enhances model training stability by stabilizing the data distribution and mitigating heteroscedasticity, while P-FTD denoising significantly reduces the interference of high-frequency noise on feature learning. The experimental results suggest that integrating distribution normalization with frequency-domain denoising is crucial for improving both the accuracy and robustness of stock price predictions.
Table 10. Impact of the Data Preprocessing Module on Experimental Results Using the CSI 300 Dataset.

4.4.2. Impact of the Wavelet Transform Module on Experimental Results

While retaining the complete data preprocessing module, two ablation experiments were designed on the CSI 300 constituent dataset to validate the wavelet transform module’s effect on model predictive performance: removing the wavelet transform module (W/O Wavelet Transform) and employing the full model configuration (Ours). Table 11 presents the results obtained without applying the wavelet transform, where feature extraction is performed solely on the raw one-dimensional time series. Under this setting, the model achieves MAE, MSE, and R2 values of 0.0228, 0.0022, and 0.9630, respectively, indicating a clear degradation in predictive effectiveness. These results suggest that the absence of wavelet-based processing substantially limits the overall predictive performance. By contrast, the introduction of the wavelet transform projects the original one-dimensional stock price series into a two-dimensional time-frequency representation. This transformation allows the model to jointly capture short-term volatility patterns and long-range trend information embedded in the price sequence. As a result, MAE and MSE are reduced to 0.0221 and 0.0010, respectively, while the R2 value increases to 0.9895. In quantitative terms, the MSE is lowered by approximately 54.5%, accompanied by an improvement of 2.65 percentage points in R2, indicating a substantially enhanced capacity of the model to explain variance in price fluctuations. These findings confirm that wavelet-based multiscale decomposition strengthens the time-frequency feature representation of stock price sequences and provides more informative inputs for subsequent convolutional feature extraction. It serves as a key component for improving stock price prediction accuracy and model stability.
Table 11. Impact of Wavelet Transform on Experimental Results for the CSI 300 Dataset.

4.4.3. Impact of the Market Factors Module on Experimental Results

With the data preprocessing and wavelet transform components preserved, two ablation settings were constructed on the CSI 300 constituent dataset to investigate the contribution of the market factors module to stock price forecasting. Specifically, experiments were conducted under two configurations: excluding the market factors module (denoted as W/O Market Factors Module) and adopting the complete model (Ours). The results presented in Table 12 show that when predictions are based exclusively on historical price sequences, the model achieves MAE, MSE, and R2 values of 0.0241, 0.0017, and 0.9766, respectively, reflecting a noticeable limitation in overall predictive capability. After incorporating the market factors module, the model integrates macroeconomic indicators with market behavior information, reducing MAE to 0.0221, lowering MSE to 0.0010, and increasing R2 to 0.9895. Specifically, the MAE decreased by approximately 8.3%, the MSE decreased by 41.2%, and the R2 increased by 1.29 percentage points. This result suggests a substantial enhancement in the model’s capacity to capture and explain variations in price movements. These results demonstrate that the market factor module, by incorporating multidimensional external information, effectively compensates for the limitations of single price series in capturing the overall market state. This enables the model to more comprehensively identify the drivers of stock price movements, making it a crucial supplementary module for enhancing forecasting accuracy and model robustness.
Table 12. Impact of the Market Factor Module on Experimental Results Using the CSI 300 Dataset.

4.4.4. Impact of Cross-Attention Mechanism on Experimental Results

With the data preprocessing, wavelet transform, and market factor modules preserved, an additional ablation study was conducted on the CSI 300 constituent dataset to further examine the contribution of the cross-attention mechanism to multi-source feature fusion. Two configurations were considered: excluding the cross-attention mechanism (denoted as W/O Cross-Attention) and adopting the complete model (Ours). As reported in Table 13, when stock price features and market factor features were combined using simple feature concatenation, the model obtained MAE, MSE, and R2 values of 0.0296, 0.0019, and 0.9782, respectively, revealing a clear limitation in overall predictive performance. After introducing the cross-attention mechanism, the model uses market factor features as the query. This dynamically guides the model to focus on information from historical stock price features that is highly relevant to the current market state within the multi-source feature space. This reduces MAE to 0.0221, MSE to 0.0010, and increases R2 to 0.9895. Specifically, MAE decreased by approximately 25.3%, and R2 increased by 1.13 percentage points, indicating that the cross-attention mechanism significantly enhances model fitting capability and prediction stability. These findings indicate that the multimodal cross-attention mechanism enables adaptive integration of heterogeneous information sources by capturing the dynamic interactions between stock price features and market factors, thereby playing a central role in enhancing both prediction accuracy and model robustness.
Table 13. Impact of the Cross-Attention Mechanism on Experimental Results for the CSI 300 Dataset.

4.4.5. Impact of Information Complexity Entropy Features on Experimental Results

To further validate the contribution of information complexity entropy features to stock price prediction performance, this paper designed supplementary ablation experiments on the CSI 300 constituent dataset. While retaining data preprocessing, wavelet transformation, market factor modules, and cross-attention mechanisms, we removed all entropy features (W/O Entropy Features), removed only wavelet entropy features (W/O Wavelet Entropy), and removed only multiscale entropy features (W/O Multiscale Entropy), and compared these with the full model (Ours). This examines the independent contributions of wavelet entropy and multiscale entropy within the model and their combined modeling effects. The experimental results are shown in Table 14. When all entropy features were removed, the model performance significantly deteriorated, with MAE, MSE, RMSE, MAPE, and R2 values of 0.0248, 0.0014, 0.0377, 0.2510, and 0.9857, respectively. This indicates that relying solely on time-frequency image features and market factor features is insufficient to fully capture the uncertainty and complex dynamic information within stock price sequences. Furthermore, when only wavelet entropy or multiscale entropy is removed, model performance degrades to varying degrees. Specifically, without wavelet entropy, MAE, MSE, and R2 are 0.0233, 0.0012, and 0.9877, respectively, while MAE, MSE, and R2 for W/O Multiscale Entropy were 0.0235, 0.0012, and 0.9875, respectively. This indicates that both entropy features play a positive role in the model. Mechanistically, wavelet entropy captures the uncertainty in energy distribution across different frequency scales of price sequences, reflecting market volatility complexity at the frequency domain level. Multiscale entropy, meanwhile, describes structural complexity at varying temporal resolutions, supplementing dynamic information at the time scale dimension. When both are incorporated into the model, they synergistically characterize the informational complexity of financial time series across both frequency and temporal dimensions. This comprehensive model achieves optimal performance with MAE = 0.0221, MSE = 0.0010, and R2 = 0.9895. Overall, this experiment demonstrates that information complexity entropy features can serve as explicit statistical characteristics in model learning, significantly enhancing the model’s adaptability to non-stationary financial market environments and its ability to identify key patterns, thereby effectively improving stock price forecasting performance.
Table 14. Impact of Entropy Features on Experimental Results for the CSI 300 Dataset.

4.4.6. Impact of Different Fusion Mechanisms on Experimental Results

To further validate the effectiveness of the proposed cross-attention fusion mechanism, this paper compares it with two common feature fusion strategies: post-fusion and gated fusion. In the post-fusion strategy, stock price features and market factor features are simply concatenated during the prediction phase. Gated fusion, on the other hand, introduces learnable gating weights to adaptively combine features from different modalities.
While maintaining consistent model structures and parameter settings, comparative experiments were conducted on the CSI 300 constituent dataset. Results are presented in Table 15. Findings indicate that the proposed Cross-Attention fusion mechanism achieves optimal performance across all evaluation metrics, with MAE = 0.0221 and R2 = 0.9895. In contrast, Late Fusion and Gated Fusion exhibit limitations in feature interaction capabilities, struggling to fully model the complex relationships between market factors and stock price time-frequency features. These results demonstrate that the enhanced model performance stems not only from the introduction of learnable fusion strategies but also from the cross-modal cross-attention mechanism proposed herein, which enables more effective information exchange and feature alignment.
Table 15. Comparison of Different Fusion Mechanisms on the CSI 300 Dataset.

4.5. Robustness Comparison of Different Window Scrolling Strategies

In this experiment, we regenerated samples using non-overlapping windows (with a sliding step equal to the window length, i.e., ∆   = L) and retrained and evaluated the model under the same data partitioning conditions. As shown in Table 16, experimental results indicate that on the CSI 300 dataset, the model achieved an MAE of 0.0225 and an R2 of 0.9881 under the non-overlapping window setting. These values exhibit a negligible difference compared to the original overlapping window setting (MAE = 0.0212, R2 = 0.9895). This demonstrates that as long as the data processing principle of “segmentation before windowing” is strictly followed, overlapping windows do not introduce information leakage. Their primary function is to increase the number of available samples, thereby enhancing the stability of model training.
Table 16. Robustness test: performance comparison between overlapping and non-overlapping sliding windows on the CSI 300 dataset.
To further verify that overlapping windows do not introduce data leakage, we regenerated samples using non-overlapping windows (sliding step ∆ = window length L) under the corrected preprocessing protocol. The results (Table 16) show that the model performance with non-overlapping windows (MAE = 0.0225, R2 = 0.9881) is nearly identical to that with overlapping windows (MAE = 0.0221, R2 = 0.9895), with differences within a reasonable range. This confirms that, even with the leakage-free preprocessing, the primary role of overlapping windows is to increase training sample size without causing information leakage or overfitting.

4.6. Sensitivity Analysis

To assess the model’s sensitivity to key hyperparameter settings, this paper conducted parameter sensitivity analysis on the CSI 300 dataset. Specifically, we examined the impact of three categories of critical parameters on model prediction performance: the type of wavelet basis function, the number of wavelet decomposition levels, and the threshold parameter in the P-FTD denoising module.
For the wavelet basis function, common Haar, db2, and sym3 wavelets were selected for comparative experiments. For the number of wavelet decomposition levels, structures with 3, 4, and 5 levels were tested. For the frequency domain threshold parameter in the P-FTD algorithm, values of 85%, 90%, and 95% were set. The experimental results are shown in Table 17. As indicated in Table 16, the model performance exhibits minimal variation across different parameter configurations, maintaining overall prediction accuracy. The optimal performance was achieved when using the Haar wavelet, a decomposition level of 4, and a P-FTD threshold of 90% (MAE = 0.0221, R2 = 0.9895). This result indicates that the proposed model exhibits good stability and robustness across different parameter settings, with its performance improvement not dependent on any specific parameter configuration.
Table 17. Sensitivity analysis results on the CSI 300 dataset.

4.7. Repeatability Statement

To ensure the reproducibility of this study, we provide all necessary experimental details below:
Stock Codes:
Index: 000001, 000016, 000300, 399006, 399106, 399107, 399903, 399905, HSI, XINC
A-Share: 000031, 000921, 000987, 002223, 002607, 002624, 600028, 600036, 600315, 600519, 600887, 600900, 600941, 601318, 601390, 601899
CSI 300: 000858, 001979, 002027, 002080, 002120, 002673, 600022, 600027, 600176, 600390, 600763, 601901, 601933, 603288, 603392, 603658
Time Range: 1 January 2018 to 31 December 2023, totaling 1457 trading days.
Data Partitioning: Chronologically, Training Set: 1 January 2018 to 30 June 2021 (875 days), Validation Set: 7 January 2021 to 30 June 2022 (291 days), Test Set: 1 July 2022 to 31 December 2023 (291 days).
Preprocessing:
Yeo–Johnson Transformation: Parameter λ determined by maximum likelihood estimation.
P-FTD Denoising: Padding length p = 10 , scaling factor α = 0.5 , threshold set to the 90th percentile of frequency domain amplitude. L ∈ { 5 , 10 , 20 , 30 } , sliding step size ∆ = 1, prediction step size F = 1 (single-step prediction).
Wavelet Transform: Haar wavelet, 4 decomposition levels, scale M = 64 , output images uniformly resized to H × W = 64 × 64 (bilinear interpolation).
Model Architecture: Refer to Section 3 and Table 4.
Price Branch: Incorporates multiple feature extraction modules (deep separable convolutions, SE module, SeLU activation, dual residual connections). Specific layer counts and channel numbers are detailed in Table 4.
Market Factor Branch: Modified Inception module comprising four parallel branches (1×1 convolutions, dilated convolutions, etc.).
Fusion: Cross-attention module using market factor features as queries and price features as keys/values; gated recurrent optimization iterated 3 times.
Training Hyperparameters:
Optimizer: Adam ( β 1 = 0.9 , β 2 = 0.999 ), initial learning rate: 0.001, cosine annealing decay
Batch size: 32
Training epochs: Up to 200 epochs, early stopping mechanism (terminate if validation loss does not improve for 20 epochs)
Weight decay: 5 × 10 − 4
Dropout rate: 0.2
Loss function: Mean Squared Error (MSE)
Entropy feature calculation:
Wavelet entropy: Calculated per Section 3.4.1 based on energy distribution from 4-layer wavelet decomposition.
Multiscale entropy: Scale factors s = 1 to 10, sample entropy parameters m = 2 , r = 0.2 × s t d
Code Availability: The code and configuration files used in this study will be made publicly available on GitHub (3.5.5 Beta 4) upon formal acceptance of the paper (https://github.com/ChengjunXu-whu/code; accessed on 10 April 2026). Prior to this, interested parties may contact the corresponding author for access.

5. Conclusions

The model adopts a dual-branch architecture designed to simultaneously capture the intrinsic volatility patterns of stock prices and the influence of external market conditions. The upper branch converts one-dimensional price sequences into two-dimensional time-frequency maps via wavelet transforms, then extracts multi-scale spatiotemporal features using multi-level convolutional modules. The lower branch extracts multi-scale dynamic features from macroeconomic market factors through an enhanced Inception module. Subsequently, a cross-modal attention mechanism uses market factor features as queries to guide the model toward information in price features most relevant to the current market state, enabling adaptive fusion. This design overcomes the limitations of traditional methods that rely solely on single price series, significantly improving prediction accuracy and robustness.
Although the proposed model achieves a directional accuracy of 68.3%, which is significantly above the random benchmark, practical trading applications must also account for transaction costs, liquidity constraints, and market impact. Therefore, this directional accuracy should not be interpreted as enabling unlimited arbitrage, but rather as evidence that the model statistically identifies useful signals in price movements. Future research will explore the integration of such predictive signals with risk management frameworks to develop practically viable trading strategies.

Author Contributions

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

Funding

This study was supported by the National Natural Science Foundation of China (42261068), the National Natural Science Foundation of China (62363015), the Jiangxi Provincial Natural Science Foundation (20242BAB25112), the 2023 Henan Provincial Special Fund for Characteristic Discipline Development in Private Universities (Economics), the 2020 Henan Provincial Online-Offline Blended First-Class Undergraduate Course “Microeconomics” (563), Henan Province 2024 Undergraduate Course Demonstration Program “International Trade Practice” (185), Henan Province 2025 Soft Science Research Special Project (252400410103), Henan Province Online First-Class Undergraduate Course “International Trade Theory and Practice” (67), and Henan Province New Round Key Discipline “Applied Economics” (340).

Data Availability Statement

The data associated with this research are available online. The Indices Dataset is available for download at https://github.com/dodge-quant/A-shares-data (accessed on 12 May 2025). The A-Share Dataset is available for download at https://app.snowflake.com/marketplace/listing/GZT0ZPI3KL7/ice-ice-data-indices-datasets (accessed on 12 May 2025). The CSI 300 dataset is available for download at https://www.kaggle.com/datasets/liqiang2022/csi-300-index-fully-data-20172022 (accessed on 12 May 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial Neural Network
ARIMAAutoregressive Integrated Moving Average
BNBatch Normalization
CNNConvolutional Neural Network
DWConvDepthwise Separable Convolution
EGARCHExponential Generalized Autoregressive Conditional Heteroskedasticity
EEMDEnsemble Empirical Mode Decomposition
FFTFast Fourier Transform
GANGenerative Adversarial Network
GARCHGeneralized Autoregressive Conditional Heteroskedasticity
GRUGated Recurrent Unit
LNLayer Normalization
LSTMLong Short-Term Memory
MAEMean Absolute Error
MAPEMean Absolute Percentage Error
MSEMean Squared Error
N-BeatsNeural Basis Expansion Analysis for Time Series
P-FTDPadding-based Fourier Transform Denoising
RFRandom Forest
RMSERoot Mean Squared Error
RNNRecurrent Neural Network
SESqueeze-and-Excitation
SeLUScaled Exponential Linear Unit
SVMSupport Vector Machine
WECA-NetWavelet Entropy Cross-Attention Network
VMDVariational Mode Decomposition
VMD-MSANetVariational Mode Decomposition–Multi-Scale Attention Network

References

  1. Liu, X.; Wu, Y.; Luo, M.; Chen, Z. Stock price prediction for new energy vehicle companies based on multi-source data and hybrid attention structure. Expert Syst. Appl. 2024, 255, 124787. [Google Scholar] [CrossRef] [Scilit]
  2. Hiruta, K.; Senoguchi, J. Wavelet-CNN for temporal data: Enhancing long-term stock price prediction via multi-resolution wavelet decomposition and CNN-based feature extraction. Int. J. Inf. Manag. Data Insights 2025, 5, 100360. [Google Scholar] [CrossRef] [Scilit]
  3. Islam, M.S.; Kabir, M.N.; Ghani, N.A.; Zamli, K.Z.; Zulkifli, N.S.A.; Rahman, M.M.; Moni, M.A. Challenges and future in deep learning for sentiment analysis: A comprehensive review and a proposed novel hybrid approach. Artif. Intell. Rev. 2024, 57, 62. [Google Scholar] [CrossRef] [Scilit]
  4. Das, N.; Sadhukhan, B.; Bhakta, S.S.; Chakrabarti, S. Integrating EEMD and ensemble CNN with X (Twitter) sentiment for enhanced stock price predictions. Soc. Netw. Anal. Min. 2024, 14, 29. [Google Scholar] [CrossRef] [Scilit]
  5. Soni, P.; Tewari, Y.; Krishnan, D. Machine learning approaches in stock price prediction: A systematic review. J. Phys. Conf. Ser. 2022, 2161, 012065. [Google Scholar] [CrossRef] [Scilit]
  6. Akhtar, M.M.; Zamani, A.S.; Khan, S.; Shatat, A.S.A.; Dilshad, S.; Samdani, F. Stock market prediction based on statistical data using machine learning algorithms. J. King Saud Univ. Sci. 2022, 34, 101940. [Google Scholar] [CrossRef] [Scilit]
  7. Sonkavde, G.; Dharrao, D.S.; Bongale, A.M.; Deokate, S.T.; Doreswamy, D.; Bhat, S.K. Forecasting stock market prices using machine learning and deep learning models: A systematic review, performance analysis and discussion of implications. Int. J. Financ. Stud. 2023, 11, 94. [Google Scholar] [CrossRef] [Scilit]
  8. Wu, Q.; Zhang, H.C.; Chiu, Y.J. Application of asymmetric proximal support vector regression based on multitask learning in the stock market. Expert Syst. Appl. 2023, 227, 120208. [Google Scholar] [CrossRef] [Scilit]
  9. Bhattacharjee, I.; Bhattacharja, P. Stock price prediction: A comparative study between traditional statistical approach and machine learning approach. In Proceedings of the 4th International Conference on Electrical Information and Communication Technology (EICT), Xi’an, China, 20–22 December 2019; IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  10. Minhaj, N.; Ahmed, R.; Khalique, I.A.; Imran, M. A Comparative Research of Stock Price Prediction of Selected Stock Indexes and the Stock Market by Using Arima Model. Glob. Econ. Sci. 2023, 4, 1–19. [Google Scholar] [CrossRef] [Scilit]
  11. Zamzami, B.D.F.; Sihombing, E.C.; Kartika, V.Z.; Biran, C.A.N.; Muthoharoh, L.; Sitinjak, M.A. GARCH Model IBM Stock Forecasting of Price Volatility. AEU Int. J. Electron. Commun. Sci. 2024, 4, 19–26. [Google Scholar] [CrossRef] [Scilit]
  12. Karthick Myilvahanan, J.; Mohana Sundaram, N. Support vector machine-based stock market prediction using long short-term memory and convolutional neural network with aquila circle inspired optimization. Netw. Comput. Neural Syst. 2025, 36, 1185–1220. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Talazadeh, S.; Perakovic, D. SARF: Enhancing Stock Market Prediction with Sentiment-Augmented Random Forest. arXiv 2024, arXiv:2410.07143. [Google Scholar] [CrossRef] [Scilit]
  14. Kan, X.; Miao, M.; Cao, L.; Xu, T.; Li, Y.; Jiang, J. Stock Price Prediction Based on Artificial Neural Network. In Proceedings of the 2nd International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), Hefei, China, 6–8 November 2020; IEEE: New York, NY, USA, 2021; pp. 182–185. [Google Scholar] [CrossRef] [Scilit]
  15. Kanwal, A.; Lau, M.F.; Ng, S.P.H.; Sim, K.Y.; Chandrasekaran, S. BiCuDNNLSTM-1dCNN—A hybrid deep learning-based predictive model for stock price prediction. Expert Syst. Appl. 2022, 202, 117123. [Google Scholar] [CrossRef] [Scilit]
  16. Wen, B.; Zhao, Y. PSO-BP Neural Network Model in Stock Prediction. In Proceedings of the International Conference on Intelligent Algorithms for Computational Intelligence Systems (IACIS), Tianjin, China, 5–8 August 2024; IEEE: New York, NY, USA, 2024; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
  17. Zhao, Q.; Hao, Y.; Li, X. Stock price prediction based on hybrid CNN-LSTM model. Adv. Comput. Eng. 2024, 104, 110–115. [Google Scholar] [CrossRef] [Scilit]
  18. Fan, C.; Zhang, X. Stock price nowcasting and forecasting with deep learning. J. Intell. Inf. Syst. 2024, 63, 639–656. [Google Scholar] [CrossRef] [Scilit]
  19. Chavhan, S.; Raj, P.; Raj, P.; Dutta, A.K.; Rodrigues, J.J.P.C. Deep Learning Approaches for Stock Price Prediction: A Comparative Study of LSTM, RNN, and GRU Models. In Proceedings of the 9th International Conference on Smart and Sustainable Technologies (SpliTech), Bol, Croatia, 25–28 June 2024; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  20. Sun, L.; Xu, W.; Liu, J. Two-channel attention mechanism fusion model of stock price prediction based on CNN-LSTM. Trans. Asian Low-Resour. Lang. Inf. Process. 2021, 20, 1–12. [Google Scholar] [CrossRef] [Scilit]
  21. Theagarajan, P.; Ravichandran, A.; Yuvakumar, H.; Baskaran, K.V. Prediction of stock prices using deep learning algorithms. AIP Conf. Proc. 2025, 3279, 020184. [Google Scholar] [CrossRef] [Scilit]
  22. Xie, L.; Chen, Z.; Yu, S. Deep Convolutional Transformer Network for Stock Movement Prediction. Electronics 2024, 13, 4225. [Google Scholar] [CrossRef] [Scilit]
  23. Zena, Z.; Al-Sultan, A.Y.A. An Efficient Algorithm for Stock Market Prediction Using Attention Mechanism. J. Comput. Inf. Manag. 2024, 14, 352–366. [Google Scholar] [CrossRef] [Scilit]
  24. Singh, P.; Jha, M. Elevating Stock Market Predictions: An Attention-Infused LSTM Model with Wavelet Denoising. In Proceedings of the IEEE 11th Uttar Pradesh Section International Conference on Electrical, Electronics and Computer Engineering (UPCON), Lucknow, India, 29 November–1 December 2024; IEEE: New York, NY, USA, 2025; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
  25. Chen, Y.; Ye, N.; Zhang, W.; Lv, S.; Shao, L.; Li, X. VMD-MSANet: A multi-scale attention network for stock series prediction with Variational Mode Decomposition. Neurocomputing 2025, 650, 130854. [Google Scholar] [CrossRef] [Scilit]
  26. Box, G.E.P.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control, 5th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
  27. Francq, C.; Zakoian, J.M. GARCH Models: Structure, Statistical Inference and Financial Applications; John Wiley & Sons: Hoboken, NJ, USA, 2019. [Google Scholar]
  28. Cao, Y. Stock Price Forecasting for Xiaomi Auto: Application of ARIMA and GARCH Models. Adv. Econ. Manag. Policy Stud. 2024, 124, 56–63. [Google Scholar] [CrossRef] [Scilit]
  29. Singh, S.; Parmar, K.S.; Kaur, J. Forecasting volatility in the stock market data using GARCH, EGARCH, and GJR models. In Handbook of Hydroinformatics; Elsevier: Amsterdam, The Netherlands, 2023; pp. 207–220. [Google Scholar] [CrossRef] [Scilit]
  30. Salisu, A.A.; Ogbonna, A.E.; Lasisi, L.; Olaniran, A. Geopolitical risk and stock market volatility in emerging markets: A GARCH–MIDAS approach. N. Am. J. Econ. Financ. 2022, 62, 101755. [Google Scholar] [CrossRef] [Scilit]
  31. Arora, A.; Upadhyay, Y.; Shukla, S.; Saket. Forecasting Stock Price by LSTM-CNN Hybrid Model and Compares Deep Learning Models. In Proceedings of the IEEE International Conference on Smart Power Control and Renewable Energy (ICSPCRE), Rourkela, India, 19–21 July 2024; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  32. Bhuyan, B.P.; Jaiswal, V.; Cherif, A.R. A Knowledge Representation System for the Indian Stock Market. Computers 2023, 12, 90. [Google Scholar] [CrossRef] [Scilit]
  33. Mallam, M.; Murthy, M.L.; Devi, T.S.; Suman, J.V.; Polamuri, S.R. Stock Market Price Prediction Using Machine Learning. In Proceedings of the Second International Conference on Advances in Information Technology (ICAIT), Chikkamagaluru, India, 24–27 July 2024; IEEE: New York, NY, USA, 2024; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
  34. Ahmed, K.R.; Sizan, M.M.H.; Chouksey, A.; Montaser, M.A.A.; Islam, M.R.; Islam, M.S. AI for Financial Market Prediction: Machine Learning Models for Stock Price Forecasting. In Proceedings of the International Conference on Networks and Cryptology (NETCRYPT), New Delhi, India, 29–31 May 2025; IEEE: New York, NY, USA, 2025; pp. 739–744. [Google Scholar] [CrossRef] [Scilit]
  35. Pei, Z.; Yan, J.; Yan, J.; Yang, B.; Li, Z.; Zhang, L.; Liu, X.; Zhang, Y. A Stock Price Prediction Approach Based on Time Series Decomposition and Multi-Scale CNN using OHLCT Images. arXiv 2024, arXiv:2410.19291. [Google Scholar] [CrossRef] [Scilit]
  36. Chen, S.; He, H. Stock Prediction Using Convolutional Neural Network. In Proceedings of the IOP Conference Series: Materials Science and Engineering, Shanghai, China, 8–10 August 2018. [Google Scholar] [CrossRef] [Scilit]
  37. Md, A.Q.; Kapoor, S.; AV, C.J.; Sivaraman, A.K.; Tee, K.F. Novel optimization approach for stock price forecasting using multi-layered sequential LSTM. Appl. Soft Comput. 2023, 134, 109830. [Google Scholar] [CrossRef] [Scilit]
  38. Ranjan, A.; Mahadani, A.K. Stock Price Prediction Using Deep Learning-Based Univariate and Multivariate LSTM and RNN. In Proceedings of the International Conference on Communication, Devices and Computing, Haldia, India, 16–18 August 2021; Springer Nature: Singapore, 2022; pp. 95–103. [Google Scholar] [CrossRef] [Scilit]
  39. Cao, R. Stock Price Prediction Using Deep-Learning Models: CNN, RNN, and LSTM. In Proceedings of the International Conference on Innovation in Economics, Digitalization, and Management (EDMA 2024), Suzhou, China, 12–14 April 2024; EDP Sciences: Les Ulis, France, 2024; Volume 196, p. 02004. [Google Scholar] [CrossRef] [Scilit]
  40. Huang, X.; Wu, C.; Du, X.; Wang, H.; Ye, M. A novel stock trading utilizing long short term memory prediction and evolutionary operating-weights strategy. Expert Syst. Appl. 2024, 246, 123146. [Google Scholar] [CrossRef] [Scilit]
  41. Hossain, M.A.; Karim, R.; Thulasiram, R.; Bruce, N.D.B.; Wang, Y. Hybrid Deep Learning Model for Stock Price Prediction. In Proceedings of the IEEE Symposium Series on Computational Intelligence (SSCI), Bangalore, India, 18–21 November 2018; IEEE: New York, NY, USA, 2019; pp. 1837–1844. [Google Scholar] [CrossRef] [Scilit]
  42. Singh, K.; Soni, B.; Sharma, A. Deep Learning in Financial Markets—A CNN-LSTM Approach to Stock Price Forecasting. In Proceedings of the IEEE 1st International Conference on Green Industrial Electronics and Sustainable Technologies (GIEST), Imphal, India, 25–26 October 2024; IEEE: New York, NY, USA, 2025; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
  43. Boddu, Y.; Manimaran, A. A Hybrid Approach for Stock Price Forecasting: Integrating Temporal Variance Embedding, Multi-Scale Convolutional Networks, and Temporal Attention. In Proceedings of the 12th International Conference on Intelligent Systems and Embedded Design (ISED), Rourkela, India, 20–22 December 2024; IEEE: New York, NY, USA, 2025; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  44. Liu, Y.; Yu, X.; Wu, Y.; Song, S. Forecasting Variation Trends of Stocks via Multiscale Feature Fusion and Long Short-Term Memory Learning. Sci. Program. 2021, 2021, 5113151. [Google Scholar] [CrossRef] [Scilit]
  45. Lin, T.J.C.; Hsu, C.W.; Lee, Y.S.; Shieh, T.H.; Wang, Y.H. A Hybrid Deep Learning Approach for Stock Market Prediction: Integrating EEMD, CNN-LSTM, and Attention Mechanism. In Proceedings of the International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Taiyuan, Shanxi, China, 18–19 October 2025; IEEE: New York, NY, USA, 2025; pp. 126–132. [Google Scholar] [CrossRef] [Scilit]
  46. Bongale, A.M.; Gandhi, H.; Upadhyaya, E.; Sangwan, A.; Anand, A.; Dharrao, D.S.; Krishna, R.J. Hybrid Dataset Trained LSTM Model for Forecasting Stock Market Trends: Analyzing Sentiment of Tweets and Nifty. In Proceedings of the Smart Systems: Innovations in Computing (SSIC 2023), Jaipur, India, 26–27 October 2023; Springer: Singapore, 2024; p. 399. [Google Scholar]
  47. Joshi, S.; Bongale, A.; Dharrao, D. Multi-Agent LLM Framework for Stock Recommendation via Financial Feature Summarization. In Proceedings of the 2025 International Conference on Information, Implementation, and Innovation, Pune, India, 4–5 July 2025. [Google Scholar] [CrossRef] [Scilit]
  48. Dharrao, D.; Mishra, M.; Kazi, A.; Pangavhane, M.; Pise, P.; Bongale, A.M. Summarizing business news: Evaluating BART, T5, and PEGASUS for effective information extraction. Rev. D’Intelligence Artif. 2024, 38, 847–855. [Google Scholar] [CrossRef] [Scilit]
  49. Li, S.; Xu, S. Enhancing stock price prediction using GANs and transformer-based attention mechanisms. Empir. Econ. 2024, 68, 373–403. [Google Scholar] [CrossRef] [Scilit]
  50. Gülmez, B. GA-Attention-Fuzzy-Stock-Net: An optimized neuro-fuzzy system for stock market price prediction with genetic algorithm and attention mechanism. Heliyon 2025, 11, e42393. [Google Scholar] [CrossRef] [Scilit]
  51. Arul Goutham, R.; Premjith, B.; Nimal Madhu, M.; Gopalakrishnan, E.A. Forecasting Intraday Stock Price Using Attention Mechanism and Variational Mode Decomposition. In Inventive Communication and Computational Technologies; Lecture Notes in Networks and Systems; Springer: Singapore, 2023; pp. 525–538. [Google Scholar]
  52. Chen, T.C. Deep Learning-Based Feature Fusion and Prediction Approach for Stock Market Prediction. Appl. Soft Comput. 2025, 182, 113623. [Google Scholar] [CrossRef] [Scilit]
  53. Song, D.; Baek, A.M.C.; Kim, N. Forecasting stock market indices using padding-based fourier transform denoising and time series deep learning models. IEEE Access 2021, 9, 83786–83796. [Google Scholar] [CrossRef] [Scilit]
  54. Liu, Z.; Su, Z.; Shang, L.; Sun, H.; Zhao, B. An approach to stock price prediction based on improved EEMD and attention-enhanced BiLSTM. Expert Syst. Appl. 2025, 284, 127802. [Google Scholar] [CrossRef] [Scilit]
  55. Fei, W.; Dai, W.; Li, C.; Zou, J.; Xiong, H. On Centralization and Unitization of Batch Normalization for Deep ReLU Neural Networks. IEEE Trans. Signal Process. 2024, 72, 2827–2841. [Google Scholar] [CrossRef] [Scilit]
  56. Yang, Y.; Xu, C.; Tian, G. Lightweight Financial Fraud Detection Using a Symmetrical GAN-CNN Fusion Architecture. Symmetry 2025, 17, 1366. [Google Scholar] [CrossRef] [Scilit]
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.