Module barter_data::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§
SubscriptionMapperimplementations defining how to map a collection of BarterSubscriptions into exchange specificSubscriptionMeta.SubscriptionValidatorimplementations defining how to validate actionedSubscriptions were successful.
Structs§
- Standard
SubscriberforWebSockets suitable for most exchanges.
Traits§
- Defines how to connect to a socket and subscribe to market data streams.