Skip to main content

snapshot

Function snapshot 

pub fn snapshot(
    o: &StopOrder,
    cid: Option<Uuid>,
    now: Instant,
    lot: i64,
) -> StopOrderSnapshot
Expand description

Core snapshot of a broker stop order. cid comes from what this connector registered at place_stop (the broker’s StopOrder does not carry the idempotency key). lot is the lot size of the instrument: the quantity of the snapshot is in units.