pub fn validate_okx_client_order_id(cl_ord_id: &str) -> Result<(), String>Expand description
Validates a clOrdId against OKX’s length and charset rules.
§Errors
Returns a human-readable reason when the ID exceeds
OKX_MAX_CLORDID_LEN characters or contains non-alphanumeric characters
(such as hyphens or underscores).