|
dxFeed Graal Native SDK 3.10.0
|
The Greeks event: a snapshot of the option price, the Black-Scholes volatility and the greeks. More...
#include <dxfg_events.h>
Data Fields | |
| dxfg_market_event_t | market_event |
| int32_t | event_flags |
| int64_t | index |
| double | price |
| double | volatility |
| double | delta |
| double | gamma |
| double | theta |
| double | rho |
| double | vega |
The Greeks event: a snapshot of the option price, the Black-Scholes volatility and the greeks.
It is a lasting event and a time series event, its clazz is DXFG_EVENT_GREEKS.
| double dxfg_greeks_t::delta |
The delta of the option: the first derivative of the option price by the underlying price, NaN if unknown.
| int32_t dxfg_greeks_t::event_flags |
The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.
| double dxfg_greeks_t::gamma |
The gamma of the option: the second derivative of the option price by the underlying price, NaN if unknown.
| int64_t dxfg_greeks_t::index |
The unique per-symbol index of the event: the time in seconds since the Unix epoch in the higher 32 bits, then the milliseconds part of the time (bits 22 to 31) and the sequence (bits 0 to 21); see Greeks.getIndex() in Java.
| dxfg_market_event_t dxfg_greeks_t::market_event |
The base structure: the fields of dxfg_market_event_t.
| double dxfg_greeks_t::price |
The option market price, NaN if unknown.
| double dxfg_greeks_t::rho |
The rho of the option: the first derivative of the option price by the percentage interest rate, NaN if unknown.
| double dxfg_greeks_t::theta |
The theta of the option: the first derivative of the option price by the days to expiration, NaN if unknown.
| double dxfg_greeks_t::vega |
The vega of the option: the first derivative of the option price by the percentage volatility, NaN if unknown.
| double dxfg_greeks_t::volatility |
The Black-Scholes implied volatility of the option, NaN if unknown.