dxFeed Graal Native SDK 3.10.0
Loading...
Searching...
No Matches
dxfg_greeks_t Struct Reference

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

Detailed Description

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.

Javadoc

Field Documentation

◆ delta

double dxfg_greeks_t::delta

The delta of the option: the first derivative of the option price by the underlying price, NaN if unknown.

◆ event_flags

int32_t dxfg_greeks_t::event_flags

The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.

◆ gamma

double dxfg_greeks_t::gamma

The gamma of the option: the second derivative of the option price by the underlying price, NaN if unknown.

◆ index

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.

◆ market_event

dxfg_market_event_t dxfg_greeks_t::market_event

The base structure: the fields of dxfg_market_event_t.

◆ price

double dxfg_greeks_t::price

The option market price, NaN if unknown.

◆ rho

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.

◆ theta

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.

◆ vega

double dxfg_greeks_t::vega

The vega of the option: the first derivative of the option price by the percentage volatility, NaN if unknown.

◆ volatility

double dxfg_greeks_t::volatility

The Black-Scholes implied volatility of the option, NaN if unknown.


The documentation for this struct was generated from the following file: