Purple Stock: “A Multi-Model Machine Learning Framework for Real-Time Stock Price Prediction with Adaptive Model Selection”

Authors

  • M. Bhargavi Author
  • P. Durga Prasad Author
  • Y. Abhiram Sai Manikantha Author
  • Y. Dileep Author
  • P. Sasidhar Author

DOI:

https://doi.org/10.62643/ijerst.2026.v22.n2(1).pp422-434

Keywords:

Machine Learning, Stock Prediction, LSTM, XGBoost, Random Forest, Ensemble Learning, Time Series Forecasting, Financial Analytics, Real-Time Systems

Abstract

Stock market prediction is a complicated issue since it is volatile, non-linear, and external factors. The following paper describes Purple Stock, which is a real-time stock analysis and forecasting system whose architecture is founded on a multi-model machine learning structure of short-term price forecasting. The system combines various predictive models, such as Long Short-Term Memory (LSTM), Random Forest, and Extreme Gradient Boosting (XG Boost) as well as combinations between them, which allows the system to describe both the timedependent and structural trends of financial time-series data. Purple Stock, in contrast to the traditional methods based on one model, is a dynamical method that considers a variety of models, applies a well-organized validation procedure, and chooses the best model according to its results. Directional Accuracy is the most important parameter in the selection process so that the price movement trends can be predicted reliably, although the root mean square error (RMSE) and the mean absolute error (MAE) are utilized in order to preserve the numerical stability and reduce the error in prediction. This multi-metric analysis allows flexibility in different market situations, such as trending, volatile and sideways markets. The system can access up-to-date financial information through the Yahoo Finance API and accommodate various exchanges in the world, such as the U.S., Indian, Japanese, and Korean ones. There is a time-consistent currency conversion system, which converts the stock values to both native currency and Indian Rupees (INR) to represent the stock values correctly across the markets. The platform also has an in-built dashboard where visualization of past trends, future projections, model confidence and technical indicators can be viewed, and the platform is transparent by showing the chosen model and its performance indicators. Empirical evidence shows that there is no model that is always more effective than others. Alternatively, adaptive and hybrid models selection methods yield stronger and more effective forecasts, which points to the usefulness of ensemble learning in operational financial forecasting scenarios.

Downloads

Published

09-04-2026

How to Cite

Purple Stock: “A Multi-Model Machine Learning Framework for Real-Time Stock Price Prediction with Adaptive Model Selection”. (2026). International Journal of Engineering Research and Science & Technology, 22(2(1), 422-434. https://doi.org/10.62643/ijerst.2026.v22.n2(1).pp422-434