Struct crypto_ws_client::OkexWSClient [−][src]
pub struct OkexWSClient<'a> { /* fields omitted */ }
Expand description
The WebSocket client for OKEx.
OKEx has Spot, Future, Swap and Option markets.
- WebSocket API doc: https://www.okex.com/docs/en/
- Trading at:
Trait Implementations
Creates a new client. Read more
Subscribes to incremental level2 orderbook channels. Read more
Subscribes to level2 orderbook snapshot channels. Read more
Subscribes to BBO(best bid & offer) channels. Read more
Subscribes to candlestick channels. Read more
Unsubscribes from raw channels, lower level API.
Starts the infinite loop until time is up or the server closes the connection. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for OkexWSClient<'a>
impl<'a> Send for OkexWSClient<'a>
impl<'a> Sync for OkexWSClient<'a>
impl<'a> Unpin for OkexWSClient<'a>
impl<'a> UnwindSafe for OkexWSClient<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more