pub trait ExchangeTransformer: Transformer<MarketData> + Sized where
    <Self as Transformer<MarketData>>::Input: Identifiable
{ const EXCHANGE: ExchangeTransformerId; fn new(ids: SubscriptionIds) -> Self; }
Expand description

Trait that defines how to translate between exchange specific data structures & Barter data structures. This must be implemented when integrating a new exchange.

Required Associated Constants

Unique identifier for an ExchangeTransformer.

Required Methods

Construct a new ExchangeTransformer using a HashMap containing the relationship between all active Barter Subscriptions and their associated exchange specific identifiers.

Implementors