Stack positions updated
positions updated events for stock | Description |
---|---|
positions.updated | Stack holding updates will appear in payload.current state and existing stack holding positions will appear in payload.previous state. |
{
"eventId": "5361de9e-13f9-4709-9117-43249f5aae2c",
"eventCd": "positions.updated",
"timestamp": "2022-09-06T15:53:48.326+0000",
"payload": {
"category": "stack",
"custId" : "7d37ab4d-ef0f-4288-8320-174aa283dccd",
"previous": {
"symbol": "FAANGM",
"investment": 0,
"stocks": []
},
"current": {
"symbol": "FAANGM",
"investment": 722.66,
"stocks": [
{
"symbol": "MSFT",
"investment": 178.13,
"quantity": 0.59458289,
"avgPrice": 299.59
},
{
"symbol": "GOOGL",
"investment": 149.13,
"quantity": 1.0779272,
"avgPrice": 138.35
},
{
"symbol": "NFLX",
"investment": 13.54,
"quantity": 0.03643922,
"avgPrice": 371.58
},
{
"symbol": "AAPL",
"investment": 217.76,
"quantity": 1.2719875,
"avgPrice": 171.2
},
{
"symbol": "AMZN",
"investment": 134.65,
"quantity": 0.839843,
"avgPrice": 160.33
},
{
"symbol": "META",
"investment": 44.44,
"quantity": 0.20368788,
"avgPrice": 218.18
}
]
}
}
}
Event Fields Description
Field | Type | Description |
---|---|---|
eventId | string | Unique Event Identifier |
eventCd | string | Event Type |
payload | object | Payload Object with the Details about the Order |
payload.custId | string | Unique Customer Identifier |
payload.category | string | stack |
payload.previous.symbol | string | Symbol of the Ticker |
payload.previous.investment | number | Amount of total stack holdings Note: If previous holding exists |
payload.previous.stocks | number | Holdings of stock inside the stack Note: If previous holding exists |
payload.current.symbol | string | Symbol of the Ticker |
payload.current.investment | number | Updated amount of total stack holdings |
payload.current.stocks | number | Updated holdings of stock inside the stack |
timestamp | string | Time of the Queue Entry |
Updated over 2 years ago