pub fn parse_depth_snapshot(
event: &DepthSnapshotStreamEvent,
instrument: &InstrumentAny,
ts_init: UnixNanos,
) -> Option<OrderBookDeltas>Expand description
Parses a depth snapshot event into OrderBookDeltas using the supplied
adapter initialization timestamp for the aggregate and every inner delta.
Returns None if the snapshot contains no levels.