Orders
Response
{
"orders": {
"order": [
{
"id": 228175,
"type": "limit",
"symbol": "AAPL",
"side": "buy",
"quantity": 50.00000000,
"status": "expired",
"duration": "pre",
"price": 22.0,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-01T12:02:29.682Z",
"transaction_date": "2018-06-01T12:30:02.385Z",
"class": "equity"
},
{
"id": 228749,
"type": "market",
"symbol": "SPY",
"side": "buy_to_open",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-06T20:16:17.342Z",
"transaction_date": "2018-06-06T20:16:17.357Z",
"class": "option",
"option_symbol": "SPY180720C00274000"
},
{
"id": 229063,
"type": "debit",
"symbol": "SPY",
"side": "buy",
"quantity": 1.00000000,
"status": "canceled",
"duration": "pre",
"price": 42.0,
"avg_fill_price": 0.00,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-12T21:13:36.076Z",
"transaction_date": "2018-06-12T21:18:41.604Z",
"class": "combo",
"num_legs": 2,
"strategy": "covered call",
"leg": [
{
"id": 229064,
"type": "debit",
"symbol": "SPY",
"side": "buy",
"quantity": 100.00000000,
"status": "canceled",
"duration": "pre",
"price": 42.0,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-12T21:13:36.076Z",
"transaction_date": "2018-06-12T21:18:41.587Z",
"class": "equity"
},
{
"id": 229065,
"type": "debit",
"symbol": "SPY",
"side": "sell_to_close",
"quantity": 1.00000000,
"status": "canceled",
"duration": "pre",
"price": 42.0,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-12T21:13:36.076Z",
"transaction_date": "2018-06-12T21:18:41.597Z",
"class": "option",
"option_symbol": "SPY180720C00274000"
}
]
},
{
"id": 229123,
"type": "credit",
"symbol": "SPY",
"side": "buy",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"price": 0.8,
"avg_fill_price": 0.00,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-13T16:54:39.812Z",
"transaction_date": "2018-06-13T20:55:00.069Z",
"class": "multileg",
"num_legs": 4,
"strategy": "condor",
"leg": [
{
"id": 229124,
"type": "credit",
"symbol": "SPY",
"side": "buy_to_open",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"price": 0.8,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-13T16:54:39.812Z",
"transaction_date": "2018-06-13T20:55:00.069Z",
"class": "option",
"option_symbol": "SPY180720C00274000"
},
{
"id": 229125,
"type": "credit",
"symbol": "SPY",
"side": "sell_to_open",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"price": 0.8,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-13T16:54:39.812Z",
"transaction_date": "2018-06-13T20:55:00.069Z",
"class": "option",
"option_symbol": "SPY180720C00275000"
},
{
"id": 229126,
"type": "credit",
"symbol": "SPY",
"side": "sell_to_open",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"price": 0.8,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-13T16:54:39.812Z",
"transaction_date": "2018-06-13T20:55:00.069Z",
"class": "option",
"option_symbol": "SPY180720C00276000"
},
{
"id": 229127,
"type": "credit",
"symbol": "SPY",
"side": "buy_to_open",
"quantity": 1.00000000,
"status": "expired",
"duration": "pre",
"price": 0.8,
"avg_fill_price": 0.00000000,
"exec_quantity": 0.00000000,
"last_fill_price": 0.00000000,
"last_fill_quantity": 0.00000000,
"remaining_quantity": 0.00000000,
"create_date": "2018-06-13T16:54:39.812Z",
"transaction_date": "2018-06-13T20:55:00.069Z",
"class": "option",
"option_symbol": "SPY180720C00277000"
}
]
}
]
}
}
Definitions
Field | Description |
---|---|
id | Unique identifier for the order |
type | Single-leg, One of: market, limit, stop, stop_limit |
Multi-leg, One of: market, debit, credit, even | |
symbol | Security symbol or underlying security symbol |
side | Equity, One of: buy, buy_to_cover, sell, sell_short |
Option, One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close | |
quantity | Number of shares or contracts |
status | One of: open, partially_filled, filled, expired, canceled, pending, rejected, error |
duration | One of: day, pre, post, gtc |
price | Limit price |
avg_fill_price | Average fill price |
exec_quantity | Total number of shares/contracts filled |
last_fill_price | Last fill price |
last_fill_quantity | Last fill quantity |
remaining_quantity | Number of shares/contracts remaining |
create_date | Date the order was created |
transaction_date | Date the order was last updated |
class | One of: equity, option, combo, multileg |
strategy | One of: freeform, covered_call, protective_put, strangle, straddle, spread, collar, butterfly, condor, unknown |
option_symbol | OCC option symbol |
stop_price | Stop price |
reason_description | Rejection details |
tag | Order tag if available |
Updated 3 months ago