Orders
Get order
Changed onGet an order that was previously created.
get/accounts/{account_id}/orders/{order_id}
Request
- Base URLhttps://api.clearstreet.io/studio/v2
- AuthHTTP 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 tostringfor status - warning
added the new
closeenum value to the/response property for the response status - warning
added the new
openenum value to the/response property for the response status
- breaking
- breaking
the
/response's property type changed fromstringto no type for status - info
removed the
closeenum value from the/response property for the response status - info
removed the
openenum value from the/response property for the response status
- breaking