DEV Community

tomasz dobrowolski
tomasz dobrowolski

Posted on • Originally published at flashalpha.com

SPXW 0DTE: What Every Developer Building Options Tools Needs to Know

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.

Top comments (0)