Expand description
Connector implementations for each exchange.
Modules§
- binance
BinanceSpot&BinanceFuturesUsdConnectorandStreamSelectorimplementations.- bitfinex
BitfinexConnectorandStreamSelectorimplementations.- bitmex
Bitmex [Connector] and [StreamSelector`] implementations.- bybit
Bybit[‘Connector’] and [‘StreamSelector’] implementation- coinbase
CoinbaseConnectorandStreamSelectorimplementations.- gateio
GateioSpot,GateioFuturesUsd&GateioFuturesBtcConnectorandStreamSelectorimplementations.- kraken
KrakenConnectorandStreamSelectorimplementations.- okx
OkxConnectorandStreamSelectorimplementations.- subscription
- Defines the generic
ExchangeSubcontaining a market and channel combination used by an exchangeConnectorto buildWsMessagesubscription payloads.
Structs§
- Ping
Interval - Defines the frequency and construction function for custom
WebSocketpings - used for exchanges that require additional application-level pings.
Constants§
- DEFAULT_
SUBSCRIPTION_ TIMEOUT - Default
DurationtheConnector::SubValidatorwill wait to receive all success responses to actionedSubscriptionrequests.
Traits§
- Connector
- Primary exchange abstraction. Defines how to translate Barter types into exchange specific types, as well as connecting, subscribing, and interacting with the exchange server.
- Exchange
Server - Used when an exchange has servers different
InstrumentKindmarket data on distinct servers, allowing all theConnectorlogic to be identical apart from what this trait provides. - Stream
Selector - Defines the
MarketStreamkind associated with an exchangeSubscriptionSubscriptionKind.