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.
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.
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 (ordersfilled, cancelled, rejected, or modified within approximately one hour).
Best Practices:
- Always specify the
marketparameter in your query. - Provide either
order-idorcreate-request-id, not both.- Use
order-idwhenever you have the order ID, as it’s the most efficient lookup. - Use
create-request-idonly 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 theclientRequestIdof that create or modify request.
- Use
- If the order is not found or is outside the recent-history window (~1 hour), the endpoint will return a
404 Not Foundresponse.