Get order details
-X GET
--header 'Accept: application/json'
--header 'Authorization: Bearer {token here}'
'https://api.lime.co/orders/{id}'
Response example
{
"account_number": "12345678@vision",
"client_id": "20171003209384646",
"exchange": "Zero Commission",
"quantity": 1,
"executed_quantity": 0,
"order_status": "new",
"price": 20,
"stop_price": 0,
"time_in_force": "day",
"order_type": "limit",
"order_side": "buy",
"symbol": "BAC"
}
Get the order details by the specified order id.
Request
parameter | description |
---|---|
id | Required. The order id |
Response
name | type | description |
---|---|---|
account_number | string | The account number in the format of 123456578@vision |
client_id | string | The order id |
exchange | string | The routing instructions |
quantity | number | Positive integer, number of shares or contracts requested by the order |
executed_quantity | number | Positive number of shares or contracts executed by this time |
order_status | string | The order status. Possible values are pending_new , new , partially_filled , filled , replaced , done_for_day , pending_cancel , canceled , rejected , suspended |
price | number | Limit price if applicable |
stop_price | number | Stop price is applicable |
time_in_force | string | Order duration instructions. Possible values are day - regular hours, ext - extended hours |
order_type | string | The order type. Possible values are limit , market |
order_side | string | Side of the order. Possible values are buy , sell |
symbol | string | The security symbol |