option_history_trade_greeks_first_order
FreeValueStandardPro
Retrieve first-order Greeks computed on each individual trade for an option contract.
Code Example
rust
let g: Vec<GreeksTick> = tdx.option_history_trade_greeks_first_order(
"SPY", "20241220", "500000", "C", "20240315"
).await?;python
g = tdx.option_history_trade_greeks_first_order("SPY", "20241220", "500000", "C", "20240315")go
g, err := client.OptionHistoryTradeGreeksFirstOrder("SPY", "20241220", "500000", "C", "20240315")cpp
auto g = client.option_history_trade_greeks_first_order("SPY", "20241220", "500000", "C",
"20240315");Parameters
Parameters are identical to option_history_trade_greeks_all.
symbolstringrequiredUnderlying symbol
expirationstringrequiredExpiration date in
YYYYMMDD formatstrikestringrequiredStrike price as scaled integer
rightstringrequired"C" for call, "P" for putdatestringrequiredDate in
YYYYMMDD formatstart_timestringoptionalStart time as milliseconds from midnight
end_timestringoptionalEnd time as milliseconds from midnight
annual_dividendfloatoptionalOverride annual dividend
rate_typestringoptionalInterest rate type
rate_valuefloatoptionalOverride interest rate value
versionstringoptionalGreeks calculation version
max_dteintoptionalMaximum days to expiration
strike_rangeintoptionalStrike range filter
Response
pricefloatTrade price
sizeintTrade size
conditionintTrade condition code
exchangeintExchange code
implied_volatilityfloatIV at time of trade
deltafloatDelta
thetafloatTheta
vegafloatVega
rhofloatRho
epsilonfloatEpsilon
lambdafloatLambda
underlying_pricefloatUnderlying price at time of trade
datestringDate
ms_of_dayintMilliseconds from midnight