Skip to main content

client_order_id_to_cid

Function client_order_id_to_cid 

Source
pub fn client_order_id_to_cid(client_order_id: &ClientOrderId) -> u64
Expand description

Converts a [ClientOrderId] to a deterministic AX cid in the non-negative int64 range.

Inbound WebSocket cid values remain u64 because venue messages can exceed int64.