Orders

Attempts to update an existing order. This can be used to update a subset of an order's attributes, for example price and quantity.

patch/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

Request body

quantitystring required

String representation of quantity.

pricestring

String representation of a price.

stop_pricestring

String representation of a price.

Example request

{
  "quantity": "100",
  "price": "123.99",
  "stop_price": "123.99"
}

Response

Order update successfully attempted.

Changes