Module barter_data::model
source · [−]Expand description
! # Barter-Data
Core data structures to support consuming MarketStreams.
eg/ MarketEvent, PublicTrade, etc.
Structs
Barter new type representing a time interval as a String identifier.
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.
Possible Barter Subscription types.