Skip to main content

Module candle

Module candle 

Source
Expand description

Candle SubscriptionKind and the associated Barter output data model.

Structs§

Candle
Normalised Barter OHLCV Candle model.
Candles
Barter Subscription SubscriptionKind that yields Candle MarketEvent<T> events.
ParseCandleIntervalError
Error returned by CandleInterval::from_str for an unrecognised string.

Enums§

CandleInterval
Candle interval/resolution, shared across every venue that produces candles.
IntervalStep
One step from a candle’s open instant to its exclusive close boundary.

Functions§

close_time_from_open
Compute a candle’s exclusive close_time boundary from its open instant.
open_time_from_close
Inverse of close_time_from_open: recover a candle’s open instant from its exclusive close_time boundary (open == close − interval).