pub fn is_slippage_rejection(error_code: &str) -> bool
Returns true if the OKX sCode identifies a slippage-related rejection emitted in response to the slippagePct parameter on market orders.
true
sCode
slippagePct