|
dxFeed Graal Native SDK 3.15.0-rc1
|
The common fields of the trade events: dxfg_trade_t and dxfg_trade_eth_t. More...
#include <dxfg_events.h>
Data Fields | |
| dxfg_market_event_t | market_event |
| int64_t | time_sequence |
| int32_t | time_nano_part |
| int16_t | exchange_code |
| double | price |
| double | change |
| double | size |
| int32_t | day_id |
| double | day_volume |
| double | day_turnover |
| int32_t | flags |
| int64_t | trade_id |
The common fields of the trade events: dxfg_trade_t and dxfg_trade_eth_t.
It is a lasting event, the information about the last trade. There is no event class of its own in the C API.
| double dxfg_trade_base_t::change |
The change of the last trade, NaN if unknown.
| int32_t dxfg_trade_base_t::day_id |
The identifier of the current trading day: the number of days since 1 Jan 1970.
| double dxfg_trade_base_t::day_turnover |
The total turnover traded for the day, NaN if unknown.
| double dxfg_trade_base_t::day_volume |
The total volume traded for the day (with fractions), NaN if unknown.
| int16_t dxfg_trade_base_t::exchange_code |
The exchange code of the last trade: the character code (Java char) of the exchange, 0 if not set.
| int32_t dxfg_trade_base_t::flags |
The implementation-specific flags: the extended trading hours indicator in bit 0 and the tick direction in bits 1 to 3; see TradeBase.getTickDirection() and TradeBase.isExtendedTradingHours() in Java.
| dxfg_market_event_t dxfg_trade_base_t::market_event |
The base structure: the fields of dxfg_market_event_t.
| double dxfg_trade_base_t::price |
The price of the last trade, NaN if unknown.
| double dxfg_trade_base_t::size |
The size of the last trade (with fractions), NaN if unknown.
| int32_t dxfg_trade_base_t::time_nano_part |
The microseconds and nanoseconds part of the time of the last trade.
| int64_t dxfg_trade_base_t::time_sequence |
The time of the last trade 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 TradeBase.getTimeSequence() in Java.
| int64_t dxfg_trade_base_t::trade_id |
The trade ID for the events with a trade-related action (execution, correction, cancellation), 0 if none.