Skip to content

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.

symbolstringrequired
Underlying symbol
expirationstringrequired
Expiration date in YYYYMMDD format
strikestringrequired
Strike price as scaled integer
rightstringrequired
"C" for call, "P" for put
annual_dividendfloatoptional
Override annual dividend
rate_typestringoptional
Interest rate type
rate_valuefloatoptional
Override interest rate value
stock_pricefloatoptional
Override underlying price
versionstringoptional
Greeks calculation version
max_dteintoptional
Maximum days to expiration
strike_rangeintoptional
Strike range filter
min_timestringoptional
Minimum time of day as milliseconds from midnight
use_market_valuebooloptional
Use market value instead of last trade price

Response

implied_volatilityfloat
Implied volatility
deltafloat
Rate of change of option price w.r.t. underlying price
thetafloat
Rate of change of option price w.r.t. time
vegafloat
Rate of change of option price w.r.t. volatility
rhofloat
Rate of change of option price w.r.t. interest rate
epsilonfloat
Rate of change of option price w.r.t. dividend yield
lambdafloat
Percentage change of option price per percentage change of underlying
underlying_pricefloat
Underlying price used
datestring
Date
ms_of_dayint
Milliseconds from midnight

Released under the GPL-3.0-or-later License.