Cascade
Orders

Filter Orders

Retrieve list of orders for an account

GET
/account/orders

Query Parameters

accountstring

Identifies the user whose orders are to be retrieved. Caller must be be authenticated as this account or a delegate.

subaccountIndexstring

Identifies the subaccount to retrieve orders for.

orderType?array<OrderType>

Filter orders by one or more order types.

status?string

Filter orders by status.

Value in"open" | "active" | "filled" | "closed"
symbol?string

Filter orders by market symbol.

createdFrom?integer

Limit to orders submitted on or after this timestamp. May not be used with updated filters.

Formatint64
Range0 <= value
createdTo?integer

Limit to orders submitted before this timestamp. May not be used with updated filters.

Formatint64
Range0 <= value
updatedFrom?integer

Limit to orders updated on or after this timestamp. May not be used with created filters.

Formatint64
Range0 <= value
updatedTo?integer

Limit to orders updated before this timestamp. May not be used with created filters.

Formatint64
Range0 <= value
limit?integer

Maximum number of orders to return

Formatint32
Range1 <= value <= 500

Response Body

application/json

text/plain

text/plain

text/plain

curl -X GET "https://matcher.cascade.xyz/account/orders?account=0xc2cbbb5bea8fdefb1f441feaf017a0df72e89c9f&subaccountIndex=0&orderType=Limit&status=open&symbol=ETHUSD&limit=50"
{
  "asks": [
    {
      "account": "string",
      "clientId": "string",
      "createdAt": 0,
      "expiresAt": 0,
      "flags": {
        "ioc": true,
        "postOnly": true,
        "reduceOnly": true,
        "selfTradeExpire": 0
      },
      "groupId": "string",
      "lastUpdateSequenceNumber": 0,
      "nonce": 0,
      "orderId": "string",
      "orderType": "unsupported",
      "originator": "string",
      "originatorFee": 0,
      "parentOrderId": "string",
      "period": 0,
      "price": "string",
      "quantity": "string",
      "reason": "string",
      "remaining": "string",
      "settled": "string",
      "status": "new",
      "subaccountIndex": 0,
      "symbol": "string",
      "trailingPercent": "string",
      "triggerPrice": "string",
      "updatedAt": 0
    }
  ],
  "bids": [
    {
      "account": "string",
      "clientId": "string",
      "createdAt": 0,
      "expiresAt": 0,
      "flags": {
        "ioc": true,
        "postOnly": true,
        "reduceOnly": true,
        "selfTradeExpire": 0
      },
      "groupId": "string",
      "lastUpdateSequenceNumber": 0,
      "nonce": 0,
      "orderId": "string",
      "orderType": "unsupported",
      "originator": "string",
      "originatorFee": 0,
      "parentOrderId": "string",
      "period": 0,
      "price": "string",
      "quantity": "string",
      "reason": "string",
      "remaining": "string",
      "settled": "string",
      "status": "new",
      "subaccountIndex": 0,
      "symbol": "string",
      "trailingPercent": "string",
      "triggerPrice": "string",
      "updatedAt": 0
    }
  ]
}
"string"
"string"
"string"