Orders

Get an order that was previously created.

get/accounts/{account_id}/orders/{order_id}

Request

  • Base URL
    https://api.clearstreet.io/studio/v2
  • Auth
    HTTP bearer

Path parameters

account_idstring required

Account ID for the account.

Example:100000
order_idstring required

Unique order ID assigned by us.

Example:12390213

Response

The order associated with the given order_id.

Example response

{
  "order": {
    "order_id": "12390213",
    "reference_id": "my-order-id-123",
    "version": 1,
    "account_id": "100000",
    "account_number": "ACC0001",
    "symbol": "AAPL",
    "quantity": "100",
    "price": "123.99",
    "stop_price": "123.99",
    "filled_quantity": "100",
    "strategy": {
      "min_percent": 1,
      "max_percent": 35
    },
    "running_position": "100"
  }
}

Changes

    • breaking

      the / response's property type changed from no type to string for status

    • warning

      added the new close enum value to the / response property for the response status

    • warning

      added the new open enum value to the / response property for the response status

    • breaking

      the / response's property type changed from string to no type for status

    • info

      removed the close enum value from the / response property for the response status

    • info

      removed the open enum value from the / response property for the response status