option_snapshot_greeks_second_order
FreeValueStandardPro
Get a snapshot of second-order Greeks for an option contract: gamma, vanna, charm, vomma, and veta.
Code Example
rust
let g: Vec<GreeksTick> = tdx.option_snapshot_greeks_second_order(
"SPY", "20241220", "500000", "C"
).await?;python
g = tdx.option_snapshot_greeks_second_order("SPY", "20241220", "500000", "C")go
g, err := client.OptionSnapshotGreeksSecondOrder("SPY", "20241220", "500000", "C")cpp
auto g = client.option_snapshot_greeks_second_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
gammafloatRate of change of delta w.r.t. underlying price
vannafloatRate of change of delta w.r.t. volatility
charmfloatRate of change of delta w.r.t. time (delta decay)
vommafloatRate of change of vega w.r.t. volatility
vetafloatRate of change of vega w.r.t. time
underlying_pricefloatUnderlying price used
datestringDate
ms_of_dayintMilliseconds from midnight