← work · all projects
sentinel-capital.md

CASE 05 / 07

Sentinel Capital

Multi-Agent System · Quant Finance · Agentic AI

ACTIVE2026
9 agents · NSE/BSE · paper tradingmarket dataBreeze APIMoneyControl RSS229 NSE symbolsTechnicalpure mathNews & Sent.GeminiMacroOpenAIForecastingLightGBMContrarianAnthropic · debatedamps contradicted agentsDCS consensusinfluence × trust × contextDCS threshold: 0.15GARCH vol guardExecutiondelta-sizedSQLite auditFULL AUDIT TRAIL · EVERY CYCLE · EVERY NO-TRADE
9
total agents
5
specialist agents
233 symbols
NSE universe
₹10,000
virtual capital

overview.md

Sentinel Capital is an autonomous 9-agent investment committee for intraday paper trading on NSE/BSE. Five specialist agents analyse each signal independently (Technical, News & Sentiment, Macro & Policy, Forecasting, Contrarian), plus a Quant Screener that cuts a 233-symbol NSE universe to 50–60 daily candidates using 11 standardised factors and Ledoit-Wolf shrinkage-based diversification. A risk/execution layer enforces GARCH(1,1) volatility guards, a 3% hard stop-loss, and a full Indian-market transaction cost model. Every trade is fully traceable to agent votes and trust scores.

agents.md

  1. Technical Analyst — pure OHLCV math (RSI, EMA crossover, MACD, momentum); no LLM; requires 50+ bars.
  2. News & Sentiment Agent — Gemini filters MoneyControl + Economic Times RSS; skips LLM call if no relevant headlines.
  3. Macro & Policy Agent — OpenAI analyzes sector, market cap, and context flags (earnings day, RBI policy day); restricted to macro factors only.
  4. Forecasting Agent — LightGBM 3-class classifier (bearish/neutral/bullish) trained on lagged returns, RSI, MACD, EMA diff, rolling volatility, volume change; 9-bar (45-min) lookahead.
  5. Contrarian Agent — Anthropic Claude reviews all 4 specialist outputs; damps confidence of contradicted agents by 50% × contrarian confidence; casts its own vote as 5th input.
  6. Quant Screener — applies 11 standardised factors (momentum, Kaufman efficiency ratio, ATR/ADX breakout signals) with Ledoit-Wolf shrinkage-based diversification to cut 233-symbol NSE universe to ~50–60 daily candidates; sector cap 30%, correlation cluster cap 3.

consensus.log

The Dynamic Trust Framework avoids majority voting. Agent influence = confidence × trust_score × context_relevance, normalised across all agents. The Directional Confidence Score (DCS) is the signed weighted sum: +confidence for BUY, −confidence for SELL, 0 for WAIT. If |DCS| < 0.15 the system waits; otherwise allocation = min(|DCS| × leverage, leverage). Trust scores are Laplace-smoothed hit rates updated one cycle in arrears.

engineering.log

  • Delta-sized execution — only trades the difference against the current position; prevents compounding exposure on persistent signals.
  • GARCH(1,1) volatility guard — annualised vol > 100% rejects the trade; 45–100% halves allocation.
  • Complete audit trail in SQLite — every cycle evaluation (including no-trades) records agent votes, debate output, influence breakdown, consensus, and risk verdict.
  • All LLM-backed agents degrade gracefully — missing API key or rate limit removes that agent's vote for that cycle only; never crashes the pipeline.
  • Replay mode uses the exact live pipeline — cached OHLCV bars fed through the same orchestration code, so replay is directly comparable to live.

status.log

Active development as of July 2026. Opportunity Discovery wired; continuous live session and manual mode with suggestion cards both implemented. Known gap: Discovery output does not yet feed the watchlist automatically (requires manual POST /discovery/run). No live brokerage execution — paper trading only; Breeze API session token requires daily manual refresh per SEBI browser-login requirements.

Aditya Dixit · Jaipur, IndiaSet in IBM Plex Serif & Mono© 2026