惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
GbyAI
GbyAI
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
月光博客
月光博客
I
InfoQ
V
Visual Studio Blog
罗磊的独立博客
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
Jina AI
Jina AI
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
The Cloudflare Blog
小众软件
小众软件
雷峰网
雷峰网
V
V2EX
人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
SPXW 0DTE: What Every Developer Building Options Tools Ne...
tomasz dobro · 2026-04-29 · via DEV Community

tomasz dobrowolski

If you've built anything involving options data, you've probably noticed that "SPX 0DTE" is everywhere on fintwit, Discord, and trading blogs. The thing most guides gloss over is that plain SPX doesn't actually have same-day expirations every day. What everyone means when they say "SPX 0DTE" is SPXW — a different ticker with different settlement and different Greeks behavior.

I build an options analytics API, and the distinction matters enough that every developer touching options data should understand it before their dashboard lies to them.

SPX, SPXW, XSP — the one that's actually 0DTE

Three S&P 500 option tickers trade on Cboe. Only one gives you same-day expirations every trading day:

Ticker Listing cadence Settlement Contract size
SPX Third-Friday AM expirations AM cash-settled $100 × index
SPXW Mon/Tue/Wed/Thu/Fri PM expirations PM cash-settled $100 × index
XSP Mon-Fri PM PM cash-settled $10 × index

Plain SPX has no Monday, Tuesday, Wednesday, or Thursday expirations. Only the monthly AM-settled contract. SPXW is where the daily 0DTE volume lives.

Two consequences for anyone modeling it:

  1. No assignment risk. SPXW is European-style and cash-settled. An SPXW put closing $0.05 ITM at 4:00 PM pays cash, not stock. You don't need early-exercise logic in your code.
  2. Cleaner Greeks at close. SPY 0DTE gets fuzzy near 4:00 PM because ITM American contracts can be assigned overnight. SPXW doesn't have that problem — the Greeks you compute at 3:55 PM describe the remaining five minutes exactly.

This is also why SPXW tends to have higher 0DTE gamma concentration than SPY on comparable volume. European-style means every open contract contributes to hedging flow right through 4:00 PM instead of melting off via early exercise.

Why it moves the tape

The mechanical reason is identical to any 0DTE, just larger scale. At-the-money gamma scales as:

Γ_ATM ≈ 1 / (S · σ · √(2π · T))

Enter fullscreen mode Exit fullscreen mode

When T is measured in hours instead of weeks, ATM gamma is 3-10x higher than equivalent weekly contracts, and 10x+ in the final 30 minutes. Dealers short that gamma trade exponentially more shares for the same percentage move in the index.

On a $6,000 SPX with $200B+ in SPXW open interest, this isn't a retail phenomenon. These hedging flows can dominate entire afternoon sessions.

The gamma flip is the switch

Above the 0DTE gamma flip, dealers are net long gamma. They sell into rallies, buy into dips, dampen ranges. Below the flip, they amplify — a routine 20-point oscillation becomes a 60-point move.

The part that burns people: the flip moves intraday. A flip at $5,950 at 10 AM can slide to $5,935 by 2 PM as 0DTE positions decay and roll. A static GEX chart from yesterday's close is worse than useless — you need the current session's 0DTE aggregate.

The four numbers that actually matter

If you're building a 0DTE dashboard, these four values are the entire point:

  1. Gamma regimepositive_gamma or negative_gamma for the session
  2. Pin score (0-100) — probability price gets magnetised to a strike by 4 PM. Composite of OI concentration, magnet proximity, time remaining, and gamma magnitude
  3. Remaining expected move (1σ) — how far price can credibly travel before close. Shrinks in real time — a $40 expected move at 10 AM is a $12 expected move at 2:30 PM
  4. Dealer hedging at ±0.5% — estimated shares dealers must buy or sell for a half-percent move. Absolute value tells you how sharp intraday reactions will be

Read together:

Regime Pin score Expected move Implication
Positive >70 Small Classic pin day — range-bound, fade extremes
Positive <40 Medium No pin, dampened — drift toward magnet, no breakout
Negative Any Large Trend day risk — dealers amplify, buy breakouts
Negative Transitioning Large, widening Gamma flip breach incoming — highest-risk setup

These combinations replace 80% of the chart patterns most 0DTE traders reach for. Not a crystal ball — a statement about which way dealer hedging flows will push, which is the structural component every chart pattern is a shadow of.

Pulling SPXW 0DTE from an API

Here's how I fetch it. Replace with whatever provider you use, or swap SPXW for SPY, QQQ, NVDA — the shape is the same across symbols:

import requests

r = requests.get(
    "https://lab.flashalpha.com/v1/exposure/zero-dte/SPXW",
    headers={"X-Api-Key": "YOUR_API_KEY"}
)
d = r.json()

print(f"Regime:          {d['regime']['label']}")
print(f"0DTE gamma flip: ${d['regime']['gamma_flip']:.2f}")
print(f"Pin score:       {d['pin_risk']['pin_score']}/100")
print(f"Remaining move:  ±${d['expected_move']['remaining_1sd_dollars']:.2f}")
print(f"Pct of chain:    {d['exposures']['pct_of_total_gex']:.0f}%")

Enter fullscreen mode Exit fullscreen mode

Useful fields if you're building UI on top of this:

  • regime.labelpositive_gamma, negative_gamma, or undetermined
  • regime.gamma_flip — 0DTE-specific flip level (distinct from the full-chain GEX flip, which matters less intraday)
  • pin_risk.pin_score — 0 to 100, weighted composite
  • pin_risk.magnet_strike — the strike being pulled toward
  • expected_move.remaining_1sd_dollars — shrinking dollar 1σ until close
  • expected_move.upper_bound / lower_bound — the band you draw on a GEX chart
  • hedging.spot_up_half_pct / spot_down_half_pct — dealer shares per ±0.5% move (more relevant for 0DTE than ±1%)
  • decay.gamma_acceleration — 0DTE ATM gamma / 7DTE ATM gamma, typically 2-5x morning, 10x+ near close
  • strikes[] — per-strike call GEX, put GEX, net GEX, call/put OI

If you're rate-limited on a free tier, cache the regime fields for 60 seconds and only refresh strikes[] on user interaction.

SPXW vs SPY for 0DTE — developer-relevant differences

Both are liquid enough to treat as interchangeable index exposure. For modeling purposes, the practical differences:

Feature SPXW SPY
Notional per contract ~10× SPY
US tax treatment 60/40 under §1256 Short-term capital gains
Settlement Cash (European) Physical (American, assignment risk)
Bid-ask at ATM 0DTE ~$0.05-0.10 index ~$0.01-0.02 on 1/10-size
Listing days Mon-Fri Mon/Wed/Fri (Tue/Thu added 2024)

For any systematic strategy, SPXW is the institutional default. For retail-sized accounts, SPY has finer-grained pricing. For the analytics code you write, the per-strike gamma and pin behavior are identical — just different symbol in the path parameter.

The TL;DR

"SPX 0DTE" on any desk or chat means SPXW. Cash-settled, European-style, same-day expirations every trading day. The four numbers that describe today's session — regime, pin score, remaining expected move, hedging at ±0.5% — change every time the tape moves.

Read them live. Don't cache them.


I maintain FlashAlpha — an options analytics API with pre-computed GEX, DEX, VEX, CHEX and SVI volatility surfaces. Free tier, no card. Happy to answer questions about the data model in the comments.