Menu

Computing max pain, gamma exposure and the gamma flip from Cboe's free option chain
📰

Computing max pain, gamma exposure and the gamma flip from Cboe's free option chain

DEV Community: api·Ken-Mutisya·about 10 hours ago
#xVdUOf1S
#devtoapi#devto#dev#strike#const
Reading 0:00
15s threshold

"SPX gamma flip is 7615, dealers are short gamma" is the kind of line that shows up in trading Discords every morning. The data behind it usually sits behind a $50 to $300 a month subscription. Most of it can be computed from one free JSON file, and this post walks through how.

The data: one GET per symbol

Cboe publishes a delayed (about 15 minute) quote for every listed option on a symbol in a single JSON document:

https://cdn.cboe.com/api/global/delayed_quotes/options/SPY.json https://cdn.cboe.com/api/global/delayed_quotes/options/_SPX.json (indexes take an underscore)

Enter fullscreen mode

Exit fullscreen mode

It redirects to cdn-api.cboe.com , needs no key, and returns the underlying's price plus an options array (about 5,000 contracts for TSLA, more for SPX).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.