Crate barter_data[][src]

Modules

Structs

Normalised OHLCV data from an Interval with the associated DateTime UTC timestamp;

Normalised Trade model to be returned from an ExchangeClient.

Enums

Defines if the buyer in a Trade is a market maker.

Enum returned from StreamIdentifier representing if a struct has an identifiable stream Id.

Defines the possible intervals that a Candle represents.

Traits

Client trait defining the behaviour of all implementing ExchangeClients. All methods return a stream of normalised data.

Returns a stream identifier that can be used to route messages from a Subscription.

Utilised to subscribe to an exchange’s WebSocketStream via a ConnectionHandler (eg/ Trade stream).

Type Definitions

Useful type alias for a WebSocketStream connection.