Account Streaming Responses

Response and definitions for account streaming

Response

{
   "id":1107075,
   "event":"order",
   "status":"open",
   "type": "limit",
   "price":10.0,
   "stop_price":0.0,
   "avg_fill_price":0.0,
   "exec_quantity":0.0,
   "last_fill_quantity":0.0,
   "remaining_quantity":2.0,
   "transaction_date":"2021-08-09T20:05:35.277Z",
   "create_date":"2021-08-09T20:05:35.277Z",
   "account":"6YA"
}
{
   "id":1107075,
   "event":"order",
   "status":"pending",
   "type": "limit",
   "price":10.0,
   "stop_price":0.0,
   "avg_fill_price":0.0,
   "exec_quantity":0.0,
   "last_fill_quantity":0.0,
   "remaining_quantity":2.0,
   "transaction_date":"2021-08-09T20:05:35.277Z",
   "create_date":"2021-08-09T20:05:35.277Z",
   "account":"6YA"
}
{
   "id":1107075,
   "event":"order",
   "status":"filled",
   "type": "limit",
   "price":10.0,
   "stop_price":0.0,
   "avg_fill_price":10.0,
   "exec_quantity":2.0,
   "last_fill_quantity":0.0,
   "remaining_quantity":0.0,
   "transaction_date":"2021-08-09T20:05:35.277Z",
   "create_date":"2021-08-09T20:05:35.277Z",
   "account":"6YA"
}

Definitions


FieldDescription
idUnique identifier for the order
eventEvent type, One of: order, heartbeat
parent_idUnique identifier for the parent order
accountAccount number
statusOrder status, One of: open, partially_filled, filled, expired, canceled, pending, rejected, calculated, accepted_for_bidding, error, held
typeSingle-leg, One of: market, limit, stop, stop_limit
Multi-leg, One of: market, debit, credit, even
tagOrder tag if available
priceLimit price
stop_priceStop price
avg_fill_priceAverage fill price
exec_quantityTotal number of shares/contracts filled
last_fill_quantityLast fill quantity
remaining_quantityNumber of shares/contracts remaining
create_dateDate the order was created
transaction_dateDate the order was last updated