Module barter_data::model::subscription
source · Expand description
Barter data structures that support subscribing to exchange specific market data.
eg/ Subscription, SubscriptionId, etc.
Structs
Barter OrderBook depth used for specifying the depth of an
SubKind::OrderBook snapshot.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
Barter time interval used for specifying the interval of a
SubKind::Candle.Possible Barter
Subscription types.