option_history_greeks_eod
FreeValueStandardPro
Retrieve end-of-day Greeks history for an option contract across a date range.
Code Example
rust
let g: Vec<GreeksTick> = tdx.option_history_greeks_eod(
"SPY", "20241220", "500000", "C", "20240101", "20240301"
).await?;python
g = tdx.option_history_greeks_eod("SPY", "20241220", "500000", "C",
"20240101", "20240301")go
g, err := client.OptionHistoryGreeksEOD("SPY", "20241220", "500000", "C",
"20240101", "20240301")cpp
auto g = client.option_history_greeks_eod("SPY", "20241220", "500000", "C",
"20240101", "20240301");Parameters
symbolstringrequiredUnderlying symbol
expirationstringrequiredExpiration date in
YYYYMMDD formatstrikestringrequiredStrike price as scaled integer
rightstringrequired"C" for call, "P" for putstart_datestringrequiredStart date in
YYYYMMDD formatend_datestringrequiredEnd date in
YYYYMMDD formatannual_dividendfloatoptionalOverride annual dividend
rate_typestringoptionalInterest rate type
rate_valuefloatoptionalOverride interest rate value
versionstringoptionalGreeks calculation version
underlyer_use_nbbobooloptionalUse NBBO midpoint for underlying price instead of last trade
max_dteintoptionalMaximum days to expiration
strike_rangeintoptionalStrike range filter
Response
datestringTrading date
implied_volatilityfloatImplied volatility
deltafloatDelta
gammafloatGamma
thetafloatTheta
vegafloatVega
rhofloatRho
underlying_pricefloatUnderlying close price used
Notes
- EOD Greeks are computed using the closing price. Use
underlyer_use_nbboto switch to the NBBO midpoint. - This is ideal for building daily Greeks time series for backtesting or risk reporting.