Skip to main content

map_ws_order_book

Function map_ws_order_book 

Source
pub fn map_ws_order_book(data: &OrderBookData, now: Instant) -> OrderBook
Expand description

Maps a WebSocket order book message to an [OrderBook::Snapshot]. Every message of this stream is a full book, not a delta.