Hedging
Gamma, charm and color describe how a delta hedge drifts with the underlying and with time, which dominates the risk of short-dated and 0DTE positions.
55 Greeks per contract, first to third order, mixed terms included, exact to double precision against a 50-digit reference and identical on every supported CPU and GPU.
Variables: the underlying S, volatility σ, the interest rate r, the dividend yield q and time t. Values are simulated for a synthetic SPY monthly at-the-money call, in raw units (time in years). Select a Greek to see it across the chain simulation.
Loading…
Gamma, charm and color describe how a delta hedge drifts with the underlying and with time, which dominates the risk of short-dated and 0DTE positions.
Vanna and vomma measure how a volatility position reacts when spot and volatility move together, the main driver of skew and convexity P&L.
Second- and third-order terms, including the cross terms, close the gap between a first-order explain and the realised P&L on large moves.
Every value is validated against a high-precision reference and is identical across supported hardware, so independent checks compare by equality.
Matched work: the same Greeks for the same book in every implementation, in double precision.
Intel Sapphire Rapids, 16 threads, matched work. Milliseconds per book
| Implementation | ms per book | Worst relative error |
|---|---|---|
| Option Valley, standard accuracy | 6.24 | 6.2e-11 |
| Option Valley, high accuracy | 18.8 | 1.9e-13 |
| torch.compile | 50.6 | 1.6e-11 |
8 Greeks per option, float64, milliseconds per book. Lower is faster
| Chip | Option Valley (ms) | Best baseline (ms) | Baseline |
|---|---|---|---|
| Intel Sapphire Rapids | 3.13 | 5.95 | torch.compile |
| AMD Zen 4 | 2.31 | 4.11 | torch.compile |
| AWS Graviton4 | 2.97 | 22.9 | torch.compile |
| NVIDIA L4 | 1.92 | 4.9 | JAX |