Phase I · Foundation:8001
Market Data
Quotes, chains, candles, the tape itself.
The single source of truth for spot, depth, option chains and historical candles. Wraps Upstox v2 with circuit-breakers and short TTL caches; emits live tick streams the rest of the platform subscribes to.
Phase I · Foundation:8002
Volatility Engine
IV, greeks, skew, term — the maths.
Black-Scholes & QuantLib-backed pricing, full Greeks, IV rank and percentile, term-structure spread between current-week and next-month, surface fitting. The desk's calculator.
Phase II · Decision:8003
OI Analysis
Where the institutions are positioned.
Concentration heatmaps, put/call ratio, change-in-OI clustering, max-pain. Synthetically interpolates OI between the NSE three-minute snapshots when confidence permits.
Phase II · Decision:8004
Strategy Builder
Translates a view into a position.
Constructs verticals, iron condors, butterflies, ratio spreads, calendars. Returns typed proposals with payoff models, breakevens, expected-value, and a costed round-trip estimate.
Phase III · Survival:8005
Risk Manager
The gate. The kill switch. The conscience.
Eighteen pre-trade checks aware of SEBI rules: ELM on expiry, calendar-spread margin nullification, settled-cash verification, illiquid-strike guards, vega-event warnings, delta-based OI limits.
Phase III · Survival:8006
Trade Executor
Demo, Paper, Live — one dispatch surface.
Single MCP surface dispatching to DemoExecutor, PaperExecutor, or LiveExecutor by TRADING_MODE. Live requires explicit human confirmation per trade. Reconciliation every 30–60 seconds against Upstox.
Phase III · Survival:8007
Trade Journal
A desk that doesn't remember can't learn.
Every proposal, gate decision, fill, slippage and fee is persisted with eight-year retention to satisfy SEBI compliance — and structured so the Backtester can replay the exact decision context.
Phase IV · Edge:8008
News Sentinel
The market is also a news ticker.
Monitors institutional newsflow against a YAML-driven keyword → risk-multiplier map. Emits regime-change and event-alert contracts the Risk Manager and Vol Engine subscribe to.
Phase IV · Edge:8009
Backtester
The graduation gate from paper to live.
DuckDB-backed OLAP over historical chains and journal events. Replays past decisions against historical IV surfaces; strategies must clear backtest before paper, paper before live.