pub enum BinanceFuturesExecWsMessage {
AccountUpdate(BinanceFuturesAccountUpdateMsg),
OrderUpdate(Box<BinanceFuturesOrderUpdateMsg>),
AlgoUpdate(Box<BinanceFuturesAlgoUpdateMsg>),
MarginCall(BinanceFuturesMarginCallMsg),
AccountConfigUpdate(BinanceFuturesAccountConfigMsg),
ListenKeyExpired,
}Expand description
Raw user data stream message from Binance Futures WebSocket.
These are raw messages from the user data stream that require
a listen key for authentication. The execution handler processes these
and emits normalized Nautilus events via NautilusExecWsMessage.
Variants§
AccountUpdate(BinanceFuturesAccountUpdateMsg)
Account update (balance/position changes).
OrderUpdate(Box<BinanceFuturesOrderUpdateMsg>)
Order/trade update.
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 - need to reconnect user data stream.
Trait Implementations§
Source§impl Clone for BinanceFuturesExecWsMessage
impl Clone for BinanceFuturesExecWsMessage
Source§fn clone(&self) -> BinanceFuturesExecWsMessage
fn clone(&self) -> BinanceFuturesExecWsMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BinanceFuturesExecWsMessage
impl RefUnwindSafe for BinanceFuturesExecWsMessage
impl Send for BinanceFuturesExecWsMessage
impl Sync for BinanceFuturesExecWsMessage
impl Unpin for BinanceFuturesExecWsMessage
impl UnsafeUnpin for BinanceFuturesExecWsMessage
impl UnwindSafe for BinanceFuturesExecWsMessage
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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