pub trait ExchangeServer: Default + Debug + Clone + Send {
    const ID: ExchangeId;

    fn websocket_url() -> &'static str;
}
Expand description

Used when an exchange has servers different InstrumentKind market data on distinct servers, allowing all the Connector logic to be identical apart from what this trait provides.

Examples

Required Associated Constants§

Required Methods§

Implementors§