8-k-scanner
Scan SEC 8-K disclosures across a single ticker or a watchlist using Massive's pre-parsed disclosure taxonomy. Groups the…
Estimate net dealer gamma exposure (GEX) for same-day-expiry (or nearest-expiry) SPY / SPX / QQQ / IWM options and identify gamma pins. Uses Black-Scholes gamma applied to reported open interest with a standard dealer positioning assumption (short customer calls, long customer
Claude Code
$ npx -y skills add rgourley/quant-garage --skill zero-dte-gamma --agent claude-code
Codex
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a codex -y
Cursor
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a cursor -y
Gemini CLI
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a gemini-cli -y
GitHub Copilot
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a github-copilot -y
OpenCode
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a opencode -y
Windsurf
$ npx skills add rgourley/quant-garage --skill zero-dte-gamma -a windsurf -y
name: zero-dte-gamma description: Estimate net dealer gamma exposure (GEX) for same-day-expiry (or nearest-expiry) SPY / SPX / QQQ / IWM options and identify gamma pins. Uses Black-Scholes gamma applied to reported open interest with a standard dealer positioning assumption (short customer calls, long customer puts). Reports net dealer gamma, gamma regime (long / short), gamma flip strike, and top 5 gamma pin strikes with per-side notional gamma. Motivated by 2024-25 research on how 0DTE options now drive systematic intraday moves through market-maker delta hedging pressure. Requires Options Developer.
You hand over an underlying (default SPY). The skill pulls the options chain snapshot for the nearest expiry, computes per-contract gamma exposure using Black-Scholes greeks and reported open interest, aggregates by strike, and reports the net dealer gamma regime along with the top pins.
Motivated by 2024-25 research (Baltussen-Terhorst-Van Vliet 2024, Bhattacharya 2024, others) documenting that 0-day-to-expiration options now drive systematic intraday moves through market-maker delta hedging pressure. This phenomenon didn't exist meaningfully before 2022 (when CBOE expanded 0DTE availability); by 2024-25 it's a first-order intraday factor.
against price moves, compressing intraday range. Late-day chop typical. Sell-vol strategies favored.
the market, amplifying moves. Trend days more likely, especially in the last hour. Buy-vol / breakout strategies favored.
crosses zero. Break past it and the hedging regime changes.
interest gamma. Spot tends to gravitate toward these on expiry day.
"dealer positioning"
Not for: single-name equity options (this is calibrated to index / ETF flow assumptions). Not for real-time (this is snapshot-based; end-of-day is fine, intraday drift can be substantial).
NOT_AUTHORIZED tier caveat without it.
Optional:
nearest listed expiration to today.
or IV field is missing on a contract.
Two output layers.
**Layer 1: canonical JSON**. Per-strike `call_gamma_notional`, `put_gamma_notional`, `dealer_gex`, `cum_dealer_gex`, `call_oi`, `put_oi`. Top-level `net_dealer_gex`, `gamma_regime`, `gamma_flip_strike`, `top_gamma_pins` (top 5 by absolute notional), plus `spot`, `days_to_expiration`, and full `gamma_by_strike` for downstream consumers.
**Layer 2: rendered note**. Header + regime label + gamma flip level, top 5 pin table, one-line Take.
1. **Pick nearest expiry** from `/v3/reference/options/contracts?underlying_ticker={U}`. 2. **Fetch chain snapshot** from `/v3/snapshot/options/{U}?expiration_date={D}`. Massive returns per-contract greeks + open interest + IV. 3. **Compute gamma** per contract. Prefer Massive's returned gamma; fall back to Black-Scholes with the reported IV (or `default_iv` when missing). 4. **Cash gamma** per contract = gamma × OI × 100 × spot² / 100. This is dollar-gamma per 1% underlying move. 5. **Dealer positioning assumption**: short customer calls, long customer puts. So `dealer_gex(call) = -cash_gamma`, `dealer_gex(put) = +cash_gamma`. This is the standard 0DTE convention; not exact for any given book, but consistent across time. 6. **Aggregate per strike**, compute cumulative GEX walking from lowest to highest strike, find gamma-flip strike where cumulative crosses zero. 7. **Top pins** = strikes with the largest total notional gamma (call + put), sorted descending.
retry, and options chain snapshot.
Narrative note with a per-strike table. A single expiry chain produces 50-200 strikes; the top-5 pin table is the digestible view.
(list expirations)
(chain snapshot with greeks + OI)
(spot fallback chain)
same aggregation onto the options WebSocket.
d²/dS/dσ, charm = d²/dS/dt) are the natural next layer for a full "dealer hedging response" model.
is retail-flow convention. On event days (Fed, CPI, earnings), actual dealer books can invert.
where the flow assumption holds. Single-name equity gamma has different flow dynamics.
consistent IV surface would be a real research extension.
These are clean PR extensions.
Trade like a pro. Without the terminal. View the full landing page → Quant and equity research tools that run inside Claude, or behind your own UI.
Scan SEC 8-K disclosures across a single ticker or a watchlist using Massive's pre-parsed disclosure taxonomy. Groups the…
Track sell-side analyst positioning on a name via Benzinga Analyst Ratings. Pulls every rating event over the lookback window,…
Build a clean, point-in-time, ready-to-backtest OHLCV dataset for a US equity universe across an arbitrary date window. Emits…
Bayesian Online Change-Point Detection (BOCPD) on a ticker's daily log returns. Detects points in time where the…
Single-commodity macro read. Answers "is this commodity in a winning or losing macro setup right now" and names the macro driver…
Reconcile a position file against splits, dividends, and spinoffs to catch breaks before they hit P&L or T+1 settlement. Use when…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…