pub fn parse_side(side: &str) -> Option<Side>Expand description
Parse SDK side string to rustrade Side.
Hyperliquid API returns “B” for buy/long and “A” for sell/short (ask-side). Extra variants included for defensive parsing of potential future API changes.