Skip to main content

generate_external_order_status_events_with_commission

Function generate_external_order_status_events_with_commission 

Source
pub fn generate_external_order_status_events_with_commission(
    order: &OrderAny,
    report: &OrderStatusReport,
    account_id: &AccountId,
    instrument: &InstrumentAny,
    ts_now: UnixNanos,
    commission: Option<Money>,
) -> Vec<OrderEventAny>
Expand description

Generates external-order status events with a precomputed inferred-fill commission.