Skip to main content

MAX_CLIENT_ID

Constant MAX_CLIENT_ID 

Source
pub const MAX_CLIENT_ID: u32 = u32::MAX; // 4_294_967_295u32
Expand description

Maximum client order ID value for dYdX (informational - not enforced by adapter).

Maximum client order ID value for dYdX (informational).

dYdX protocol accepts u32 client IDs. The ClientOrderIdEncoder uses sequential allocation starting from 1, with overflow protection near u32::MAX - 1000.