dxFeed Graal Native SDK 3.14.0-rc2
Loading...
Searching...
No Matches
dxfg_order_imbalance_t Struct Reference

The order imbalance event: the order book statistics during an auction. More...

#include <dxfg_events.h>

Data Fields

dxfg_market_event_t market_event
int32_t source_id
int64_t time_sequence
double ref_price
double paired_size
double imbalance_size
double near_price
double far_price
int32_t flags

Detailed Description

The order imbalance event: the order book statistics during an auction.

It is a market event (neither lasting nor indexed), its clazz is DXFG_EVENT_ORDER_IMBALANCE.

https://docs.dxfeed.com/dxfeed/api/com/dxfeed/event/market/OrderImbalance.html

Experimental
It may change or be removed in a minor release, see The v4 functions.

Field Documentation

◆ far_price

double dxfg_order_imbalance_t::far_price

The far price: the hypothetical price at which only the auction interest could trade now, NaN if unknown.

◆ flags

int32_t dxfg_order_imbalance_t::flags

The implementation-specific flags: the imbalance side in bits 0 to 2 and the auction type in bits 3 to 5; see OrderImbalance.getImbalanceSide() and OrderImbalance.getAuctionType() in Java.

◆ imbalance_size

double dxfg_order_imbalance_t::imbalance_size

The imbalance size: the number of shares that are not matched at the reference price, NaN if unknown.

◆ market_event

dxfg_market_event_t dxfg_order_imbalance_t::market_event

The base structure: the fields of dxfg_market_event_t.

◆ near_price

double dxfg_order_imbalance_t::near_price

The near price: the hypothetical price at which all the interest on the book could trade now, NaN if unknown.

◆ paired_size

double dxfg_order_imbalance_t::paired_size

The paired size: the number of shares that can be matched at the reference price, NaN if unknown.

◆ ref_price

double dxfg_order_imbalance_t::ref_price

The reference price: the price for which the paired and imbalance sizes are calculated, NaN if unknown.

◆ source_id

int32_t dxfg_order_imbalance_t::source_id

The identifier of the source of the event (OrderImbalance.getSource() in Java).

◆ time_sequence

int64_t dxfg_order_imbalance_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).


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