Struct crypto_ws_client::FtxWSClient [−][src]
pub struct FtxWSClient<'a> { /* fields omitted */ }
Expand description
The WebSocket client for FTX.
FTX has Spot, LinearFuture, LinearSwap, Option, Move and BVOL markets.
- WebSocket API doc: https://docs.ftx.com/#websocket-api
- Trading at https://ftx.com/markets
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 FtxWSClient<'a>
impl<'a> Send for FtxWSClient<'a>
impl<'a> Sync for FtxWSClient<'a>
impl<'a> Unpin for FtxWSClient<'a>
impl<'a> UnwindSafe for FtxWSClient<'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