|
dxFeed Graal Native SDK 3.14.0
|
The common fields of the order events: dxfg_order_t, dxfg_spread_order_t and the structures built on them. 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 |
| int64_t | action_time |
| int64_t | order_id |
| int64_t | aux_order_id |
| double | price |
| double | size |
| double | executed_size |
| int64_t | count |
| int32_t | flags |
| int64_t | trade_id |
| double | trade_price |
| double | trade_size |
The common fields of the order events: dxfg_order_t, dxfg_spread_order_t and the structures built on them.
It is an indexed event: a snapshot of the market depth of a symbol. Its clazz is DXFG_EVENT_ORDER_BASE.
| int64_t dxfg_order_base_t::action_time |
The time of the last order action, in milliseconds since the Unix epoch (UTC), 0 if not available.
| int64_t dxfg_order_base_t::aux_order_id |
The auxiliary order ID (for example, the ID of the order replaced by this new order), 0 if not available.
| int64_t dxfg_order_base_t::count |
The number of the individual orders in this aggregate order.
| int32_t dxfg_order_base_t::event_flags |
The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.
| double dxfg_order_base_t::executed_size |
The executed size of the order, NaN if unknown.
| int32_t dxfg_order_base_t::flags |
The implementation-specific flags: the scope in bits 0 and 1, the side in bits 2 and 3, the exchange code in bits 4 to 10 and the order action in bits 11 to 14; see the getters of OrderBase in Java (getScope(), getOrderSide(), getExchangeCode(), getAction()).
| int64_t dxfg_order_base_t::index |
The unique per-symbol index of the order, a non-negative number. The source of the order is stored in its highest bits, dxfg_IndexedEvent_getSource() returns it; see OrderBase.getIndex() in Java.
| dxfg_market_event_t dxfg_order_base_t::market_event |
The base structure: the fields of dxfg_market_event_t.
| int64_t dxfg_order_base_t::order_id |
The order ID, 0 if not available (some actions, such as a trade or a bust, have no order ID).
| double dxfg_order_base_t::price |
The price of the order, NaN if unknown.
| double dxfg_order_base_t::size |
The size of the order (with fractions), NaN if unknown.
| int32_t dxfg_order_base_t::time_nano_part |
The microseconds and nanoseconds part of the time of the order.
| int64_t dxfg_order_base_t::time_sequence |
The time of the order 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 OrderBase.getTimeSequence() in Java.
| int64_t dxfg_order_base_t::trade_id |
The trade (order execution) ID for the events that contain a trade-related action, 0 if not available.
| double dxfg_order_base_t::trade_price |
The trade price for the events that contain a trade-related action, NaN if unknown.
| double dxfg_order_base_t::trade_size |
The trade size for the events that contain a trade-related action, NaN if unknown.