๐๏ธ Institutional Strategy Philosophy & Auction Mechanics
Theoretical foundation, order-book microstructure, behavioral arbitrage, and non-negotiable structural invariants governing this setup.
Order Book Mechanics & Liquidity Transfer
Cumulative Volume Delta (CVD) & Institutional Absorption: Price reflects transactions, but Volume Delta (Δ = Aggressive Buys - Aggressive Sells) reveals the intent of market participants crossing the spread. When price prints a higher high while CVD prints a lower high or negative delta, a massive order flow divergence occurs.
Auction Market Theory & Physical Edge
Auction Market Theory & The Limit Order Wall: Absorption occurs when aggressive retail market buyers are continuously hitting the ask, yet price refuses to expand upward. This proves that an institutional participant has placed a massive resting passive limit sell order that is absorbing all retail buying power. Once retail buying is exhausted, price collapses under its own weight.
Structural Invariants & Risk Anchoring
Structural Invariants & Gate 5b Invariant: Divergence at swing extremes signals imminent exhaustion. Validated against Invariant 3 (Fix B: Stop loss anchored beyond the absorption wick extreme). Invariant 4 ensures that option noise does not trigger premature exits while absorption plays out.
Behavioral Arbitrage & Cognitive Biases
Behavioral Arbitrage & The Exhaustion Trap: Retail traders buy aggressively at new highs because green candles trigger emotional FOMO. They are oblivious to the fact that their buying is being absorbed into institutional limit orders. When the bid evaporates, trapped retail longs panic-sell, fueling our Put option trade.
Derivative Execution & 5-Lever Integration
Derivative Execution & 5-Lever Integration: Executed using deep ITM Puts/Calls (Δ 0.68โ0.78, Lever 3) for maximum sensitivity to delta reversal. Governed by Profile C (Quick Harvest), locking 50% at +1.2R and 30% at +2.0R as absorption converts to rapid liquidation.
๐ 5-Stage Production Audit & Latest Architectural Upgrades (Oct 2026)
Forensic progression across the 14-session production dataset (Oct 06 โ Oct 23, 2026) from Legacy Baseline (Stage 0) through Stage 4 Peer Review & Calibration.
| Upgrade Stage & Identifier | Codebase Modification & Quantified Production Impact |
|---|---|
| Stage 1 ยท Counter-Trend Runaway Filter | Blocked fading runaway high-ADX trend expansions without structural exhaustion, eliminating 1 losing trade (+โน1,318.80 saved) and lifting Win Rate to 100.0%. |
| Stage 3 ยท Bug #1 (Same-Bar Confluence Debounce) | Fixed time_diff == 0.0 self-blocking during multi-strategy confluence evaluation via 0 < time_diff < min_spacing_seconds. |
| Stage 4 ยท PR #1 & #4 (Live REVERSAL Regime & 1.60R Option Gate) | Integrated live MarketRegime.REVERSAL classification and Gate 6 1.60R option-space R:R verification. |
๐ Phase 1: Structural Setup & Context
Key reference structure established on NIFTY 5-minute chart with resting institutional liquidity.
โ๏ธ Quantitative Quality Gates & Stage 4 Entry Filters
The strategy enforces strict fail-fast validation before computing the single-pass multi-factor confluence score:
| Filter / Quality Gate | Condition & Mathematical Threshold | Operational Impact & Protection |
|---|---|---|
| CVD Divergence & Absorption | OrderFlowIndicator confirms price vs delta divergence | Detects passive institutional limit absorption |
| Absorption Volume Gate | RVOL >= 1.15x AND Participation Ratio >= 0.70 | Proves genuine volume traded into the absorption wall |
| Rejection Wick Gate | Rejection Wick >= 25.0% of candle range | Confirms price rejection from the extreme |
| Spot Risk Cap | Spot Risk <= 30.0 pts (4.0 pt buffer) | Bounds stop-loss distance behind divergent extreme |
| Option-Space R:R Gate (PR #4) | Option R:R >= 1.60R (Gate 6 Verified) | Ensures high option reward-to-risk |
๐ Risk Geometry & 2-Lot Profit Booking Execution
LOT_SIZE) scaled by setup.heat_multiplier (1.40x / 1.20x Top-Spine, 1.35x / 1.15x Standard, 0.75x Capped) and gated by min_reward_risk_ratio: 1.60 in option-premium space.
๐ฏ Option Strike & DTE-Aligned Greeks Architecture
ExchangeCalendar.
OrderFlowDivergenceStrategySource File:
nifty_expansion_runner/strategies/order_flow_divergence.py