Skip to content

option_history_greeks_third_order

FreeValueStandardPro

Retrieve third-order Greeks (speed, zomma, color, ultima) sampled at a given interval throughout a trading day.

Code Example

rust
let g: Vec<GreeksTick> = tdx.option_history_greeks_third_order(
    "SPY", "20241220", "500000", "C", "20240315", "60000"
).await?;
python
g = tdx.option_history_greeks_third_order("SPY", "20241220", "500000", "C",
                                              "20240315", "60000")
go
g, err := client.OptionHistoryGreeksThirdOrder("SPY", "20241220", "500000", "C",
    "20240315", "60000")
cpp
auto g = client.option_history_greeks_third_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
speedfloat
Rate of change of gamma w.r.t. underlying price
zommafloat
Rate of change of gamma w.r.t. volatility
colorfloat
Rate of change of gamma w.r.t. time
ultimafloat
Rate of change of vomma w.r.t. volatility
underlying_pricefloat
Underlying price
datestring
Date
ms_of_dayint
Milliseconds from midnight

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