interface OrderHistoryEntry {
    accountId: string;
    clientToken?: string;
    command?: "reverse" | "close" | "bracket";
    duration?: OrderDuration;
    expiresAt?: number;
    order: Order;
    time: number;
}

Properties

accountId: string
clientToken?: string

The client token the provider echoes, which is how an ambiguous write is found again.

command?: "reverse" | "close" | "bracket"

Set when the order is a provider-native command rather than a plain order.

duration?: OrderDuration
expiresAt?: number

UTC seconds.

order: Order

The order as the provider last reported it.

time: number

Last update, UTC seconds.