Skip to content

option_history_greeks_first_order

FreeValueStandardPro

Retrieve first-order Greeks (delta, theta, vega, rho, epsilon, lambda) sampled at a given interval throughout a trading day.

Code Example

rust
let g: Vec<GreeksTick> = tdx.option_history_greeks_first_order(
    "SPY", "20241220", "500000", "C", "20240315", "60000"
).await?;
python
g = tdx.option_history_greeks_first_order("SPY", "20241220", "500000", "C",
                                              "20240315", "60000")
go
g, err := client.OptionHistoryGreeksFirstOrder("SPY", "20241220", "500000", "C",
    "20240315", "60000")
cpp
auto g = client.option_history_greeks_first_order("SPY", "20241220", "500000", "C",
                                                    "20240315", "60000");

Parameters

Parameters are identical to option_history_greeks_all.

symbolstringrequired
Underlying symbol
expirationstringrequired
Expiration date in YYYYMMDD format
strikestringrequired
Strike price as scaled integer
rightstringrequired
"C" for call, "P" for put
datestringrequired
Date in YYYYMMDD format
intervalstringrequired
Sampling interval in milliseconds
annual_dividendfloatoptional
Override annual dividend
rate_typestringoptional
Interest rate type
rate_valuefloatoptional
Override interest rate value
versionstringoptional
Greeks calculation version
strike_rangeintoptional
Strike range filter

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 per percentage change of underlying
underlying_pricefloat
Underlying price
datestring
Date
ms_of_dayint
Milliseconds from midnight

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