Skip to main content

Module traits

Module traits 

Source
Expand description

Market client traits for fetching exchange data.

These traits define the interface for fetching order books, tickers, and recent trades. They are implemented by ConfigurableExchangeClient and composed by the ExchangeClient facade.

Traitsยง

OhlcClient
Trait for clients that can fetch OHLC (candlestick / kline) data.
OrderBookClient
Trait for clients that can fetch an order book snapshot.
TickerClient
Trait for clients that can fetch a 24h ticker.
TradeHistoryClient
Trait for clients that can fetch recent trades.