Options max pain by expiration
quantdata_max_painCalculates options max pain per expiration from open interest alone, returning put/call ratio and heaviest call/put strikes for US stocks and ETFs. Reports the prior session's positioning with as_of and spot_date.
Instructions
Options max pain per expiration, computed from open interest alone: the strike at which option buyers lose the most in aggregate if the underlying settled there. Pure arithmetic — no pricing model, no volatility assumption, so anyone with the same chain gets the same number. Also returns put/call ratio and the heaviest call and put open-interest strikes. Returns every expiration inside 45 days rather than picking one, because the figure is per-expiration and the near- and far-dated values routinely disagree. US listed stocks and ETFs only: cash-settled index options (SPX, NDX, RUT, VIX) return an error — use SPY, QQQ, IWM. Open interest settles overnight, so this describes the prior session's positioning; report as_of and spot_date alongside the number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | US listed stock or ETF ticker, e.g. NVDA or SPY. | |
| distribution | No | Include the full open-interest distribution by strike. Large; only request it when the user wants strike detail. |