pub fn derive_status_to_nautilus(
status: DeriveOrderStatus,
filled_qty: Decimal,
quantity: Decimal,
) -> Result<OrderStatus>Expand description
Maps a Derive order status to the Nautilus equivalent, given the current filled quantity.
ยงErrors
Returns an error if the order status is unmodeled.