option_snapshot_greeks_first_order
FreeValueStandardPro
Get a snapshot of first-order Greeks for an option contract: delta, theta, vega, rho, epsilon, and lambda.
Code Example
rust
let data = tdx.option_snapshot_greeks_first_order("SPY", "20260417", "550", "C").await?;
for t in &data {
println!("date={} ms_of_day={} implied_volatility={:.4} delta={:.4} theta={:.4} vega={:.4} rho={:.4} epsilon={:.4} lambda={:.4} expiration={} strike={:.2}",
t.date, t.ms_of_day, t.implied_volatility, t.delta, t.theta, t.vega, t.rho, t.epsilon, t.lambda, t.expiration, t.strike);
}python
data = tdx.option_snapshot_greeks_first_order("SPY", "20260417", "550", "C")
for t in data:
print(f"date={t.date} ms_of_day={t.ms_of_day} implied_volatility={t.implied_volatility:.4f} delta={t.delta:.4f} theta={t.theta:.4f} "
f"vega={t.vega:.4f} rho={t.rho:.4f} epsilon={t.epsilon:.4f} lambda={t.lambda:.4f} expiration={t.expiration} strike={t.strike:.2f}")typescript
const data = tdx.optionSnapshotGreeksFirstOrder('SPY', '20260417', '550', 'C');
for (const t of data) {
console.log(`date=${t.date} ms_of_day=${t.ms_of_day} implied_volatility=${t.implied_volatility} delta=${t.delta} theta=${t.theta} vega=${t.vega}`);
}cpp
auto data = client.option_snapshot_greeks_first_order("SPY", "20260417", "550", "C");
for (const auto& t : data) {
printf("date=%d ms_of_day=%d implied_volatility=%.4f delta=%.4f theta=%.4f vega=%.4f rho=%.4f epsilon=%.4f lambda=%.4f expiration=%d strike=%.2f\n",
t.date, t.ms_of_day, t.implied_volatility, t.delta, t.theta, t.vega, t.rho, t.epsilon, t.lambda, 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
deltafloatRate of change of option price w.r.t. underlying price
thetafloatRate of change of option price w.r.t. time
vegafloatRate of change of option price w.r.t. volatility
rhofloatRate of change of option price w.r.t. interest rate
epsilonfloatRate of change of option price w.r.t. dividend yield
lambdafloatPercentage change of option price per percentage change of underlying
underlying_pricefloatUnderlying price used
datestringDate
ms_of_dayintMilliseconds from midnight
Sample Response
json
[
{
"date": 20260402, "ms_of_day": 58497982, "implied_volatility": 0.4091,
"delta": 0.9855, "theta": -0.1205, "vega": 4.8813, "rho": 22.1671,
"epsilon": -26.5693, "lambda": 6.0354,
"expiration": 20260417, "strike": 550.0
}
]First-order Greeks for SPY 2026-04-17 550 call.