Skip to main content

Order Quantity Fields

In the response from Get Open Orders:
  • quantity: The remaining quantity of the order yet to be filled.
  • filledQuantity: The cumulative quantity that has already been filled.
The sum of quantity and filledQuantity equals the original order quantity.

Order Statuses

All open orders—regardless of status (active, pending, cancelling, or modifying)—are counted towards the Maximum Open Orders Per Market limit.
The Get Open Orders endpoint returns all open orders, including those in intermediate states. The possible statuses are: These intermediate statuses allow for tracking orders that may be temporarily in transition.

Polling Order Status

To check the status of an order, use Get Order By ID. It returns both open orders and recent order history (orders filled, cancelled, rejected, or modified within approximately one hour). Best Practices:
  • Always specify the market parameter in your query.
  • Provide either order-id or create-request-id, not both.
    • Use order-id whenever you have the order ID, as it’s the most efficient lookup.
    • Use create-request-id only as a fallback when you don’t have the order ID, for example when a create or modify response was lost to a network issue. Set it to the clientRequestId of that create or modify request.
  • If the order is not found or is outside the recent-history window (~1 hour), the endpoint will return a 404 Not Found response.