Skip to main content

ensure_accepted_emitted

Function ensure_accepted_emitted 

Source
pub fn ensure_accepted_emitted(
    client_order_id: ClientOrderId,
    account_id: AccountId,
    venue_order_id: VenueOrderId,
    identity: &OrderIdentity,
    emitter: &ExecutionEventEmitter,
    state: &WsDispatchState,
    ts_init: UnixNanos,
)
Expand description

Synthesizes and emits OrderAccepted if one has not yet been emitted.

Handles fast-filling orders that skip the New state on Binance.