pub fn is_ask_from_order_side(side: OrderSide) -> Result<bool>Expand description
Converts a Nautilus [OrderSide] to the venue’s is_ask boolean.
Lighter’s tx body encodes the side as is_ask: false for a bid (buy)
and true for an ask (sell).
§Errors
Returns an error if side is [OrderSide::NoOrderSide].