One authoritative order row from the broker, with the client token it echoes when it has one. An Order row spreads into it as it is.

interface BrokerOrderUpdate {
    clientToken?: string;
    id: string;
    parentId?: string;
    role?: OrderRole;
    status: OrderStatus;
}

Properties

clientToken?: string
id: string
parentId?: string

For a leg the provider placed and linked itself: the broker id of its entry.

role?: OrderRole

For such a leg: sl for the stop, tp for the target. With parentId, it finds a leg that echoes no token.

status: OrderStatus