dxFeed Graal Native SDK 3.13.0-rc2
Loading...
Searching...
No Matches
dxfg_candle_t Struct Reference

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

Detailed Description

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.

Javadoc

Field Documentation

◆ ask_volume

double dxfg_candle_t::ask_volume

The ask volume of the candle (with fractions), NaN if unknown.

◆ bid_volume

double dxfg_candle_t::bid_volume

The bid volume of the candle (with fractions), NaN if unknown.

◆ close

double dxfg_candle_t::close

The last (close) price of the candle, NaN if unknown.

◆ count

int64_t dxfg_candle_t::count

The total number of the original trade (or quote) events in the candle.

◆ event_flags

int32_t dxfg_candle_t::event_flags

The transactional event flags (TX_PENDING, REMOVE_EVENT, SNAPSHOT_BEGIN and so on), see IndexedEvent in Java.

◆ event_symbol

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.

◆ event_time

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.

◆ event_type

dxfg_event_type_t dxfg_candle_t::event_type

The base structure: the fields of dxfg_event_type_t.

◆ high

double dxfg_candle_t::high

The maximal (high) price of the candle, NaN if unknown.

◆ imp_volatility

double dxfg_candle_t::imp_volatility

The implied volatility, NaN if unknown.

◆ index

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.

◆ low

double dxfg_candle_t::low

The minimal (low) price of the candle, NaN if unknown.

◆ open

double dxfg_candle_t::open

The first (open) price of the candle, NaN if unknown.

◆ open_interest

double dxfg_candle_t::open_interest

The open interest (with fractions), NaN if unknown.

◆ volume

double dxfg_candle_t::volume

The total volume of the candle (with fractions), NaN if unknown.

◆ vwap

double dxfg_candle_t::vwap

The volume-weighted average price of the candle, NaN if unknown.


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