pub fn parse_margin_action(s: &str) -> Option<BybitMarginAction>Expand description
Parses a Bybit margin action from a query_account parameter, accepting the
BybitMarginAction enum’s snake_case and Python variant spellings.
pub fn parse_margin_action(s: &str) -> Option<BybitMarginAction>Parses a Bybit margin action from a query_account parameter, accepting the
BybitMarginAction enum’s snake_case and Python variant spellings.