Stack positions updated

positions updated events for stockDescription
positions.updatedStack 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

FieldTypeDescription
eventIdstringUnique Event Identifier
eventCdstringEvent Type
payloadobjectPayload Object with the Details about the Order
payload.custIdstringUnique Customer Identifier
payload.categorystringstack
payload.previous.symbolstringSymbol of the Ticker
payload.previous.investmentnumberAmount of total stack holdings
Note: If previous holding exists
payload.previous.stocksnumberHoldings of stock inside the stack
Note: If previous holding exists
payload.current.symbolstringSymbol of the Ticker
payload.current.investmentnumberUpdated amount of total stack holdings
payload.current.stocksnumberUpdated holdings of stock inside the stack
timestampstringTime of the Queue Entry