Account Streaming Responses

Response and definitions for account streaming

Account streaming will return orders as they are received and each time a status updates such as open, pending, filled, rejcted, or cancelled. In order to keep the stream active and prevent inactivity closure, a heartbeat payload will be sent regularly.

Response

 >>> 2025-12-09 12:02:51.050755{"event":"heartbeat","status":"active","timestamp":"2025-12-10T18:02:51.028929606Z"}

 >>> 2025-12-09 12:03:51.053280{"event":"heartbeat","status":"active","timestamp":"2025-12-09T18:03:51.029067177Z"}

 >>> 2025-12-09 12:04:51.058830{"event":"heartbeat","status":"active","timestamp":"2025-12-09T18:04:51.028185434Z"}


{
   "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":"2025-12-09T12:05:35.277Z",
   "create_date":"2025-12-09T12: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":"2025-12-09T12:05:35.277Z",
   "create_date":"2025-12-09T12: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":"2025-12-09T12:05:35.277Z",
   "create_date":"2025-12-09T12: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