Expand description

! # Barter-Data Core data structures to support consuming MarketStreams.

eg/ MarketEvent, PublicTrade, etc.

Structs

Normalised Barter OHLCV Candle model.

Normalised Barter MarketEvent containing metadata about the included DataKind variant.

Normalised Barter PublicTrade model.

Barter Subscription used to subscribe to a market SubKind for a particular Exchange’s Instrument.

Convenient type alias for a HashMap containing the mapping between an incoming exchange message’s SubscriptionId, and a Barter Subscription. Used to identify the original Subscription associated with a received message.

Metadata generated from a collection of Barter Subscriptions. This includes the exchange specific subscription payloads that are sent to the exchange.

Enums

Defines the type of Barter MarketEvent.

Barter time interval used for specifying the interval of a SubKind::Candle.

Possible Barter Subscription types.