← Back to VOLUME 15, ISSUE 11, NOVEMBER 2026
This work is licensed under a Creative Commons Attribution 4.0 International License.
IntelliQuant: Regime-Aware Stock Market Trend Analysis Using Hidden Markov Models
Arindam Jaiman, Ananya Jaiswal, S. Poornima
Downloads: Download PDF
👁 2 views📥 0 downloads
Abstract: Stock prices are noisy and non-stationary, and they move between calm, trending and stressed conditions that call for different interpretation, so a single model fitted to a whole price history can average across behaviours it should distinguish. This paper presents IntelliQuant, a market-intelligence platform for Indian equities that organises trend analysis around latent market regimes inferred by a Gaussian hidden Markov model (HMM). The design separates observation, inference, decision and risk. Daily OHLCV bars are validated and converted into 18 trailing technical features; the HMM, estimated with Baum–Welch, supplies filtered regime probabilities that condition rather than replace directional signals; and the directional layer combines a two-layer LSTM and an XGBoost classifier through accuracy- weighted voting over 1-, 5- and 10-day horizons, using volatility-scaled labels and FinBERT–VADER news sentiment. The implemented platform comprises a FastAPI backend with 30 REST endpoints and live WebSocket streaming and a Next.js terminal with fifteen configurable panels; the HMM regime engine is specified but not yet implemented. On a single chronological 80/20 split, LSTM models for 11 NIFTY 50 stocks reach a mean validation accuracy of 70.5% (59.7–87.0%) and XGBoost 57.4% on two stocks. However, in 32 of the 33 LSTM cases the reported precision, recall and F1 identify a model that predicts HOLD for every day, so its accuracy equals the majority-class rate and its balanced accuracy is at chance. The paper therefore specifies a leakage-safe walk-forward protocol with class-balanced metrics and reports a code audit showing that feature scalers were fitted before the chronological split.
Keywords: hidden Markov models, market regime detection, stock trend analysis, LSTM, XGBoost, financial sentiment analysis, walk-forward validation
Keywords: hidden Markov models, market regime detection, stock trend analysis, LSTM, XGBoost, financial sentiment analysis, walk-forward validation
How to Cite:
[1] Arindam Jaiman, Ananya Jaiswal, S. Poornima, “IntelliQuant: Regime-Aware Stock Market Trend Analysis Using Hidden Markov Models,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE)
