Struct crypto_ws_client::BybitInverseFutureWSClient [−][src]
pub struct BybitInverseFutureWSClient<'a> { /* fields omitted */ }
Expand description
Bybit InverseFuture market.
- WebSocket API doc: https://bybit-exchange.github.io/docs/inverse_futures/
- Trading at: https://www.bybit.com/trade/inverse/futures/BTCUSD_BIQ
Trait Implementations
impl<'a> WSClient<'a> for BybitInverseFutureWSClient<'a>
[src]
impl<'a> WSClient<'a> for BybitInverseFutureWSClient<'a>
[src]fn new(
on_msg: Arc<Mutex<dyn FnMut(String) + Send + 'a>>,
url: Option<&str>
) -> BybitInverseFutureWSClient<'a>
[src]
fn new(
on_msg: Arc<Mutex<dyn FnMut(String) + Send + 'a>>,
url: Option<&str>
) -> BybitInverseFutureWSClient<'a>
[src]Creates a new client. Read more
fn subscribe_orderbook(&self, channels: &[String])
[src]
fn subscribe_orderbook(&self, channels: &[String])
[src]Subscribes to incremental level2 orderbook channels. Read more
fn subscribe_orderbook_snapshot(&self, channels: &[String])
[src]
fn subscribe_orderbook_snapshot(&self, channels: &[String])
[src]Subscribes to level2 orderbook snapshot channels. Read more
fn subscribe_bbo(&self, channels: &[String])
[src]
fn subscribe_bbo(&self, channels: &[String])
[src]Subscribes to BBO(best bid & offer) channels. Read more
fn subscribe_candlestick(&self, pairs: &[String], interval: u32)
[src]
fn subscribe_candlestick(&self, pairs: &[String], interval: u32)
[src]Subscribes to candlestick channels. Read more
fn unsubscribe(&self, channels: &[String])
[src]
fn unsubscribe(&self, channels: &[String])
[src]Unsubscribes from raw channels, lower level API.
Auto Trait Implementations
impl<'a> RefUnwindSafe for BybitInverseFutureWSClient<'a>
impl<'a> Send for BybitInverseFutureWSClient<'a>
impl<'a> Sync for BybitInverseFutureWSClient<'a>
impl<'a> Unpin for BybitInverseFutureWSClient<'a>
impl<'a> UnwindSafe for BybitInverseFutureWSClient<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,