pub fn parse_order_status(status: CoinbaseOrderStatus) -> OrderStatusExpand description
Converts a Coinbase order status to the Nautilus [OrderStatus].
Pending and Queued are transient pre-Open states the venue passes
through after acknowledging the order. They are mapped to Accepted
(rather than Submitted) so user-channel updates that race the REST
OrderAccepted event do not appear as a backwards transition to the
reconciler. Open also maps to Accepted because Nautilus differentiates
the initial accept event from later partial-fill states; callers should
promote the status to PartiallyFilled / Filled based on filled_qty.