Stock positions updated

positions updated events for stockDescription
positions.updatedStock holding updates will appear in payload.current state and existing stock holding positions will appear in payload.previous state.
{
    "eventId" : "5361de9e-13f9-4709-9117-43249f5aae2d",
    "eventCd" : "positions.updated",
    "timestamp" : "2022-09-06T15:56:09.958+0000",
    "payload" : {
        "category" : "stock",
        "previous" : {
            "symbol" : "MU",
            "investment" : 181.8,
            "quantity" : 3,
            "avgPrice" : 60.6
        },
        "current" : {
            "symbol" : "MU",
            "investment" : 239.21,
            "quantity" : 4,
            "avgPrice" : 59.81
        },
        "custId" : "7d37ab4d-ef0f-4288-8320-174aa283dccd"
    }
}

Event Fields Description

FieldTypeDescription
eventIdstringUnique Event Identifier
eventCdstringEvent Type
payloadobjectPayload Object with the Details about the Order
payload.custIdstringUnique Customer Identifier
payload.categorystringstock
payload.previous.symbolstringSymbol of the Ticker
payload.previous.investmentnumberAmount of total stock holdings
Note: If previous holding exists
payload.previous.quantitynumberQuantity of total stock holdings
Note: If previous holding exists
payload.previous.avgPricenumberAverage Price of the holding stocks
Note: If previous holding exists
payload.current.symbolstringSymbol of the Ticker
payload.current.investmentnumberUpdated amount of total stock holdings
payload.current.quantitynumberUpdated quantity of total stock holdings
payload.current.avgPricenumberUpdated average Price of the holding stocks
timestampstringTime of the Queue Entry