Skip to main content

snapshot

Function snapshot 

Source
pub fn snapshot(
    r: &StopOrderRecord,
    cid: Option<ClientOrderId>,
    now: Instant,
) -> Option<StopOrderSnapshot>
Expand description

A stop order of the portfolio as a snapshot. The cid is the one the connector found (None if the order is not ours). None if the record lacks the side, the quantity or the trigger price.