option_snapshot_greeks_third_order
FreeValueStandardPro
Get a snapshot of third-order Greeks for an option contract: speed, zomma, color, and ultima.
Code Example
rust
let data = tdx.option_snapshot_greeks_third_order("SPY", "20260417", "550", "C").await?;
for t in &data {
println!("date={} ms_of_day={} speed={:.4} zomma={:.4} color={:.4} ultima={:.4} expiration={} strike={:.2}",
t.date, t.ms_of_day, t.speed, t.zomma, t.color, t.ultima, t.expiration, t.strike);
}python
data = tdx.option_snapshot_greeks_third_order("SPY", "20260417", "550", "C")
for t in data:
print(f"date={t.date} ms_of_day={t.ms_of_day} speed={t.speed:.4f} zomma={t.zomma:.4f} "
f"color={t.color:.4f} ultima={t.ultima:.4f} expiration={t.expiration} strike={t.strike:.2f}")typescript
const data = tdx.optionSnapshotGreeksThirdOrder('SPY', '20260417', '550', 'C');
for (const t of data) {
console.log(`date=${t.date} ms_of_day=${t.ms_of_day} speed=${t.speed} zomma=${t.zomma} color=${t.color} ultima=${t.ultima}`);
}cpp
auto data = client.option_snapshot_greeks_third_order("SPY", "20260417", "550", "C");
for (const auto& t : data) {
printf("date=%d ms_of_day=%d speed=%.4f zomma=%.4f color=%.4f ultima=%.4f expiration=%d strike=%.2f\n",
t.date, t.ms_of_day, t.speed, t.zomma, t.color, t.ultima, t.expiration, t.strike);
}Parameters
Parameters are identical to option_snapshot_greeks_all.
symbolstringrequiredUnderlying symbol
expirationstringrequiredExpiration date in
YYYYMMDD formatstrikestringrequiredStrike price in dollars as a string
rightstringrequired"C" for call, "P" for putannual_dividendfloatoptionalOverride annual dividend
rate_typestringoptionalInterest rate type
rate_valuefloatoptionalOverride interest rate value
stock_pricefloatoptionalOverride underlying price
versionstringoptionalGreeks calculation version
max_dteintoptionalMaximum days to expiration
strike_rangeintoptionalStrike range filter
min_timestringoptionalMinimum time of day as milliseconds from midnight
use_market_valuebooloptionalUse market value instead of last trade price
Response
implied_volatilityfloatImplied volatility
speedfloatRate of change of gamma w.r.t. underlying price
zommafloatRate of change of gamma w.r.t. volatility
colorfloatRate of change of gamma w.r.t. time
ultimafloatRate of change of vomma w.r.t. volatility
underlying_pricefloatUnderlying price used
datestringDate
ms_of_dayintMilliseconds from midnight
Sample Response
json
[
{
"date": 20260402, "ms_of_day": 58497982,
"speed": -0.00000841, "zomma": 0.00004523,
"color": -0.00000312, "ultima": 0.00012845,
"expiration": 20260417, "strike": 550.0
}
]Third-order Greeks for SPY 2026-04-17 550 call. Requires Professional subscription.
Notes
- Third-order Greeks are primarily used in advanced hedging and risk management scenarios involving large portfolios or exotic strategies.