JCSIS
JCSIS

Hybrid Deep Learning and Sentiment Analysis Framework for High-Frequency Stock Market Prediction Using Social Media Data.

Sofia Arkhstan
Volume 5

Abstract

High-frequency stock market prediction is a challenging financial forecasting task due to the nonlinear, noisy, and rapidly changing nature of intraday price movements. Traditional forecasting models often rely primarily on historical market indicators, such as price, volume, volatility, bid–ask spread, and technical signals, while neglecting the growing influence of investor sentiment expressed through social media platforms. In modern financial markets, social media posts, financial news discussions, online investor communities, and real-time public opinions can affect short-term trading behavior, market liquidity, volatility spikes, and price momentum. However, extracting meaningful predictive information from social media is difficult because of informal language, sarcasm, misinformation, noisy text, temporal misalignment, and the high velocity of data streams. To address these challenges, this paper proposes a hybrid deep learning and sentiment analysis framework for high-frequency stock market prediction using social media data.

The proposed framework integrates market microstructure data with sentiment-enriched textual features to improve short-term forecasting accuracy. Historical intraday stock data, including open, high, low, close prices, trading volume, returns, volatility, moving averages, order book indicators, and technical momentum signals, are combined with social media-derived features extracted from platforms such as financial forums, microblogs, and investor discussion networks. A comprehensive preprocessing pipeline is applied to clean textual data, remove spam and irrelevant posts, normalize financial slang, identify stock-related entities, handle emojis and hashtags, and align sentiment features with high-frequency market intervals. Sentiment analysis is performed using lexicon-based methods, transformer-based language models, and domain-specific financial NLP models to estimate positive, negative, neutral, and intensity-weighted investor sentiment.

The predictive architecture combines deep learning models for both numerical and textual data streams. Convolutional neural networks and transformer encoders are used to extract semantic representations from social media text, while LSTM, GRU, temporal convolutional networks, and attention-based models are employed to capture sequential dependencies in high-frequency market data. The extracted sentiment embeddings and market features are fused using a hybrid feature-level or decision-level fusion strategy to predict short-term stock price direction, return movement, volatility change, or trading signal classification. Attention mechanisms are incorporated to dynamically weight the most relevant time windows, sentiment events, and market indicators, allowing the model to focus on periods where investor sentiment has stronger predictive influence.

The proposed framework can be evaluated using high-frequency stock market datasets combined with timestamped social media streams over multiple trading periods. Model performance is assessed using accuracy, precision, recall, F1-score, AUC-ROC, mean absolute error, root mean square error, directional accuracy, Sharpe ratio, maximum drawdown, and simulated trading profitability. Comparative analysis is conducted against traditional statistical models, technical indicator-based machine learning methods, standalone sentiment models, LSTM-only models, transformer-only models, and non-hybrid forecasting baselines. Experimental evaluation is expected to demonstrate that integrating sentiment signals with deep temporal market modeling improves prediction robustness, particularly during periods of high market uncertainty, news-driven volatility, and abnormal investor attention.

The proposed system provides a scalable and adaptive framework for high-frequency financial forecasting by combining social media sentiment mining with deep learning-based market prediction. By transforming noisy public opinion streams into structured predictive signals, the framework can support algorithmic trading, risk monitoring, volatility forecasting, portfolio adjustment, and real-time decision support. Its ability to jointly model textual sentiment, temporal market behavior, and attention-driven feature interactions makes it a promising approach for next-generation intelligent financial analytics systems.


Keywords


References

  • [1] Mozhdehi, A. T., Khodadadi, N., Aboutalebi, M., El -Kenawy, E. S. M., Hussien, A. G., Zhao, W., ... & Mirjalili, S. (2025). Divine
  • [2] El-kenawy, E. S. M., Alhussan, A. A., Mattar, E. A., & Radwan, M. (2026). Feature selection and hyperparameter tuning in transfo rmer -
  • [3] Chen, L., Xu, C., Lim, W. H., Sharma, A., Tiang, S. S., Chong, K. S., ... & Khafaga, D. S. (2025). Transparent and reliable c onstruction
  • [4] Khodadadi, N., Towfek, S. K., Zaki, A. M., Alharbi, A. H., Khodadadi, E., Khafaga, D. S., ... & Eid, M. M. (2025). Predicting
  • [5] Alhussan, A. A., El -Kenawy, E. S. M., Khafaga, D. S., Alharbi, A. H., & Eid, M. M. (2025). Groundwater resource prediction and
  • [6] Mozhdehi, A. T., Khodadadi, N., Aboutalebi, M., El -Kenawy, E. S. M., Hussien, A. G., Zhao, W., ... & Mirjalili, S. (2025). Divine
  • [7] Lopes, J. M., Pinho, C. S., Martins, R. C., & Bandeira, T. (2026). Sustainability Gets Smarter: Competitive Pressure and AI L eading the
  • [8] Radwan, M., Ibrahim, A., Abdelsalam, M. M., Alhussan, A. A., Mattar, E. A., & El -Kenawy, E. S. M. (2026). Optimizing solar and wind
  • [9] Alhussan, A. A., El -Kenawy, E. S. M., Eid, M. M., & Khodadadi, N. (2026). Hybrid Al -Biruni and Puma Optimization (BERPO) for
  • [10] El-Kenawy, E. S. M., Ibrahim, A., Alhussan, A. A., Khafaga, D. S., Ahmed, A. E., & Eid, M. M. (2026). Smart city electricity loa d
  • [11] El-Kenawy, E. S. M., Khodadadi, N., Mirjalili, S., Zaki, A. M., Ibrahim, A., Alhussan, A. A., ... & Eid, M. M. (2026). Glider sn ake
  • [12] Mekaret, F., Rabehi, A., Zebentout, B., Tizi, S., Douara, A., Bellucci, S., ... & Alhussan, A. A. (2024). A comparative study of Schottky
  • [13] KOUADRI, Ali, RABEHI, Abdelhalim, BENZIANE, Ali, et al. A Robust Multi -Transform Watermarking Scheme for Medical Images
  • [14] Tibermacine, I. E., Russo, S., Scarano, G., Tedesco, G., Rabehi, A., Alhussan, A. A., ... & Napoli, C. (2025). Conditional VA E for
  • [15] Kouadri, A., Benziane, A., Rabehi, A., Rabehi, A., Alhussan, A. A., Khafaga, D. S., & El -Kenawy, E. S. M. (2025). A novel hybrid
  • [16] Russo, S., Tibermacine, I. E., Randieri, C., Rabehi, A., Alharbi, A. H., El -Kenawy, E. S. M., & Napoli, C. (2025). Exploiting facial
  • [17] Bentegri, H., Rabehi, M., Kherfane, S., Nahool, T. A., Rabehi, A., Guermoui, M., ... & El -Kenawy, E. S. M. (2025). Assessment of
  • [18] Tibermacine, I. E., Russo, S., Citeroni, F., Mancini, G., Rabehi, A., Alharbi, A. H., ... & Napoli, C. (2025). Adversarial de noising of EEG
  • [19] Ouahabi, M. S., Benyounes, A., Barkat, S., Ihammouchen, S., Rekioua, T., Rabehi, A., ... & Alharbi, A. H. (2025). Real -time sensor fault
  • [20] Belaid, A., Guermoui, M., Khelifi, R., Arrif, T., Chekifi, T., Rabehi, A., ... & Alhussan, A. A. (2024). Assessing suitable a reas for PV
  • [21] Mehallou, A., M’hamdi, B., Amari, A., Teguar, M., Rabehi, A., Guermoui, M., ... & Khafaga, D. S. (2025). Optimal multiobjecti ve
  • [22] Rabehi, A., El -Hadi, M., Benmahmoud, S., Rabehi, A., Alharbi, A. H., & El -Kenawy, E. S. M. (2025). SOCA -CFAR Processor in A
  • [23] Bakria, D., Beladel, A., Korich, B., Teta, A., Mohammedi, R. D., Laouid, A. A., ... & El -kenawy, E. S. (2025). A novel enhanced Grey
  • [24] Towfek, S. K., & Alhussan, A. A. (2024). Potato Production Forecasting Based on Balance Dynamic Biruni Earth Radius Algorithm for
  • [25] Abdelhamid, A. A., Alhussan, A. A., Qenawy, A. S. T., Osman, A. M., Elshewey, A. M., & Eed, M. (2024). Potato harvesting pred iction
  • [26] Eed, M., Alhussan, A. A., Qenawy, A. S. T., Osman, A. M., Elshewey, A. M., & Arnous, R. (2024). Potato Consumption Forecastin g
  • [27] Mahmood, S., Sun, H., Iqbal, A., Alhussan, A. A., & El -kenawy, E. S. M. (2024). Green finance, sustainable infrastructure, and green
  • [28] El-Kenawy, E. S. M., Alhussan, A. A., Khodadadi, N., Mirjalili, S., & Eid, M. M. (2024). Predicting potato crop yield with machi ne
  • [29] Radwan, M., Alhussan, A. A., Ibrahim, A., & Tawfeek, S. M. (2025). Potato leaf disease classification using optimized machine learning
  • [30] Ghasemi, M., Khodadadi, N., Trojovský, P., Li, L., Mansor, Z., Abualigah, L., ... & El -Kenawy, E. S. M. (2025). Kirchhoff’s law
  • [31] Yassen, M. A., El -Kenawy, E. S. M., Abdel -Fattah, M. G., Ismail, I., & Mostafa, H. E. D. S. (2025). Explainable artificial intelligence
  • [32] Radwan, M., Alhussan, A. A., Ibrahim, A., & Tawfeek, S. M. (2025). Potato leaf disease classification using optimized machine learning