Modules

Contains an ExchangeSocket capable of acting as a Stream and Sink for a given remote server.

Structs

Barter representation of an Instrument. Used to uniquely identify a base_quote pair, and it’s associated instrument type.

Barter new type representing a unique String identifier for an Instrument being traded on the provided exchange.

Barter new type representing a time interval String identifier.

Barter Subscription used to subscribe to a market StreamKind for a particular Instrument.

New type representing a unique String identifier for a stream that has been subscribed to. This identifier is used to associated a Subscription with data structures received from the exchange.

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.

Barter new type representing a currency symbol String identifier.

Enums

Defines the type of Instrument which is being traded on a given base_quote market.

Possible Barter-Data Stream types a Subscription is associated with.