pub fn fill_report(
value: &Fill,
instrument: &BinaryOption,
account_id: AccountId,
order: &Order,
ts_init: UnixNanos,
) -> Result<FillReport>Expand description
Builds a fill report from one venue fill and its order.
The report preserves the venue price, count, and fee. It does not apply the fill to an order.
ยงErrors
Returns an error if the fill and order identities or directions disagree, prices are not complementary, or the count or fee is invalid.