Skip to main content

DYDX_ERROR_CODE_CANCEL_ALREADY_IN_MEMCLOB

Constant DYDX_ERROR_CODE_CANCEL_ALREADY_IN_MEMCLOB 

Source
pub const DYDX_ERROR_CODE_CANCEL_ALREADY_IN_MEMCLOB: u32 = 9;
Expand description

dYdX CLOB error code for duplicate cancel in memclob.

Returned when a cancel message is submitted for an order that already has a pending cancel with a greater-than-or-equal GoodTilBlock. This is benign for short-term cancel operations – the previous cancel is already queued and will be processed.

Common scenario: overlapping cancel_all_orders waves from a grid MM strategy.