|
dxFeed Graal Native SDK 3.10.0
|
The candle event: OHLC prices and other information for a specific period. More...
#include <dxfg_events.h>
Data Fields | |
| dxfg_event_type_t | event_type |
| const char * | event_symbol |
| int64_t | event_time |
| int32_t | event_flags |
| int64_t | index |
| int64_t | count |
| double | open |
| double | high |
| double | low |
| double | close |
| double | volume |
| double | vwap |
| double | bid_volume |
| double | ask_volume |
| double | imp_volatility |
| double | open_interest |
The candle event: OHLC prices and other information for a specific period.
It is a lasting event and a time series event, its clazz is DXFG_EVENT_CANDLE.
| double dxfg_candle_t::ask_volume |
The ask volume of the candle (with fractions), NaN if unknown.
| double dxfg_candle_t::bid_volume |
The bid volume of the candle (with fractions), NaN if unknown.
| double dxfg_candle_t::close |
The last (close) price of the candle, NaN if unknown.
| int64_t dxfg_candle_t::count |
The total number of the original trade (or quote) events in the candle.
| int32_t dxfg_candle_t::event_flags |
The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.
| const char* dxfg_candle_t::event_symbol |
The candle symbol in its string form, as CandleSymbol.toString() returns it (a UTF-8 null-terminated string); it belongs to the event and is freed with it.
| int64_t dxfg_candle_t::event_time |
The time when the event was created, in milliseconds since the Unix epoch (UTC), or 0 if not available.
| dxfg_event_type_t dxfg_candle_t::event_type |
The base structure: the fields of dxfg_event_type_t.
| double dxfg_candle_t::high |
The maximal (high) price of the candle, NaN if unknown.
| double dxfg_candle_t::imp_volatility |
The implied volatility, NaN if unknown.
| int64_t dxfg_candle_t::index |
The unique per-symbol index of the candle: 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 Candle.getIndex() in Java.
| double dxfg_candle_t::low |
The minimal (low) price of the candle, NaN if unknown.
| double dxfg_candle_t::open |
The first (open) price of the candle, NaN if unknown.
| double dxfg_candle_t::open_interest |
The open interest (with fractions), NaN if unknown.
| double dxfg_candle_t::volume |
The total volume of the candle (with fractions), NaN if unknown.
| double dxfg_candle_t::vwap |
The volume-weighted average price of the candle, NaN if unknown.