pub fn map_stop_record(
record: &OrderRecord,
cid: Option<ClientOrderId>,
now: Instant,
) -> Vec<StopOrderSnapshot>Expand description
A conditional order of the list as one or two stop snapshots (two for type 7, a take-profit and
stop-loss pair: the pair is one order at the broker, shown as its two legs with the same ids).
None for plain orders.