Module id_generation

Source
Expand description

SmartString ID generation helpers to reduce duplication across exchange adapters

Functionsยง

generate_ack_id
Generate a standard execution report ID for acknowledgments
generate_acknowledgment_id
Generate an acknowledgment ID (standardized)
generate_batch_id
Generate a batch operation ID with an index
generate_cancel_id
Generate a standard execution report ID for cancellations
generate_client_order_id
Generate a client order ID with prefix
generate_exchange_order_id
Generate an exchange-specific order ID for WebSocket operations
generate_exchange_report_id
Generate an exchange-specific report ID
generate_exchange_request_id
Generate an exchange-specific request ID with counter
generate_execution_id
Generate an execution ID
generate_fill_id
Generate a standard execution report ID for fills
generate_modify_id
Generate a standard execution report ID for modifications
generate_multi_part_id
Generate a multi-part ID with a separator
generate_rejection_id
Generate a standard execution report ID for rejections
generate_report_id
Generate an execution report ID with a prefix and suffix
generate_report_id_with_uuid
Generate an execution report ID with just a prefix and a new UUID
generate_uuid_id
Generate a UUID-based ID
generate_ws_report_id
Generate a WebSocket-specific report ID
generate_ws_timestamp_id
Generate a timestamp-based ID for WebSocket operations