Open-Source GEX Dashboard: How It Works
The same chain, a different question: in the money value by settlement priceranking ·
2026-11-07 · 22×2
Gross SPY call and put gamma against the net, trailing 60 calendar daysseries ·
2026-11-07 · 44×5
Signed SPY gamma exposure by expiry, next three weeksranking ·
2026-11-07 · 11×4
SPY gamma exposure by strike, latest session, contracts inside 30 daystable ·
2026-11-07 · 22×5
The same chain, a different question: in the money value by settlement price
The same chain, a different question: in the money value by settlement price
| settle_price | itm_value_bn |
|---|---|
| $726 | 0.49 |
| $727 | 0.44 |
| $728 | 0.4 |
| $729 | 0.35 |
| $730 | 0.31 |
| $731 | 0.28 |
| $732 | 0.25 |
| $733 | 0.22 |
| $734 | 0.2 |
| $735 | 0.18 |
| $736 | 0.16 |
| $737 | 0.15 |
| $738 | 0.15 |
| $739 | 0.15 |
| $740 | 0.15 |
| $741 | 0.17 |
| $742 | 0.18 |
| $743 | 0.2 |
| $744 | 0.23 |
| $745 | 0.25 |
| $746 | 0.28 |
| $747 | 0.31 |
the exact SQL behind every number
WITH chain AS
(
SELECT
toFloat64(strike_price) AS k,
if(lower(option_type) LIKE 'c%', 'call', 'put') AS side,
sum(toFloat64(volume)) AS contracts,
min(abs(toFloat64(strike_price) / toFloat64(underlying_close) - 1)) AS moneyness
FROM global_markets.options_greeks
WHERE underlying_symbol = 'SPY'
AND date = (SELECT max(date) FROM global_markets.options_greeks WHERE underlying_symbol = 'SPY')
AND volume > 0
AND days_to_expiry BETWEEN 0 AND 7
GROUP BY k, side
)
SELECT
concat('$', toString(round(sk))) AS settle_price,
round(sum(multiIf(
side = 'call' AND sk > k, (sk - k) * contracts * 100,
side = 'put' AND sk < k, (k - sk) * contracts * 100,
0)) / 1e9, 2) AS itm_value_bn
FROM (SELECT DISTINCT k AS sk FROM chain WHERE moneyness <= 0.015) AS grid
CROSS JOIN chain
GROUP BY sk
ORDER BY sk
More from this analysisOpen-Source GEX Dashboard: How It Works
Signed SPY gamma exposure by expiry, next three weeks
ranking 11×4
→
Gross SPY call and put gamma against the net, trailing 60 calendar days
series 44×5
→
SPY gamma exposure by strike, latest session, contracts inside 30 days
table 22×5
→
SPY options median spread by expiration date, near-the-money strikes only
ranking 25×4
→
See all 3,293 queries →