pub enum BinanceFuturesWsStreamsMessage {
Show 17 variants
AggTrade(BinanceFuturesAggTradeMsg),
Trade(BinanceFuturesTradeMsg),
BookTicker(BinanceFuturesBookTickerMsg),
DepthUpdate(BinanceFuturesDepthUpdateMsg),
MarkPrice(BinanceFuturesMarkPriceMsg),
Kline(BinanceFuturesKlineMsg),
ForceOrder(BinanceFuturesLiquidationMsg),
Ticker(BinanceFuturesTickerMsg),
AccountUpdate(BinanceFuturesAccountUpdateMsg),
OrderUpdate(Box<BinanceFuturesOrderUpdateMsg>),
TradeLite(Box<BinanceFuturesTradeLiteMsg>),
AlgoUpdate(Box<BinanceFuturesAlgoUpdateMsg>),
MarginCall(BinanceFuturesMarginCallMsg),
AccountConfigUpdate(BinanceFuturesAccountConfigMsg),
ListenKeyExpired,
Error(BinanceFuturesWsErrorMsg),
Reconnected,
}Expand description
Output message from the Futures WebSocket streams handler.
Contains venue-specific types for both market data and user data stream events. The data and execution client layers convert these to Nautilus domain types using parse functions with instrument context.
Variants§
AggTrade(BinanceFuturesAggTradeMsg)
Aggregate trade stream.
Trade(BinanceFuturesTradeMsg)
Trade stream.
BookTicker(BinanceFuturesBookTickerMsg)
Best bid/ask (book ticker) stream.
DepthUpdate(BinanceFuturesDepthUpdateMsg)
Order book depth update stream.
MarkPrice(BinanceFuturesMarkPriceMsg)
Mark price stream.
Kline(BinanceFuturesKlineMsg)
Kline/candlestick stream.
ForceOrder(BinanceFuturesLiquidationMsg)
Force liquidation order stream.
Ticker(BinanceFuturesTickerMsg)
24hr ticker stream.
AccountUpdate(BinanceFuturesAccountUpdateMsg)
Account update (balance/position changes).
OrderUpdate(Box<BinanceFuturesOrderUpdateMsg>)
Order/trade update.
TradeLite(Box<BinanceFuturesTradeLiteMsg>)
Trade Lite fill notification (low-latency subset of OrderUpdate).
AlgoUpdate(Box<BinanceFuturesAlgoUpdateMsg>)
Algo order update (conditional orders via Algo Service).
MarginCall(BinanceFuturesMarginCallMsg)
Margin call warning.
AccountConfigUpdate(BinanceFuturesAccountConfigMsg)
Account configuration change (leverage, etc.).
ListenKeyExpired
Listen key expired.
Error(BinanceFuturesWsErrorMsg)
Error from the server.
Reconnected
WebSocket reconnected.
Trait Implementations§
Source§impl Clone for BinanceFuturesWsStreamsMessage
impl Clone for BinanceFuturesWsStreamsMessage
Source§fn clone(&self) -> BinanceFuturesWsStreamsMessage
fn clone(&self) -> BinanceFuturesWsStreamsMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for BinanceFuturesWsStreamsMessage
impl RefUnwindSafe for BinanceFuturesWsStreamsMessage
impl Send for BinanceFuturesWsStreamsMessage
impl Sync for BinanceFuturesWsStreamsMessage
impl Unpin for BinanceFuturesWsStreamsMessage
impl UnsafeUnpin for BinanceFuturesWsStreamsMessage
impl UnwindSafe for BinanceFuturesWsStreamsMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more