Returns a filtered array of orders by the subaccount
Query parameters
Direction to paginate through objects
Limit the number of objects to return
Pointer to the current object in pagination dataset
Id of the subaccount to query for
Client-generated order id to query for (either a valid UUID or alphanumeric string up to 32 characters)
Array of product ids to filter for
Filter by orders created after timestamp exclusive (ms since Unix epoch)
Filter by orders created before timestamp inclusive (ms since Unix epoch)
Side of the order to filter for
Whether the order is a position close order
Array of StopTypes to filter by
Filter by orders that are working: NEW, FILLED_PARTIAL
Filter by orders that are PENDING
Order by field
Response
Example response
{
"data": [
{
"availableQuantity": "10.5",
"clientOrderId": "28850555-0968-44ca-bdee-b51e286656d9",
"createdAt": 1712019600000,
"expiresAt": 1712019600,
"filled": "0.5",
"groupId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"postOnly": true,
"price": "4200.5",
"productId": "9c6bf870-a8ce-4de3-820b-542fd5c049ba",
"quantity": "10.5",
"reduceOnly": true,
"sender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"status": "FILLED",
"stopPrice": "4200.5",
"subaccountId": "c25c39d9-ce2b-4753-960c-c5ad558aace8",
"timeInForce": "GTD",
"triggered": "TRIGGERED",
"type": "LIMIT",
"updatedAt": 1712019600000
}
],
"hasNext": true
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
added the non-success response with the status
response-non-success-status-added
- ○