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, VRP — the maths.
Black-Scholes pricing, full Greeks, IV rank and percentile, the variance risk premium against rolling realized vol, EWMA forecast, quartic smile 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, NSDL FPI derivative-flow z-scores. 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, broken-wing, jade lizard. Returns typed proposals with payoff models, breakevens, cost-adjusted POP after STT + slippage, plus a mid-trade adjustment advisor (close / roll / take-half / hold).
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, vega-event warnings, delta-based OI limits — plus portfolio Greeks aggregation, ±1σ/±2σ scenario stress, drawdown-derisk autopilot, and vol-targeted sizing.
Phase III · Survival:8006
Trade Executor
Demo, Paper, Live — one dispatch surface.
Single MCP surface dispatching to DemoExecutor, PaperExecutor, or LiveExecutor. Live trades use marketable LIMIT pricing at the touch (BUY @ best_ask, SELL @ best_bid) for ~2 bps/leg slippage savings vs blind MARKET. Reconciliation every 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 persisted with eight-year retention. Weekly per-template attribution, behavioral pattern detectors (revenge / overtrading / FOMO / size-inflation), structured for the Backtester to replay decision context.
Phase IV · Edge:8008
News Sentinel
The market is also a news ticker.
FinBERT INT8 sidecar plus a YAML-driven keyword → risk-multiplier map. Recall benchmark 1.000 on a stratified 145-event gold set. 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. Monte Carlo, walk-forward, regime split, KS + Welch's t live-vs-backtest drift, vectorized parameter sweep. Strategies must clear backtest before paper, paper before live.