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
| Field | Description |
|---|---|
| id | Unique identifier for the order |
| event | Event type, One of: order, heartbeat |
| parent_id | Unique identifier for the parent order |
| account | Account number |
| status | Order status, One of: open, partially_filled, filled, expired, canceled, pending, rejected, calculated, accepted_for_bidding, error, held |
| type | Single-leg, One of: market, limit, stop, stop_limit |
| Multi-leg, One of: market, debit, credit, even | |
| tag | Order tag if available |
| price | Limit price |
| stop_price | Stop price |
| avg_fill_price | Average fill price |
| exec_quantity | Total number of shares/contracts filled |
| 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 |
Updated 4 months ago