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 Open-Source TradingView Optimizer
Buy-and-hold SPY: the same rule, scored year by yearranking ·
2026-09-22 · 9×2
In-sample rank versus out-of-sample Sharpe, same 24 cellsranking ·
2026-09-22 · 24×4
The parameter surface: Sharpe by fast length, one line per slow lengthranking ·
2026-09-22 · 6×4
A 24-cell moving-average grid on SPY, ranked by Sharperanking ·
2026-09-22 · 24×2
Reproducible Backtest in Python, No API Key
A 20/50 moving-average crossover on SPY, year by year, against holdingranking ·
2026-08-06 · 9×4
The same 20/50 rule on five liquid names, 2021 through 2025ranking ·
2026-08-06 · 5×4
Same rule, prior-session signal against same-session signal, SPY by yearranking ·
2026-08-06 · 9×4
Learn Quant Trading From an Open Source Book
Twelve months of daily moves: annualized volatility and worst session, eight namesranking ·
2026-08-02 · 8×3
US tickers trading in a June week, and how many still traded in June 2026ranking ·
2026-08-02 · 11×4
Average quoted spread by ET half hour: AAPL and KO, Friday July 17, 2026series ·
2026-08-02 · 16×3
Average distance from one session's close to the next session's open, monthlyseries ·
2026-08-02 · 24×4
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 →