v1

latestOpenAPI 3.1.02026-07-2496304466.3 KB
Orders

List Orders

get/accounts/{account_id}/orders

Path parameters

account_idstring required

An account identifier.

Query parameters

status'accepted' | 'canceled' | 'canceling' | 'confirmed' | 'created' | 'executed' | 'rejected'

A category representing the state of an order:

<ul> <li><code>accepted</code> <li><code>canceled</code> <li><code>canceling</code> <li><code>confirmed</code> <li><code>created</code> <li><code>executed</code> <li><code>rejected</code> </ul>
cursorstring

A pagination cursor. When you receive a paginated response containing the property pagination.next_cursor, you can pass its value here to get the next page of results for your query. A cursor will include filter parameters, so there is not need to specify both the cursor and any other filter parameter.

limitinteger

In order to customize the number of elements returned, you can provide a limit here. The service will not return more elements than specified.

securities_accountstring

A securities account identifier. Use this to filter the results to the orders related to a specific securities account.

Headers

LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required

Response

Successful Response

Example response

{
  "data": [
    {
      "currency": "EUR",
      "history": [
        {
          "timestamp": "2023-06-23T07:29:55.465000+00:00",
          "reason": "insufficient_buying_power"
        }
      ]
    }
  ],
  "pagination": {
    "next_cursor": "<opaque-data>"
  }
}