Module subscriber

Source
Expand description

Subscriber, SubscriptionMapper and SubscriptionValidator traits that define how a Connector will subscribe to exchange MarketStreams.

Standard implementations for subscribing to WebSocket MarketStreams are included.

Modules§

mapper
SubscriptionMapper implementations defining how to map a collection of Barter Subscriptions into execution specific SubscriptionMeta.
validator
SubscriptionValidator implementations defining how to validate actioned Subscriptions were successful.

Structs§

Subscribed
WebSocketSubscriber
Standard Subscriber for WebSockets suitable for most exchanges.

Traits§

Subscriber
Defines how to connect to a socket and subscribe to market data streams.