OpenOrder on a wrapper. Accurate as of the latest sync.

interface WrapperOpenOrder {
    clientOrderId: bignum;
    isBid: boolean;
    lastValidSlot: number;
    marketDataIndex: number;
    numBaseAtoms: bignum;
    orderSequenceNumber: bignum;
    orderType: manifest.OrderType;
    padding: number[];
    price: number;
}

Properties

clientOrderId: bignum

Client order id used for cancelling orders. Does not need to be unique.

isBid: boolean

Boolean for whether this order is on the bid side.

lastValidSlot: number

Last slot before this order is invalid and will be removed.

marketDataIndex: number

Hint for the location of the order in the manifest dynamic data.

numBaseAtoms: bignum

Number of base atoms in the order.

orderSequenceNumber: bignum

Exchange defined id for an order.

orderType: manifest.OrderType

Type of order (Limit, PostOnly, ...).

padding: number[]

unused

price: number

Price as float in atoms of quote per atoms of base.