|
dxFeed Graal Native SDK 3.15.0-rc1
|
The option sale event: a trade or another market event with a price for an option of an underlying. More...
#include <dxfg_events.h>
Data Fields | |
| dxfg_market_event_t | market_event |
| int32_t | event_flags |
| int64_t | index |
| int64_t | time_sequence |
| int32_t | time_nano_part |
| int16_t | exchange_code |
| double | price |
| double | size |
| double | bid_price |
| double | ask_price |
| const char * | exchange_sale_conditions |
| int32_t | flags |
| double | underlying_price |
| double | volatility |
| double | delta |
| const char * | option_symbol |
The option sale event: a trade or another market event with a price for an option of an underlying.
It is an indexed event with the default source, its clazz is DXFG_EVENT_OPTION_SALE.
| double dxfg_option_sale_t::ask_price |
The ask price on the market at the time of the event, NaN if unknown.
| double dxfg_option_sale_t::bid_price |
The bid price on the market at the time of the event, NaN if unknown.
| double dxfg_option_sale_t::delta |
The delta of the option at the time of the event, NaN if unknown.
| int32_t dxfg_option_sale_t::event_flags |
The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.
| int16_t dxfg_option_sale_t::exchange_code |
The exchange code: the character code (Java char) of the exchange, 0 if not set.
| const char* dxfg_option_sale_t::exchange_sale_conditions |
The sale conditions provided by the data feed (a UTF-8 string, its format is specific for the feed, NULL if none) that belong to the event and are freed with it.
| int32_t dxfg_option_sale_t::flags |
The implementation-specific flags, the same as in dxfg_time_and_sale_t: the type (new, correction, cancellation), the valid tick, extended trading hours and spread leg indicators, the aggressor side and the TradeThroughExempt character; see the getters of OptionSale in Java.
| int64_t dxfg_option_sale_t::index |
The unique per-symbol index of the event, see OptionSale.getIndex() in Java. It identifies the event for a later correction or cancellation.
| dxfg_market_event_t dxfg_option_sale_t::market_event |
The base structure: the fields of dxfg_market_event_t.
| const char* dxfg_option_sale_t::option_symbol |
The option symbol of the event (a UTF-8 string, NULL if none) that belongs to the event and is freed with it.
| double dxfg_option_sale_t::price |
The price, NaN if unknown.
| double dxfg_option_sale_t::size |
The size, NaN if unknown.
| int32_t dxfg_option_sale_t::time_nano_part |
The microseconds and nanoseconds part of the time of the event.
| int64_t dxfg_option_sale_t::time_sequence |
The time of the event and the sequence packed into one number: 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 OptionSale.getTimeSequence() in Java.
| double dxfg_option_sale_t::underlying_price |
The underlying price at the time of the event, NaN if unknown.
| double dxfg_option_sale_t::volatility |
The Black-Scholes implied volatility of the option at the time of the event, NaN if unknown.