Skip to main content

snapshot

Function snapshot 

pub fn snapshot(p: &OrderParts, now: Instant) -> OrderSnapshot
Expand description

An [OrderSnapshot] from the parts of any order message.

qty and filled are in units of the instrument (the lot size set with OrderParts::with_lot), price is per one instrument. The cid is OrderParts::cid.