dxFeed Graal Native SDK 3.14.0
Loading...
Searching...
No Matches
dxfg_quote_t Struct Reference

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

Detailed Description

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>
&zwj;/

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.

Javadoc

Field Documentation

◆ ask_exchange_code

int16_t dxfg_quote_t::ask_exchange_code

The ask exchange code: the character code (Java char) of the exchange, 0 if not set.

◆ ask_price

double dxfg_quote_t::ask_price

The ask price, NaN if unknown.

◆ ask_size

double dxfg_quote_t::ask_size

The ask size (with fractions), NaN if unknown.

◆ ask_time

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.

◆ bid_exchange_code

int16_t dxfg_quote_t::bid_exchange_code

The bid exchange code: the character code (Java char) of the exchange, 0 if not set.

◆ bid_price

double dxfg_quote_t::bid_price

The bid price, NaN if unknown.

◆ bid_size

double dxfg_quote_t::bid_size

The bid size (with fractions), NaN if unknown.

◆ bid_time

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.

◆ market_event

dxfg_market_event_t dxfg_quote_t::market_event

The base structure: the fields of dxfg_market_event_t.

◆ time_millis_sequence

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.

◆ time_nano_part

int32_t dxfg_quote_t::time_nano_part

The microseconds and nanoseconds part of the time of the last bid or ask change.


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