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 g: Vec<GreeksTick> = tdx.option_snapshot_greeks_first_order(
"SPY", "20241220", "500000", "C"
).await?;python
g = tdx.option_snapshot_greeks_first_order("SPY", "20241220", "500000", "C")go
g, err := client.OptionSnapshotGreeksFirstOrder("SPY", "20241220", "500000", "C")cpp
auto g = client.option_snapshot_greeks_first_order("SPY", "20241220", "500000", "C");Parameters
Parameters are identical to option_snapshot_greeks_all.
symbolstringrequiredUnderlying symbol
expirationstringrequiredExpiration date in
YYYYMMDD formatstrikestringrequiredStrike price as scaled integer
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