LongPort OpenAPI SDK

    Interface ReplaceOrderOptions

    Options for replace order request

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

    Properties

    orderId: string

    Order id

    quantity: Decimal

    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)

    MMNEPVFCICPMFPCPTTAAATR