Skip to main content
Top

A Scalable Real-Time Stock Market Prediction Framework Using LSTM Network and XGBoost Model

  • 2026
  • OriginalPaper
  • Chapter
Published in:

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

This chapter explores a scalable real-time stock market prediction framework that leverages LSTM networks and XGBoost models, enhanced with sentiment analysis from live news sources. The framework's methodology involves data collection from Yahoo Finance and News API, preprocessing to handle missing values and standardize data, and the implementation of a stacked ensemble model for accurate predictions. The evaluation metrics, including MAE, RMSE, and accuracy in price direction, demonstrate the system's superior performance compared to individual models. The integration of sentiment analysis significantly improves predictive accuracy, capturing market sentiment and contextual understanding. The real-time system responsiveness, achieved through Redis Streams and FastAPI, ensures low-latency predictions, making it suitable for practical financial applications. Comparative studies highlight the system's advantages over existing models, emphasizing its real-time capabilities and contextual sensitivity. The chapter concludes with discussions on system limitations and future research directions, aiming to enhance flexibility, interpretability, and robustness.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Business + Economics & Engineering + Technology"

Online-Abonnement

Springer Professional "Business + Economics & Engineering + Technology" gives you access to:

  • more than 130.000 books
  • more than 540 journals

from the following subject areas:

  • Automotive
  • Construction + Real Estate
  • Business IT + Informatics
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Mechanical Engineering + Materials
  • Surfaces + Materials Technology
  • Insurance + Risk


Secure your knowledge advantage now!

Springer Professional "Engineering + Technology"

Online-Abonnement

Springer Professional "Engineering + Technology" gives you access to:

  • more than 75.000 books
  • more than 390 journals

from the following specialised fileds:

  • Automotive
  • Business IT + Informatics
  • Construction + Real Estate
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Mechanical Engineering + Materials
  • Surfaces + Materials Technology





 

Secure your knowledge advantage now!

Springer Professional "Business + Economics"

Online-Abonnement

Springer Professional "Business + Economics" gives you access to:

  • more than 100.000 books
  • more than 340 journals

from the following specialised fileds:

  • Construction + Real Estate
  • Business IT + Informatics
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Insurance + Risk



Secure your knowledge advantage now!

Title
A Scalable Real-Time Stock Market Prediction Framework Using LSTM Network and XGBoost Model
Authors
Amit Kumar Roy
Munsifa Firdaus Khan Barbhuyan
Satyabrata Nath
Copyright Year
2026
DOI
https://doi.org/10.1007/978-3-032-07735-6_8
This content is only visible if you are logged in and have the appropriate permissions.

Premium Partner

    Image Credits
    Neuer Inhalt/© ITandMEDIA, Nagarro GmbH/© Nagarro GmbH, AvePoint Deutschland GmbH/© AvePoint Deutschland GmbH, AFB Gemeinnützige GmbH/© AFB Gemeinnützige GmbH, USU GmbH/© USU GmbH, Ferrari electronic AG/© Ferrari electronic AG