Interface ReplaceOrderOptions

Options for replace order request

interface ReplaceOrderOptions {
    orderId: string;
    quantity: number;
    price?: Decimal;
    triggerPrice?: Decimal;
    limitOffset?: Decimal;
    trailingAmount?: Decimal;
    trailingPercent?: Decimal;
    remark?: string;
}

Properties

orderId: string

Order id

quantity: number

Replaced quantity

price?: Decimal

Replaced price

triggerPrice?: Decimal

Trigger price (LIT / MIT Order Required)

limitOffset?: Decimal

Limit offset amount (TSLPAMT / TSLPPCT Required)

trailingAmount?: Decimal

Trailing amount (TSLPAMT / TSMAMT Required)

trailingPercent?: Decimal

Trailing percent (TSLPPCT / TSMAPCT Required)

remark?: string

Remark (Maximum 64 characters)