Struct libdxfeed_sys::dxf_candle_t
source · #[repr(C)]pub struct dxf_candle_t {Show 15 fields
pub event_flags: dxf_event_flags_t,
pub index: dxf_long_t,
pub time: dxf_long_t,
pub sequence: dxf_int_t,
pub count: dxf_double_t,
pub open: dxf_double_t,
pub high: dxf_double_t,
pub low: dxf_double_t,
pub close: dxf_double_t,
pub volume: dxf_double_t,
pub vwap: dxf_double_t,
pub bid_volume: dxf_double_t,
pub ask_volume: dxf_double_t,
pub open_interest: dxf_double_t,
pub imp_volatility: dxf_double_t,
}Expand description
@brief Candle
@details Candle event with open, high, low, close prices and other information for a specific period. Candles are build with a specified CandlePeriod (#dxf_candle_type_period_attribute_t + value) using a specified CandlePrice type (#dxf_candle_price_attribute_t) with a data taken from the specified CandleExchange (A-Z) from the specified CandleSession (#dxf_candle_session_attribute) with further details of aggregation provided by CandleAlignment (#dxf_candle_alignment_attribute)
Fields§
§event_flags: dxf_event_flags_tTransactional event flags
index: dxf_long_tUnique per-symbol index of this candle
time: dxf_long_tTimestamp of this candle in milliseconds
sequence: dxf_int_tSequence number of this candle; distinguishes candles with same #time
count: dxf_double_tTotal number of original trade (or quote) events in this candle
open: dxf_double_tThe first (open) price of this candle
high: dxf_double_tThe maximal (high) price of this candle
low: dxf_double_tThe minimal (low) price of this candle
close: dxf_double_tThe last (close) price of this candle
volume: dxf_double_tTotal volume in this candle
vwap: dxf_double_tVolume-weighted average price (VWAP) in this candle
bid_volume: dxf_double_tBid volume in this candle
ask_volume: dxf_double_tAsk volume in this candle
open_interest: dxf_double_tOpen interest
imp_volatility: dxf_double_tImplied volatility
Trait Implementations§
source§impl Clone for dxf_candle_t
impl Clone for dxf_candle_t
source§fn clone(&self) -> dxf_candle_t
fn clone(&self) -> dxf_candle_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more