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 an error if the ID exceeds OKX_MAX_CLORDID_LEN characters or contains
non-alphanumeric characters (such as hyphens or underscores). The error gives a human-readable
reason.