Type Definition barter_data::ExchangeWsStream

source ·
pub type ExchangeWsStream<Exchange> = ExchangeStream<WebSocketParser, WsStream, Exchange, MarketEvent>;
Expand description

Convenient type alias for an ExchangeStream utilising a tungstenite WebSocket

Trait Implementations§

Initialises a new MarketStream using the provided subscriptions.