Skip to main content

fill_precedes_snapshot_reconciled_position

Function fill_precedes_snapshot_reconciled_position 

Source
pub fn fill_precedes_snapshot_reconciled_position(
    cache: &Cache,
    report: &FillReport,
) -> bool
Expand description

Returns whether a fill report predates a synthetic correction for its instrument and account.

The venue position report behind that correction already includes the fill, so applying it to the position would count the execution twice.