|
dxFeed Graal Native SDK 3.12.0
|
The quote event: a snapshot of the best bid and ask prices and sizes. More...
#include <dxfg_events.h>
Data Fields | |
| dxfg_market_event_t | market_event |
| int32_t | time_millis_sequence |
| int32_t | time_nano_part |
| int64_t | bid_time |
| int16_t | bid_exchange_code |
| double | bid_price |
| double | bid_size |
| int64_t | ask_time |
| int16_t | ask_exchange_code |
| double | ask_price |
| double | ask_size |
The quote event: a snapshot of the best bid and ask prices and sizes.
<a href="https://docs.dxfeed.com/dxfeed/api/com/dxfeed/event/LastingEvent.html">Javadoc</a> ‍/
typedef struct dxfg_lasting_event_t { } dxfg_lasting_event_t;
/** Javadoc / typedef struct dxfg_indexed_event_t { // dxfg_indexed_event_source_t source; // int32_t event_flags; // int64_t index; } dxfg_indexed_event_t;
/** Javadoc / typedef struct dxfg_time_series_event_t { dxfg_indexed_event_t indexed_event; // int64_t time; } dxfg_time_series_event_t;
/**
It is a lasting event, its clazz is DXFG_EVENT_QUOTE.
| int16_t dxfg_quote_t::ask_exchange_code |
The ask exchange code: the character code (Java char) of the exchange, 0 if not set.
| double dxfg_quote_t::ask_price |
The ask price, NaN if unknown.
| double dxfg_quote_t::ask_size |
The ask size (with fractions), NaN if unknown.
| int64_t dxfg_quote_t::ask_time |
The time of the last ask change, in milliseconds since the Unix epoch (UTC). By default it has a precision of seconds, so it is usually a multiple of 1000.
| int16_t dxfg_quote_t::bid_exchange_code |
The bid exchange code: the character code (Java char) of the exchange, 0 if not set.
| double dxfg_quote_t::bid_price |
The bid price, NaN if unknown.
| double dxfg_quote_t::bid_size |
The bid size (with fractions), NaN if unknown.
| int64_t dxfg_quote_t::bid_time |
The time of the last bid change, in milliseconds since the Unix epoch (UTC). By default it has a precision of seconds, so it is usually a multiple of 1000.
| dxfg_market_event_t dxfg_quote_t::market_event |
The base structure: the fields of dxfg_market_event_t.
| int32_t dxfg_quote_t::time_millis_sequence |
The milliseconds part of the time of the last bid or ask change (bits 22 to 31) and the sequence (bits 0 to 21) packed into one number; see Quote.getTime() and Quote.getSequence() in Java.
| int32_t dxfg_quote_t::time_nano_part |
The microseconds and nanoseconds part of the time of the last bid or ask change.