Open-Source GEX Dashboard: How It Works
The same chain, a different question: in the money value by settlement priceranking ·
2026-10-04 · 23×2
Gross SPY call and put gamma against the net, trailing 60 calendar daysseries ·
2026-10-04 · 41×5
Signed SPY gamma exposure by expiry, next three weeksranking ·
2026-10-04 · 11×4
SPY gamma exposure by strike, latest session, contracts inside 30 daystable ·
2026-10-04 · 23×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 |
|---|---|
| $754 | 0.72 |
| $755 | 0.64 |
| $756 | 0.56 |
| $757 | 0.49 |
| $758 | 0.43 |
| $759 | 0.37 |
| $760 | 0.32 |
| $761 | 0.29 |
| $762 | 0.28 |
| $763 | 0.27 |
| $764 | 0.29 |
| $765 | 0.32 |
| $766 | 0.37 |
| $767 | 0.43 |
| $768 | 0.49 |
| $769 | 0.56 |
| $770 | 0.64 |
| $771 | 0.72 |
| $772 | 0.81 |
| $773 | 0.91 |
| $774 | 1.01 |
| $775 | 1.11 |
| $776 | 1.21 |
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 41×5
→
SPY gamma exposure by strike, latest session, contracts inside 30 days
table 23×5
→
SPY options median spread by expiration date, near-the-money strikes only
ranking 25×4
→
See all 3,256 queries →