Max Pain
Canonical definition, formula, interpretation rules, and live API reference for the max pain strike.
The strike price where total option holder intrinsic value is minimized at expiration — where dealers/option sellers collectively lose the least money. Max pain acts as a gravitational center, especially during expiration week.
max_pain = argmin(Pain(K))
Where K is each candidate strike, OI is open interest for calls and puts at each strike, and the sum runs across all strikes in the chain. The strike that produces the minimum total pain is the max pain strike.
- Gravitational pull: price tends to drift toward max pain as expiration approaches, especially when pin probability is high (> 60%).
- Dealer alignment: when gamma flip, call wall, and put wall converge near max pain, the pinning effect is strongest.
- Breakaway risk: a large directional flow or macro catalyst can override the max pain magnet, especially early in the expiration cycle.
Live Example: SPY
Live SPY max pain data temporarily unavailable. See /stock/spy/max-pain for current values.
Get Max Pain via API
symbol(path, required) — underlying ticker, e.g.SPYexpiration(query, optional) — filter to single expiry (yyyy-MM-dd)
{
"symbol": "SPY",
"underlying_price": number,
"max_pain_strike": number,
"pain_curve": [
{ "strike": number, "total_pain": number }
],
"pin_probability": number,
"dealer_alignment": string
}
curl -H "X-Api-Key: YOUR_KEY" \
https://lab.flashalpha.com/v1/maxpain/SPY
Why Max Pain Matters for Trading
Max pain is the strike where option writers lose the least at expiry — historically, price gravitates toward it on expiry day on liquid names.
- What it measures
- The strike that minimises the combined value of all outstanding options at expiration, computed across the full chain per expiry.
- What it signals
- Where the aggregate option-seller payoff is lowest — i.e. where dealer hedging flow wants to settle.
- Why we measure it
- Option writers (typically dealers) have an implicit interest in pinning price at max pain. When OI is large and concentrated, the mechanical pin forces become real.
- Who uses it
- Expiry-day traders, pin specialists, OPEX scalpers, anyone trading index ETFs into Friday close.
How to read Max Pain
- Pin effect measurable
- Spot drifts toward max pain
- Short strangles centered there work
- Reliable on SPY/SPX/QQQ
- Pin effect absent
- Dealer flow overwhelmed by direction
- Trades fail if size at max pain
- Common earnings/CPI days
- Max pain is statistical noise
- OI too small for pin mechanics
- Use only top-10 liquid tickers
- Ignore signal
Rules of thumb
- Max pain needs OI scale. The pin only happens with enough dealer gamma. SPX/SPY yes, most single stocks no.
- Effect concentrates into the close. Max pain pulls strongest in the last 60 minutes.
- Ignore on catalyst days. Earnings, FOMC, CPI destroy the pin — directional flow dominates.
- Pair with pain curve. A steep, U-shaped pain curve means stronger pin than a shallow one.
- Works with positive gamma. Pin is a dampening effect — negative gamma regimes break it.
How to Read Max Pain
Start with distance. How far is spot from the max pain strike? When spot is within 1% of max pain during expiration week, the pinning effect is strongest — dealer hedging flows act as a gravitational pull, pushing price back toward the strike. The closer to OpEx, the more powerful this effect becomes.
Next check pin probability. This metric estimates the likelihood that the underlying closes at or very near the max pain strike at expiration. A pin probability above 60% suggests strong convergence. Below 40%, other forces (macro catalysts, earnings, large directional flows) are likely to dominate.
Then look at dealer alignment. When the gamma flip, call wall, and put wall all converge near the max pain strike, dealers are positioned to aggressively pull price toward that level. When these levels diverge, the gravitational pull weakens and directional risk increases.
Related Concepts
The price level where net GEX crosses zero — the boundary between positive and negative gamma regimes.
The strike with the highest call gamma concentration — acts as intraday resistance in positive-gamma regimes.
The strike with the highest put gamma concentration — acts as intraday support in positive-gamma regimes.
Net dealer gamma exposure — the hedging force that creates support/resistance and drives mean-reversion or amplification.
The spread between implied and realized volatility — measures whether options are overpriced relative to actual movement.
Learn More
Full guide with dealer mechanics, historical pin rates, and practical trading applications.
Full endpoint reference with parameters, response schema, and tier limits.
Max pain strike and pain curve visualisation for any US equity or ETF.
The dealer hedging force that drives price toward max pain near expiration.
Live for 6,000+ US symbols. One API call, sub-200ms.
Stop scraping chains and coding Black—Scholes from scratch. FlashAlpha computes GEX, DEX, VEX, CHEX, 15 BSM Greeks, SVI surfaces, max pain, VRP and more — fresh every 30s, cached at the edge. Free tier, no credit card, no rate-limit games.