What does Dealer Gamma and Volatility Harvesting conclude, in numbers, about “Gamma Near Expiry: a Spike, Not a Wall”?
Answer: Chapter 1 shows that gamma near expiry is a spike, not a wall: with thirty minutes left at-the-money gamma is 19.76 times its 30-day value, but the strike half-width over which it is large shrinks from +8.726 % to +0.413 %.
Scope of the numbers: It is not investment advice. Boxes separate evidence, runnable Python (16 programs), sources and hypotheses; all data are synthetic unless cited.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.413, 19.76, 30, 8.726
| A. At-the-money gamma and theta as expiry approaches | |
| tenor gamma x 30-day theta/day | 1-sd move |
| 30 trading days | 0.0578 1.00 -0.046 6.901 % |
| 7 trading days | 0.1197 2.07 -0.095 3.333 % |
| 1 trading day | 0.3166 5.48 -0.251 1.260 % |
| 2 hours | 0.5708 9.88 -0.453 0.699 % |
| 30 minutes | 1.1417 19.76 -0.906 0.349 % |
| gamma ratio 30 days / 30 minutes predicted by 1/sqrt(T) | 19.75 |
| B. Gamma at strikes away from the money, as a share of ATM gamma | |
| strike offset | 30 days 1 day 2 hours 30 minutes |
| 0.0 % | 1.000 1.000 1.000 1.00000 |
| 0.5 % | 1.000 0.927 0.777 0.36198 |
| 1.0 % | 0.995 0.736 0.365 0.01743 |
| 2.0 % | 0.969 0.294 0.018 0.00000 |
| 3.0 % | 0.926 0.065 0.000 0.00000 |
| C. Strike half-width at which gamma falls to half its ATM value | |
| 30 trading days +8.726 % | |
| 7 trading days +4.061 % | |
| 1 trading day +1.503 % | |
| 2 hours +0.829 % | |
| 30 minutes +0.413 % | |
| Reading | 0DTE gamma is a spike, not a wall. It is larger at the money |
| and narrower in strike by the same factor, 1/sqrt(T). |
Show the full program
# Chapter 1. Black-Scholes Greeks from first principles (standard library
# only).
# Question: how does the gamma of an at-the-money option scale as expiry
# approaches, and how wide is the strike range over which that gamma is large?
# Conventions: S = 100, sigma = 0.20 a year, r = 0, 252 trading days of 6.5
# hours.
import math
def phi(x):
return math.exp(-0.5 * x * x) / math.sqrt(2.0 * math.pi)
def Phi(x):
return 0.5 * (1.0 + math.erf(x / math.sqrt(2.0)))
def d1(S, K, sig, T):
return (math.log(S / K) + 0.5 * sig * sig * T) / (sig * math.sqrt(T))
def gamma(S, K, sig, T):
return phi(d1(S, K, sig, T)) / (S * sig * math.sqrt(T))
def theta_per_day(S, K, sig, T):
# call theta with r = 0, per trading day
return -S * phi(d1(S, K, sig, T)) * sig / (2.0 * math.sqrt(T)) / 252.0
S, SIG = 100.0, 0.20
HOURS = 252 * 6.5
TENORS = [("30 trading days", 30 / 252), ("7 trading days", 7 / 252),
("1 trading day", 1 / 252), ("2 hours", 2 / HOURS),
("30 minutes", 0.5 / HOURS)]
if __name__ == "__main__":
print("A. At-the-money gamma and theta as expiry approaches")
print(" tenor gamma x 30-day theta/day 1-sd move")
g30 = gamma(S, S, SIG, 30 / 252)
for name, T in TENORS:
g = gamma(S, S, SIG, T)
print(
" {:<16}{:8.4f}{:10.2f}{:12.3f}{:10.3f} %".format(
name,
g,
g / g30,
theta_per_day(S, S, SIG, T),
100 * SIG * math.sqrt(T),
)
)
print(
" gamma ratio 30 days / 30 minutes predicted by 1/sqrt(T): {:.2f}"
.format(math.sqrt((30 / 252) / (0.5 / HOURS)))
)
print(
"\nB. Gamma at strikes away from the money, as a share of ATM gamma"
)
print(" strike offset 30 days 1 day 2 hours 30 minutes")
for off in (0.0, 0.5, 1.0, 2.0, 3.0):
K = S * (1 + off / 100)
row = [gamma(S, K, SIG, T) / gamma(S, S, SIG, T) for _, T in
(TENORS[0], TENORS[2], TENORS[3], TENORS[4])]
print(
" {:>5.1f} % {:8.3f}{:8.3f}{:10.3f}{:12.5f}".format(
off, *row
)
)
print("\nC. Strike half-width at which gamma falls to half its ATM value")
for name, T in TENORS:
lo, hi = 0.0, 50.0
for _ in range(80):
mid = 0.5 * (lo + hi)
if gamma(S, S * (1 + mid / 100), SIG, T) > 0.5 * gamma(
S, S, SIG, T
):
lo = mid
else:
hi = mid
print(" {:<16} +{:.3f} %".format(name, lo))
print(
"\nReading: 0DTE gamma is a spike, not a wall. It is larger at the"
" money"
)
print("and narrower in strike by the same factor, 1/sqrt(T).")Single source and citation
Fan, Y. (2026). Dealer Gamma Exposure, Zero-Day Options and Volatility Harvesting Dynamics (Version 1.0.0), Chapter 1: Gamma Near Expiry: a Spike, Not a Wall. 5D Library. https://doi.org/10.5281/zenodo.24090160
DOI: 10.5281/zenodo.24090160 · Read the monograph · 5DL-B-056 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026056,
author = {Fan, Yafu},
title = {Dealer Gamma Exposure, Zero-Day Options and Volatility Harvesting Dynamics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090160},
url = {https://doi.org/10.5281/zenodo.24090160}
}Other chapter answers in this book
- Chapter 2 · The Hedging Feedback Loop and Strike Pinning
- Chapter 3 · What a GEX Chart Can Know: the Sign Is Not in the Data
- Chapter 4 · Selling Volatility: the Win Rate Says Nothing, the Tail Says Everything
- Chapter 5 · Buying the Tail Back, Hedging in Discrete Time, and the Net Sharpe Ratio
- Chapter 6 · Variance Swaps: Replication, Skew, Jumps and Convexity
- Chapter 7 · Gathering and Scattering: the Guanzi, the Balanced Standard and the Limits of a Stabiliser
- Chapter 8 · A Four-Step Check and a Pre-Registered Test