2955c31c524d
Returns historical orders for the authenticated user, newest first by default, paged via the response cursor. The time range is optional and unbounded; an inverted range (end_timestamp_ns <= start_timestamp_ns) is rejected with a 400. Optionally narrow the result to specific orders via order_id and/or order_ids. Pages may be returned partial.
Query parameters
Optional comma-separated order state filter, e.g. FILLED,CANCELED,REPLACED
Optional single order ID filter, e.g. ORD-1234567890. Convenience alias for a one-element order_ids; combined with order_ids if both are set.
Optional comma-separated order ID filter, e.g. ORD-1,ORD-2. Combined with order_id if both are set.
Optional account ID. If omitted, the user's default (primary) account is used.
Response
List of orders