CBAM-BiLSTM-DDQN: A Novel Adaptive Quantitative Trading Model for Financial Data Analysis
Abstract
1. Introduction
- Financial Sentiment Modeling Strategy: We introduce a strategy based on a RoBERTa Transformer head framework, which is designed for high data efficiency. The approach achieves strong classification accuracy with minimal labeled data, thus, providing a practical pathway for sentiment analysis under common data constraints.
- Attention-Enhanced Reinforcement Learning Approach: We develop an attention-enhanced CBAM-BiLSTM-DDQN reinforcement learning approach, in which the CBAM strengthens temporal feature extraction. This strategy improves the stability and sample efficiency of policy learning, demonstrating the effectiveness of CBAM in financial time series analysis.
- Multi-Modal Trading Framework: We integrate VMD-based signal denoising, BERT-based sentiment factor construction, evolutionary feature selection, and deep reinforcement learning into a unified multi-modal trading framework. This integrated design not only enhances predictive accuracy and execution efficiency but also advances the methodological understanding of how diverse financial information can be jointly modeled to support adaptive trading strategies. Beyond its empirical advantages, this architecture also contributes to the applied mathematics of financial decision-making.
2. Preliminaries
2.1. Variational Mode Decomposition
| Algorithm 1 Variational Mode Decomposition (VMD) |
|
2.2. Convolutional Block Attention Module
2.2.1. Channel Attention Module
2.2.2. Temporal Attention Module
2.3. Bidirectional Long Short-Term Memory Networks
2.4. RoBERTa-wwm-ext
2.5. Double Deep Q-Network (DDQN)
3. CBAM-BiLSTM-DDQN Model
4. Stock Data Analysis
4.1. Stock Data Preprocessing
4.2. Text Data Collection and Preprocessing
5. Experiment Results and Training
5.1. Experiment Settings
5.1.1. Reinforcement Learning Environment
5.1.2. Market Assumptions and Portfolio Dynamics
- Market Impact and Execution: We assume that the agent’s trading behavior exerts no influence on market prices. Furthermore, orders are assumed to be executed at the closing price, representing execution within the final 3 min of the trading session.
- Trading Constraints: Short selling and margin trading are strictly prohibited. Consequently, the agent’s maximum buying capacity is strictly limited by the current cash balance in the account.
- Transaction Costs: We have set the total transaction cost at 0.3% of the transaction amount. This conservative setting is designed to comprehensively cover brokerage commissions, stamp duty, potential market slippage, and bid-ask spreads.
- When (Buy Action), the agent uses a proportion of the available cash to buy shares. Accounting for transaction costs, the updated shares and cash are:
- When (Sell Action), the agent sells a proportion of the current holdings . After deducting transaction costs, the updated shares and cash are:
- When (Hold or No Action), no transaction costs are incurred, and both cash and holdings remain unchanged:
5.2. Network Architecture and Training Strategy
| Algorithm 2 CBAM-BiLSTM-DDQN Training Procedure |
|
5.3. Experimental Setup
- Buy and Hold (BH): A simple baseline strategy where the asset is held throughout the entire evaluation period to reflect the underlying market trend.
- Mean Reversion (MR): A classic technical strategy based on the principle that prices tend to revert to their historical average. It executes trades when the price significantly deviates from its moving average (MA) or Bollinger Band boundaries.
- Trend Following (TF): A momentum-based approach that buys on “Golden Cross” signals, aiming to capitalize on and ride established market trends.
- Momentum (Mm): A strategy that makes trading decisions based on the persistence of an asset’s price returns over the preceding N days.
- BiLSTM: This baseline consists of two-layer BiLSTM network without any attention mechanism.
- BiLSTM Standard Attention (BiLSTM SATT): two-layer BiLSTM model enhanced with standard attention mechanism.
- BiLSTM Multi-Head Attention (BiLSTM MHATT): This model integrates two-layer BiLSTM with Multi-Head attention mechanism.
5.4. Results and Discussion
5.5. Market Regime Analysis
5.6. Ablation Study
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| Abbr. | Full Name |
| DRL | Deep Reinforcement Learning |
| DQN | Deep Q-Network |
| DDQN | Double Deep Q-Network |
| LSTM | Long Short-Term Memory |
| BiLSTM | Bi-directional Long Short-Term Memory |
| CBAM | Convolutional Block Attention Module |
| VMD | Variational Mode Decomposition |
| DBO | Dung Beetle Optimizer |
| BERT | Bidirectional Encoder Representations from Transformers |
| GA | Genetic Algorithm |
| MLP | Multi-Layer Perceptron |
| EMD | Empirical Mode Decomposition |
| OHLC | Open, High, Low, Close Prices |
| IMF | Intrinsic Mode Function |
| MA | Moving Average |
| EMA | Exponential Moving Average |
| MACD | Moving Average Convergence Divergence |
| RSI | Relative Strength Index |
| ATR | Average True Range |
| BB | Bollinger Bands |
| MFI | Money Flow Index |
| SSEC | Shanghai Stock Exchange Composite Index |
| SZSE | Shenzhen Stock Exchange Component Index |
| CSI 300 | China Securities Index 300 |
| BH | Buy and Hold |
| MR | Mean Reversion |
| TF | Trend Following |
Appendix A. Global Variational Mode Decomposition



Appendix B. Additional Results on Some Individual Stocks






| Stock Code | Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|---|
| 002202 | CBAM-BiLSTM | 25.89 | 8.96 | 25.41 | 0.35 | 41.10 |
| BILSTM SATT | −25.56 | −10.42 | 23.69 | −0.47 | 44.14 | |
| BILSTM MHATT | 9.59 | 3.47 | 27.16 | 0.15 | 44.08 | |
| BILSTM | −3.66 | −1.38 | 28.01 | −0.02 | 45.77 | |
| BH | −19.38 | −7.71 | 28.79 | −0.24 | 46.44 | |
| MR | −32.81 | −13.78 | 20.83 | −0.75 | 39.56 | |
| TF | −4.28 | −1.62 | 19.27 | −0.15 | 25.21 | |
| Mm | −22.23 | −8.95 | 19.56 | −0.54 | 35.67 | |
| 600030 | CBAM-BiLSTM | 114.84 | 28.03 | 21.40 | 1.12 | 18.95 |
| BILSTM SATT | 111.41 | 27.36 | 19.41 | 1.19 | 22.40 | |
| BILSTM MHATT | 76.86 | 20.23 | 15.26 | 1.09 | 10.37 | |
| BILSTM | 56.81 | 15.64 | 17.39 | 0.75 | 14.78 | |
| BH | 52.66 | 14.65 | 28.64 | 0.51 | 31.14 | |
| MR | −19.89 | −6.91 | 16.49 | −0.53 | 33.04 | |
| TF | 47.68 | 13.42 | 23.19 | 0.53 | 24.49 | |
| Mm | 9.67 | 3.03 | 23.67 | 0.12 | 31.01 | |
| 600050 | CBAM-BiLSTM | 55.97 | 14.60 | 28.13 | 0.51 | 32.47 |
| BILSTM SATT | 73.94 | 18.49 | 25.37 | 0.68 | 28.44 | |
| BILSTM MHATT | 43.17 | 11.63 | 24.74 | 0.44 | 32.29 | |
| BILSTM | 29.52 | 8.25 | 20.40 | 0.34 | 22.27 | |
| BH | 43.77 | 11.77 | 34.33 | 0.41 | 35.76 | |
| MR | 33.10 | 9.16 | 21.87 | 0.37 | 23.70 | |
| TF | −22.44 | −7.50 | 26.40 | −0.28 | 43.93 | |
| Mm | −39.53 | −14.29 | 27.41 | −0.54 | 51.65 | |
| 600606 | CBAM-BiLSTM | −8.76 | −2.91 | 26.73 | −0.09 | 44.38 |
| BILSTM SATT | −30.97 | −11.24 | 32.57 | −0.30 | 63.08 | |
| BILSTM MHATT | −4.36 | −1.42 | 9.21 | −0.44 | 18.10 | |
| BILSTM | −35.65 | −13.23 | 39.03 | −0.25 | 62.13 | |
| BH | −41.53 | −15.86 | 40.06 | −0.31 | 61.34 | |
| MR | −31.06 | −11.28 | 25.13 | −0.47 | 47.38 | |
| TF | −36.04 | −13.40 | 30.88 | −0.41 | 48.04 | |
| Mm | −33.81 | −12.44 | 30.82 | −0.38 | 45.30 | |
| 601111 | CBAM-BiLSTM | 35.87 | 10.37 | 26.02 | 0.39 | 40.09 |
| BILSTM SATT | −7.77 | −2.57 | 23.44 | −0.12 | 49.25 | |
| BILSTM MHATT | 21.29 | 6.41 | 27.74 | 0.25 | 38.17 | |
| BILSTM | −31.70 | −11.55 | 20.97 | −0.63 | 45.40 | |
| BH | −10.03 | −3.34 | 29.65 | −0.07 | 47.46 | |
| MR | 20.62 | 6.22 | 20.94 | 0.25 | 33.34 | |
| TF | −44.69 | −17.35 | 20.21 | −0.99 | 53.38 | |
| Mm | −44.69 | −17.35 | 20.40 | −0.98 | 53.31 | |
| 601601 | CBAM-BiLSTM | 111.84 | 27.21 | 27.00 | 0.91 | 23.58 |
| BILSTM SATT | 135.18 | 31.55 | 24.86 | 1.11 | 20.28 | |
| BILSTM MHATT | 181.56 | 39.36 | 24.81 | 1.34 | 17.87 | |
| BILSTM | 87.94 | 22.42 | 25.10 | 0.81 | 28.23 | |
| BH | 106.39 | 26.15 | 34.97 | 0.75 | 37.62 | |
| MR | 65.29 | 17.48 | 21.85 | 0.71 | 21.67 | |
| TF | −6.66 | −2.19 | 26.91 | −0.06 | 46.26 | |
| Mm | −22.18 | −7.72 | 27.54 | −0.26 | 52.07 |
References
- Rockafellar, R.T. Augmented Lagrangians and applications of the proximal point algorithm in convex programming. Math. Oper. Res. 1976, 1, 97–116. [Google Scholar] [CrossRef]
- Boyd, S.; Parikh, N.; Chu, E.; Peleato, B.; Eckstein, J. Distributed optimization and statistical learning via the alternating direction method of multipliers. Found. Trends Mach. Learn. 2011, 3, 1–122. [Google Scholar] [CrossRef]
- Huang, N.E.; Shen, Z.; Long, S.R.; Wu, M.C.; Shih, H.H.; Zheng, Q.; Yen, N.C.; Tung, C.C.; Liu, H.H. The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proc. R. Soc. Lond. A 1998, 454, 903–995. [Google Scholar] [CrossRef]
- Dragomiretskiy, K.; Zosso, D. Variational mode decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef]
- Zhou, J.; Wang, S. A carbon price prediction model based on the secondary decomposition algorithm and influencing factors. Energies 2021, 14, 1328. [Google Scholar] [CrossRef]
- Pu, H.; Wu, Y.; Hua, C.; Song, Z.; Zhang, W.; Zhang, L.; Chu, Q.; Qiu, Y. Carbon trading based on quadratic modal decomposition and recurrent neural network price prediction model. In Proceedings of the 2022 5th International Conference on Pattern Recognition and Artificial Intelligence (PRAI), Chengdu, China, 19–21 August 2022; pp. 26–35. [Google Scholar]
- Ling, M.; Cao, G. Carbon trading price forecasting based on parameter optimization VMD and deep network CNN–LSTM model. Int. J. Financ. Eng. 2024, 11, 2450002. [Google Scholar] [CrossRef]
- Zhang, J.; Chen, K. Research on carbon asset trading strategy based on PSO-VMD and deep reinforcement learning. J. Clean. Prod. 2024, 435, 140322. [Google Scholar] [CrossRef]
- Cover, T.M.; Thomas, J.A. Elements of Information Theory, 2nd ed.; Wiley: Hoboken, NJ, USA, 2006. [Google Scholar]
- Vershynin, R. High-Dimensional Probability: An Introduction with Applications in Data Science; Cambridge University Press: Cambridge, UK, 2018. [Google Scholar]
- Singh, C.; Warraich, J.; Thakkar, R.; Vo, N. SABER: A multimodal sentiment aware regression framework using ROBERTa BiLSTM and deep batch active learning for stock market prediction. Int. J. Inf. Technol. 2025, 17, 5497–5502. [Google Scholar] [CrossRef]
- Poornima, N.; Abilash, D.; Theodaniel, M. Improvising the stock prediction by integrating with roBERTa and LSTM. In Proceedings of the 2023 International Conference on Signal Processing, Computation, Electronics, Power and Telecommunication (IConSCEPT), Karaikal, India, 25–26 May 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–8. [Google Scholar]
- Tan, K.; Lee, C.; Anbananthen, K.; Lim, K. RoBERTa-LSTM: A hybrid model for sentiment analysis with transformer and recurrent neural network. IEEE Access 2022, 10, 21517–21525. [Google Scholar] [CrossRef]
- Tan, K.; Lee, C.; Lim, K. Roberta-gru: A hybrid deep learning model for enhanced sentiment analysis. Appl. Sci. 2023, 13, 3915. [Google Scholar] [CrossRef]
- Pradeep, P.; Premjith, B.; Nimal Madhu, M.; Gopalakrishnan, E.A. A transformer-based stock market price prediction by incorporating BERT embedding. In Proceedings of the International Conference on Mathematics and Computing, Nanjing, China, 8–10 November 2024; Springer: Cham, Switzerland, 2024; pp. 95–107. [Google Scholar]
- Lee, C.-C.; Sah, A. Stock price prediction based on investor sentiment using BERT and transformer models. Stat. Optim. Inf. Comput. 2023, 11, 1018–1032. [Google Scholar]
- Friday, I.K.; Mishra, S.; Pati, S.P.; Mishra, D. A transformer-based stock trend prediction with sentiment analysis of relevant and urgent tweets. In Proceedings of the 2025 International Conference on Innovations in Intelligent Systems: Advancements in Computing, Communication, and Cybersecurity (ISAC3), Silchar, India, 27–28 February 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 1–6. [Google Scholar]
- Putri, R.A.; Oktavia, T. Analyzing Twitter Sentiment on Stock Using the Bidirectional Encoder Representations (BERT) Based on the Transformer Model. In Proceedings of the 2025 29th International Conference on Information Technology (IT), Hong Kong, China, 10–12 January 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 1–6. [Google Scholar]
- Yu, Y. Multi-Factor Prediction of Stock Market Index Based on LSTM Neural Networks with BERT Embedding. Master’s Thesis, Univerzita Karlova, Prague, Czech Republic, 2025. [Google Scholar]
- Chen, G.W.; Hsu, I.C. Integrating Taiwan financial BERT sentiment analysis with CNN-BiLSTM-SA model for stock prediction. Discov. Comput. 2025, 28, 248. [Google Scholar] [CrossRef]
- Sakilam, A.; Rangarajan, P.K.; Bode, V.; Nalla, B.T. Deep Reinforcement Learning Algorithms for Profitable Stock Trading Strategies. In Proceedings of the 2024 IEEE International Conference on Contemporary Computing and Communications (InC4), Bangalore, India, 15–17 March 2024; pp. 1–6. [Google Scholar]
- Tran, M.; Pham-Hi, D.; Bui, M. Optimizing automated trading systems with deep reinforcement learning. Algorithms 2023, 16, 23. [Google Scholar] [CrossRef]
- Huang, Y.; Lu, X.; Zhou, C.; Zhang, L. DADE-DQN: Dual action and dual environment deep q-network for enhancing stock trading strategy. Mathematics 2023, 11, 3626. [Google Scholar] [CrossRef]
- Huang, Y.; Zhou, C.; Zhang, L.; Lu, X. A Self-Rewarding Mechanism in Deep Reinforcement Learning for Trading Strategy Optimization. Mathematics 2024, 12, 4020. [Google Scholar] [CrossRef]
- Cui, K.; Hao, R.; Huang, Y.; Zhang, J. A novel convolutional neural networks for stock trading based on DDQN algorithm. IEEE Access 2023, 11, 32308–32318. [Google Scholar] [CrossRef]
- Ma, C.; Zhang, J.; Liu, J.; Ji, L. A parallel multi-module deep reinforcement learning algorithm for stock trading. Neurocomputing 2021, 449, 290–302. [Google Scholar] [CrossRef]
- Chen, X.; Wang, Q.; Hu, C.; Zhu, Y. A stock market decision-making framework based on CMR-DQN. Appl. Sci. 2024, 14, 6881. [Google Scholar] [CrossRef]
- Engl, H.W.; Hanke, M.; Neubauer, A. Regularization of Inverse Problems; Springer: Berlin/Heidelberg, Germany, 1996. [Google Scholar]
- Woo, S.; Park, J.; Lee, J.-Y.; Kweon, I.S. CBAM: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar]
- Graves, A.; Schmidhuber, J. Framewise phoneme classification with bidirectional LSTM networks. In Proceedings of the IEEE International Joint Conference on Neural Networks, Montreal, QC, Canada, 31 July–4 August 2005; Volume 4, pp. 2047–2052. [Google Scholar]
- Cui, Y.; Che, W.; Liu, T.; Qin, B.; Wang, S.; Hu, G. Revisiting pre-trained models for Chinese natural language processing. arXiv 2020, arXiv:2004.13922. [Google Scholar] [CrossRef]
- Van Hasselt, H.; Guez, A.; Silver, D. Deep reinforcement learning with double q-learning. In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016; Volume 30. [Google Scholar]
- Jing, N.; Wu, Z.; Wang, H. A hybrid model integrating deep learning with investor sentiment analysis for stock price prediction. Expert Syst. Appl. 2021, 178, 115019. [Google Scholar] [CrossRef]


















| Date | Open | High | Low | Close | Change | Volume |
|---|---|---|---|---|---|---|
| 2018-01-12 | 3423.88 | 3435.42 | 3417.98 | 3428.94 | 3.60 | 17,406,340,400 |
| 2018-01-15 | 3428.95 | 3442.50 | 3402.31 | 3410.49 | −18.45 | 23,200,928,300 |
| 2018-01-16 | 3403.47 | 3437.58 | 3401.96 | 3436.59 | 26.10 | 21,147,546,900 |
| 2018-01-17 | 3449.88 | 3476.55 | 3448.79 | 3474.75 | 30.08 | 26,104,503,000 |
| 2018-01-19 | 3481.62 | 3498.43 | 3474.29 | 3487.86 | 13.11 | 22,003,955,500 |
| 2018-01-22 | 3476.99 | 3503.39 | 3475.67 | 3501.36 | 12.97 | 24,753,673,200 |
| 2018-01-25 | 3555.17 | 3571.48 | 3528.03 | 3548.31 | −11.16 | 24,341,342,200 |
| 2018-01-26 | 3535.49 | 3574.90 | 3534.20 | 3488.01 | −34.99 | 22,269,829,600 |
| 2018-01-31 | 3470.51 | 3495.45 | 3454.73 | 3480.83 | −7.18 | 20,725,340,400 |
| Stock | Training Period | Testing Period |
|---|---|---|
| SSEC | 8 October 2015–13 June 2022 | 14 June 2022–24 April 2025 |
| SZSE | 18 August 2015–30 June 2022 | 1 Ju1y 2022–16 June 2025 |
| CSI 300 | 4 January 2016–16 December 2022 | 19 December 2022–17 November 2025 |
| Indicator | Formula |
|---|---|
| Moving Averages (SMA/EMA) | |
| Relative Strength Index (RSI) | |
| Volatility () | |
| Bollinger Bands | |
| Average True Range (ATR) | |
| MACD | |
| Stochastic Oscillator | |
| Money Flow Index (MFI) |
| Stock | Optimal K | Optimal |
|---|---|---|
| SSEC | 8 | 164.96 |
| SZSE | 8 | 100 |
| CSI 300 | 8 | 159.05 |
| Reads | Comments | Title/Content | Author | Date |
|---|---|---|---|---|
| 2917 | 30 | Mid-day summary... | Stock/Bond Sniper | 2023/1/15 |
| 954 | 0 | Resting with empty position today... | Good Habits | 2023/1/12 |
| 287 | 0 | 1/12 Market Review... | Financial Knowledge | 2023/1/12 |
| 429 | 0 | Five trading days a week... | Gu Wancang | 2023/1/12 |
| 561 | 0 | Prediction for the broader market... | A Stock Lover | 2023/1/12 |
| 290 | 0 | Foreign capital buying... | Humble Lemon Tea | 2023/1/12 |
| 801 | 1 | Offshore investors... | StockFriend 605 | 2023/1/14 |
| 700 | 1 | Deduction of the market trend... | A Stock Lover | 2023/1/12 |
| 4174 | 19 | Why suggest to... | Empty Warehouse | 2023/1/13 |
| 713 | 7 | Pre-holiday effect... | Hotspot Compound | 2023/1/15 |
| Component | Content |
|---|---|
| Role | Act as an experienced financial market analyst. |
| Task | Evaluate the sentiment of the provided [Financial Post/Headline], focusing on its potential bullish (Positive), bearish (Negative), or neutral impact on individual stocks or the broader market. |
| Criteria | 1. Financial Terminology: Interpret implicit signals (e.g., a “high-volume rally” as Positive; “range-bound consolidation” as Neutral). 2. Linguistic Nuance: Identify irony, metaphors, or euphemisms to discern the actual intent. 3. Market Logic: Consider the broader context (e.g., interpreting interest rate news within macroeconomic contexts). |
| Requirement | Strictly output only one word from the following options: Positive, Negative, or Neutral. No explanations or punctuation are permitted. |
| Input Format | [Financial News Headline]: {text} |
| Class | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| Negative | 0.9455 | 0.8922 | 0.9181 | 603 |
| Neutral | 0.6250 | 0.8036 | 0.7031 | 112 |
| Positive | 0.8537 | 0.8596 | 0.8566 | 285 |
| Accuracy | 0.8730 | 1000 | ||
| Macro Avg | 0.8081 | 0.8518 | 0.8260 | 1000 |
| Weighted Avg | 0.8834 | 0.8730 | 0.8765 | 1000 |
| Class | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| Negative | 0.9276 | 0.9385 | 0.9330 | 4958 |
| Neutral | 0.8007 | 0.7889 | 0.7947 | 1222 |
| Positive | 0.8567 | 0.8379 | 0.8472 | 1820 |
| Accuracy | 0.8928 | 8000 | ||
| Macro Avg | 0.8617 | 0.8551 | 0.8583 | 8000 |
| Weighted Avg | 0.8921 | 0.8928 | 0.8924 | 8000 |
| Feature Category | Description |
|---|---|
| Raw Market Data | Open, High, Low, Close prices, Percentage Change, and Trading Volume. |
| Intrinsic Modes | Decomposed modes IMF1–IMFK derived via VMD. |
| Sentiment Indices | Daily counts of Negative, Neutral, and Positive comments; and . |
| Technical Indicators | Indicators for Trend, Momentum, and Volatility. |
| Stock | Training Period | Validation Period | Testing Period |
|---|---|---|---|
| SSEC | 8 October 2015–14 July 2020 | 15 July 2020–13 June 2022 | 14 June 2022–24 April 2025 |
| SZSE | 18 August 2015–13 July 2020 | 14 July 2020–30 June 2022 | 1 July 2022–16 June 2025 |
| CSI 300 | 4 Jan 2016–28 December 2020 | 29 December 2020–16 December 2022 | 19 December 2022–27 November 2025 |
| Feature | SSEC | SZSE | CSI 300 |
|---|---|---|---|
| Raw Market Data | |||
| close | 0 | 0 | 0 |
| open | 0 | 1 | 1 |
| high | 1 | 1 | 1 |
| low | 0 | 1 | 1 |
| Sentiment Features | |||
| Negative | 0 | 0 | 0 |
| Neutral | 0 | 0 | 0 |
| Positive | 1 | 1 | 0 |
| 0 | 1 | 1 | |
| 1 | 0 | 0 | |
| 1 | 0 | 0 | |
| 1 | 0 | 0 | |
| 1 | 0 | 1 | |
| 1 | 0 | 1 | |
| Intrinsic Modes (VMD) | |||
| IMF_1 | 1 | 0 | 0 |
| IMF_2 | 1 | 0 | 1 |
| IMF_3 | 0 | 1 | 1 |
| IMF_4 | 0 | 1 | 0 |
| IMF_5 | 0 | 1 | 1 |
| IMF_6 | 0 | 1 | 1 |
| IMF_7 | 0 | 0 | 1 |
| IMF_8 | 0 | 1 | 0 |
| IMF_9(Residual) | 1 | 0 | 1 |
| Technical Indicators | |||
| MA_5 | 1 | 0 | 0 |
| MA_10 | 1 | 1 | 0 |
| MA_20 | 0 | 0 | 0 |
| EMA_12 | 1 | 1 | 0 |
| EMA_26 | 0 | 0 | 1 |
| MACD | 0 | 1 | 0 |
| MACD_Hist | 1 | 1 | 0 |
| MACD_Signal | 1 | 0 | 1 |
| BB_Lower | 1 | 0 | 0 |
| BB_Middle | 1 | 0 | 0 |
| BB_Upper | 1 | 1 | 1 |
| BBB_20_2.0 | 1 | 0 | 0 |
| BBP_20_2.0 | 0 | 0 | 1 |
| RSI_14 | 1 | 1 | 0 |
| Stoch_K | 0 | 1 | 0 |
| Stoch_D | 1 | 1 | 0 |
| ATRr_14 | 0 | 1 | 0 |
| Volatility | 1 | 0 | 0 |
| Metric | Description |
|---|---|
| Cumulative Return (CR) | Measures the total percentage gain or loss. |
| Annualized Return (AR) | Represents the geometric average annual rate of return. |
| Annualized Volatility (AV) | Quantifies the dispersion of returns, indicating risk. |
| Maximum Drawdown (MD) | The largest peak-to-trough decline in portfolio value. |
| Sharpe Ratio (SR) | A measure of risk-adjusted return (). |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| CBAM-BiLSTM | 26.77 | 9.10 | 11.28 | 0.54 | 17.92 |
| BiLSTM MHATT | 30.59 | 10.30 | 13.40 | 0.54 | 16.62 |
| BiLSTM SATT | 17.94 | 6.25 | 13.00 | 0.25 | 17.03 |
| BiLSTM | 20.03 | 6.94 | 13.05 | 0.31 | 14.15 |
| BH | −2.90 | −1.08 | 16.34 | −0.17 | 20.74 |
| MR | −2.58 | −0.96 | 11.39 | −0.29 | 15.57 |
| TF | −9.25 | −3.50 | 11.62 | −0.51 | 22.65 |
| Mm | −15.16 | −5.86 | 11.52 | −0.73 | 23.06 |
| Strategy | Seed 1 | Seed 2 | Seed 3 | Seed 4 | Seed 5 | Max | Min | Mean |
|---|---|---|---|---|---|---|---|---|
| (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | |
| CBAM-BiLSTM | 8.22 | 9.10 | 6.88 | 16.71 | 12.98 | 16.71 | 6.88 | 10.78 |
| BiLSTM | 10.77 | 1.99 | 16.95 | 6.94 | 6.85 | 16.95 | 1.99 | 8.70 |
| BiLSTM SATT | 19.38 | 6.25 | −3.00 | 14.25 | −0.30 | 19.38 | −3.00 | 7.32 |
| BiLSTM MHATT | 18.28 | 8.37 | 9.27 | 15.89 | 10.30 | 18.28 | 8.37 | 12.42 |
| Metric | Value (Mean ± Std) |
|---|---|
| AR (%) | 10.78 ± 4.02 |
| SR | |
| Max Drawdown (%) |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| CBAM-BiLST | 3.27 | 1.15 | 17.09 | −0.17 | 33.40 |
| BiLSTM MHATT | −20.86 | −8.00 | 16.88 | −0.71 | 41.37 |
| BiLSTM SATT | 0.90 | 0.32 | 18.01 | −0.20 | 32.93 |
| BiLSTM | 11.18 | 3.85 | 18.82 | −0.01 | 31.51 |
| BH | −24.45 | −9.51 | 22.06 | −0.61 | 37.98 |
| MR | −25.39 | −9.91 | 15.44 | −0.90 | 28.38 |
| TF | −8.74 | −3.21 | 15.63 | −0.46 | 21.29 |
| Mm | −3.81 | −1.38 | 15.92 | −0.34 | 19.57 |
| Strategy | Seed 1 | Seed 2 | Seed 3 | Seed 4 | Seed 5 | Max | Min | Mean |
|---|---|---|---|---|---|---|---|---|
| (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | |
| CBAM-BiLSTM | 0.88 | 4.26 | 1.15 | 1.09 | 7.99 | 7.99 | 0.88 | 3.07 |
| BiLSTM | 18.64 | 2.28 | 0.14 | 9.08 | 3.85 | 18.64 | 0.14 | 6.80 |
| BiLSTM SATT | −15.34 | 0.89 | 17.87 | 0.32 | −8.00 | 17.87 | −15.34 | −0.85 |
| BiLSTM MHATT | 0.85 | −11.33 | 3.84 | −9.35 | −8.00 | 3.84 | −11.33 | −4.80 |
| Metric | Value (Mean ± Std) |
|---|---|
| AR (%) | 3.07 ± 2.76 |
| SR | |
| MD (%) |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| CBAM−BiLSTM | 59.18 | 18.13 | 12.80 | 1.18 | 12.30 |
| BiLSTM MHATT | 48.24 | 15.16 | 13.50 | 0.90 | 17.44 |
| BiLSTM SATT | 79.86 | 25.84 | 12.75 | 1.79 | 7.46 |
| BiLSTM | 66.18 | 19.97 | 11.18 | 1.52 | 9.53 |
| BH | 16.33 | 5.57 | 17.24 | 0.15 | 24.80 |
| MR | 5.95 | 2.09 | 11.17 | −0.08 | 12.97 |
| TF | −1.41 | −0.51 | 13.04 | −0.27 | 19.98 |
| Mm | 5.35 | 1.88 | 13.33 | −0.08 | 19.85 |
| Strategy | Seed 1 | Seed 2 | Seed 3 | Seed 4 | Seed 5 | Max | Min | Mean |
|---|---|---|---|---|---|---|---|---|
| (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | (AR%) | |
| CBAM-BiLSTM | 17.63 | 18.13 | 15.82 | 31.15 | 18.43 | 31.15 | 15.82 | 20.23 |
| BiLSTM | 23.57 | 13.85 | 19.97 | 18.07 | 26.98 | 26.98 | 13.85 | 20.49 |
| BiLSTM SATT | 17.90 | 25.19 | 29.06 | 25.84 | 28.21 | 29.06 | 17.90 | 25.24 |
| BiLSTM MHATT | 23.37 | 15.16 | 10.41 | 25.33 | 14.24 | 25.33 | 10.41 | 17.70 |
| Metric | Value (Mean ± Std) |
|---|---|
| AR (%) | 20.23 ± 6.19 |
| SR | |
| MD (%) |
| Stock | Bear Market | Choppy Market | Bull Market |
|---|---|---|---|
| SSEC | 14 Jun 2022–31 October 2022 | 1 November 2022–23 September 2024 | 24 September 2024–24 April 2025 |
| SZSE | 1 July 2022–31 October 2022 | 1 November 2022–23 September 2024 | 24 September 2024–16 June 2025 |
| CSI 300 | 10 May 2023–23 September 2024 | 19 December 2022–9 May 2023 | 24 September 2024–27 November 2025 |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| Bear Market | |||||
| CBAM-BiLSTM | −0.59 | −1.74 | 7.91 | −0.60 | 2.83 |
| BILSTM | −6.58 | −18.26 | 10.19 | −2.09 | 6.78 |
| BILSTM SATT | −5.53 | −15.52 | 10.02 | −1.85 | 6.15 |
| BILSTM MHATT | −5.85 | −16.35 | 11.40 | −1.70 | 7.03 |
| BH | −14.79 | −37.79 | 14.53 | −2.81 | 15.13 |
| MR | −8.54 | −23.25 | 11.99 | −2.19 | 8.94 |
| TF | −7.56 | −20.78 | 7.11 | −3.34 | 7.99 |
| Mm | −8.86 | −24.06 | 6.40 | −4.22 | 9.27 |
| Choppy Market | |||||
| CBAM-BiLSTM | 1.37 | 0.75 | 9.72 | −0.23 | 18.13 |
| BILSTM | −1.53 | −0.84 | 11.29 | −0.34 | 14.40 |
| BILSTM SATT | −7.78 | −4.32 | 10.43 | −0.70 | 18.36 |
| BILSTM MHATT | 0.22 | 0.12 | 11.56 | −0.25 | 16.68 |
| BH | −7.42 | −4.12 | 12.70 | −0.56 | 20.41 |
| MR | 1.88 | 1.02 | 9.89 | −0.20 | 13.21 |
| TF | −14.76 | −8.34 | 7.98 | −1.42 | 19.92 |
| Mm | −13.42 | −7.56 | 7.92 | −1.33 | 18.26 |
| Bull Market | |||||
| CBAM-BiLSTM | 20.82 | 40.90 | 16.76 | 2.26 | 7.22 |
| BILSTM | 28.28 | 57.07 | 18.78 | 2.88 | 5.22 |
| BILSTM SATT | 29.78 | 60.40 | 20.28 | 2.83 | 6.96 |
| BILSTM MHATT | 38.30 | 80.02 | 22.56 | 3.41 | 4.52 |
| BH | 15.16 | 29.17 | 24.71 | 1.06 | 11.27 |
| MR | −2.18 | −3.92 | 13.63 | −0.51 | 10.24 |
| TF | 15.17 | 29.19 | 20.61 | 1.27 | 9.18 |
| Mm | 7.63 | 14.26 | 20.59 | 0.55 | 11.85 |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| Bear Market | |||||
| CBAM-BiLSTM | −9.37 | −29.13 | 13.19 | −2.44 | 12.59 |
| BiLSTM | −20.24 | −54.68 | 18.49 | −3.12 | 20.24 |
| BiLSTM SATT | −10.67 | −32.62 | 13.81 | −2.58 | 12.68 |
| BiLSTM MHATT | −16.11 | −45.92 | 13.09 | −3.73 | 16.11 |
| BH | −21.01 | −56.20 | 19.17 | −3.09 | 21.01 |
| MR | −17.07 | −48.07 | 16.61 | −3.08 | 17.07 |
| TF | −6.27 | −20.27 | 7.66 | −3.04 | 6.27 |
| Mm | −4.07 | −13.54 | 7.24 | −2.28 | 4.10 |
| Choppy Market | |||||
| CBAM-BiLSTM | −16.63 | −9.44 | 13.81 | −0.90 | 33.26 |
| BiLSTM | −10.92 | −6.12 | 15.78 | −0.58 | 28.10 |
| BiLSTM SATT | −21.21 | −12.19 | 14.91 | −1.02 | 32.93 |
| BiLSTM MHATT | −28.83 | −16.93 | 13.69 | −1.46 | 39.43 |
| BH | −23.11 | −13.35 | 17.17 | −0.95 | 35.31 |
| MR | −13.85 | −7.81 | 14.25 | −0.76 | 25.48 |
| TF | −15.94 | −9.04 | 9.64 | −1.25 | 18.43 |
| Mm | −9.72 | −5.43 | 10.37 | −0.81 | 16.49 |
| Bull Market | |||||
| CBAM-BiLSTM | 38.22 | 60.24 | 24.62 | 2.32 | 7.95 |
| BiLSTM | 56.95 | 92.82 | 25.93 | 3.46 | 5.99 |
| BiLSTM SATT | 44.39 | 70.76 | 25.35 | 2.67 | 8.22 |
| BiLSTM MHATT | 33.15 | 51.74 | 24.37 | 2.00 | 10.71 |
| BH | 14.87 | 22.37 | 31.60 | 0.61 | 21.71 |
| MR | −3.47 | −5.01 | 16.43 | −0.49 | 11.71 |
| TF | 15.94 | 24.04 | 26.99 | 0.78 | 17.82 |
| Mm | 11.18 | 16.69 | 27.06 | 0.51 | 19.57 |
| Strategy | CR (%) | AR (%) | AV (%) | SR | MD (%) |
|---|---|---|---|---|---|
| Bear Market | |||||
| CBAM-BiLSTM | −3.94 | −2.98 | 10.06 | −0.59 | 11.78 |
| BiLSTM | 0.30 | 0.23 | 8.91 | −0.31 | 9.53 |
| BiLSTM SATT | 11.35 | 8.42 | 8.78 | 0.62 | 5.02 |
| BiLSTM MHATT | −15.15 | −11.63 | 11.01 | −1.33 | 17.44 |
| BH | −19.62 | −15.15 | 13.55 | −1.34 | 21.42 |
| MR | −9.39 | −7.15 | 11.48 | −0.88 | 12.93 |
| TF | −15.78 | −12.12 | 7.32 | −2.07 | 16.50 |
| Mm | −8.26 | −6.28 | 8.23 | −1.13 | 12.53 |
| Choppy Market | |||||
| CBAM-BiLSTM | 9.05 | 30.11 | 10.56 | 2.57 | 2.82 |
| BiLSTM | 6.85 | 22.29 | 8.93 | 2.16 | 2.60 |
| BiLSTM SATT | 7.55 | 24.72 | 9.18 | 2.37 | 2.69 |
| BiLSTM MHATT | 7.20 | 23.49 | 10.96 | 1.87 | 4.39 |
| BH | 3.77 | 11.88 | 13.38 | 0.66 | 6.24 |
| MR | 2.63 | 8.20 | 9.78 | 0.53 | 4.59 |
| TF | 0.33 | 1.02 | 7.90 | -0.25 | 4.89 |
| Mm | 0.07 | 0.21 | 8.01 | -0.35 | 5.36 |
| Bull Market | |||||
| CBAM-BiLSTM | 54.31 | 46.75 | 15.81 | 2.77 | 4.70 |
| BiLSTM | 54.82 | 47.18 | 13.78 | 3.21 | 4.26 |
| BiLSTM SATT | 57.96 | 49.82 | 16.89 | 2.77 | 7.46 |
| BiLSTM MHATT | 64.19 | 55.03 | 16.33 | 3.19 | 4.27 |
| BH | 34.71 | 30.14 | 21.15 | 1.28 | 15.66 |
| MR | 10.05 | 8.84 | 10.45 | 0.56 | 8.72 |
| TF | 16.67 | 14.61 | 18.41 | 0.63 | 17.56 |
| Mm | 14.86 | 13.03 | 18.48 | 0.54 | 19.85 |
| Stock | Metric | CBAM-BiLSTM | RM GA | RM Sentiment | RM VMD | LSTM | BiLSTM |
|---|---|---|---|---|---|---|---|
| SSEC | CR | 26.77 | 34.10 | 18.78 | 20.07 | 14.92 | 20.03 |
| AR | 9.10 | 11.38 | 6.53 | 6.95 | 5.24 | 6.94 | |
| AV | 11.28 | 10.63 | 10.71 | 11.72 | 13.43 | 13.05 | |
| SR | 0.54 | 1.07 | 0.61 | 0.59 | 0.39 | 0.31 | |
| MD | 17.92 | 7.48 | 11.15 | 15.90 | 15.22 | 14.15 | |
| AT | 31.96 | 29.12 | 29.08 | 11.75 | 17.58 | 20.45 | |
| SZSE | CR | 3.27 | 4.34 | 0.68 | −2.97 | 11.13 | 11.18 |
| AR | 1.15 | 1.53 | 0.24 | −1.07 | 3.83 | 3.85 | |
| AV | 17.09 | 16.85 | 17.02 | 16.67 | 14.94 | 18.82 | |
| SR | −0.17 | −0.09 | −0.16 | −0.24 | 0.06 | −0.01 | |
| MD | 33.40 | 27.68 | 28.84 | 29.71 | 11.88 | 31.51 | |
| AT | 31.89 | 31.99 | 31.18 | 26.23 | 14.09 | 15.48 | |
| CSI 300 | CR | 59.18 | 77.17 | 58.30 | 48.56 | 59.93 | 66.18 |
| AR | 18.13 | 22.75 | 17.90 | 15.24 | 18.33 | 19.97 | |
| AV | 12.80 | 12.89 | 13.27 | 11.55 | 12.95 | 11.18 | |
| SR | 1.18 | 1.53 | 1.12 | 1.06 | 1.18 | 1.52 | |
| MD | 12.30 | 13.47 | 16.19 | 12.55 | 13.58 | 9.53 | |
| AT | 32.07 | 26.49 | 26.38 | 15.00 | 24.25 | 20.10 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhang, Y.; Zhou, M.; Sun, F.; Wu, Y. CBAM-BiLSTM-DDQN: A Novel Adaptive Quantitative Trading Model for Financial Data Analysis. Axioms 2026, 15, 222. https://doi.org/10.3390/axioms15030222
Zhang Y, Zhou M, Sun F, Wu Y. CBAM-BiLSTM-DDQN: A Novel Adaptive Quantitative Trading Model for Financial Data Analysis. Axioms. 2026; 15(3):222. https://doi.org/10.3390/axioms15030222
Chicago/Turabian StyleZhang, Yan, Mingxuan Zhou, Feng Sun, and Yuehua Wu. 2026. "CBAM-BiLSTM-DDQN: A Novel Adaptive Quantitative Trading Model for Financial Data Analysis" Axioms 15, no. 3: 222. https://doi.org/10.3390/axioms15030222
APA StyleZhang, Y., Zhou, M., Sun, F., & Wu, Y. (2026). CBAM-BiLSTM-DDQN: A Novel Adaptive Quantitative Trading Model for Financial Data Analysis. Axioms, 15(3), 222. https://doi.org/10.3390/axioms15030222

