Expand description
Binance Spot WebSocket message types.
This module defines:
NautilusWsMessage: Output messages emitted by the handler to the client.HandlerCommand: Commands sent from the client to the handler.- Subscription request/response structures for the Binance WebSocket API.
Re-exports§
pub use crate::common::sbe::stream::BestBidAskStreamEvent;pub use crate::common::sbe::stream::DepthDiffStreamEvent;pub use crate::common::sbe::stream::DepthSnapshotStreamEvent;pub use crate::common::sbe::stream::PriceLevel;pub use crate::common::sbe::stream::Trade;pub use crate::common::sbe::stream::TradesStreamEvent;
Structs§
- Binance
WsError Msg - Binance WebSocket error message.
- Binance
WsError Response - Binance WebSocket error response.
- Binance
WsResponse - Binance WebSocket subscription response.
- Binance
WsSubscription - Binance WebSocket subscription request.
Enums§
- Handler
Command - Commands sent from the outer client to the inner handler.
- Nautilus
WsMessage - Normalized output message from the WebSocket handler.