Longbridge OpenAPI SDK
    Preparing search index...

    Interface ReplaceAttachedParams

    Parameters for replacing an attached order

    interface ReplaceAttachedParams {
        attachedOrderType: AttachedOrderType;
        profitTakerPrice?: Decimal;
        stopLossPrice?: Decimal;
        timeInForce?: TimeInForceType;
        expireTime?: number;
        activateOrderType?: OrderType;
        profitTakerSubmitPrice?: Decimal;
        stopLossSubmitPrice?: Decimal;
        activateRth?: OutsideRTH;
        profitTakerId?: number;
        stopLossId?: number;
        cancelAllAttached?: boolean;
        mainId?: number;
        quantity?: Decimal;
        marketPrice?: Decimal;
    }
    Index
    attachedOrderType: AttachedOrderType

    Attached order type

    profitTakerPrice?: Decimal

    Profit taker price

    stopLossPrice?: Decimal

    Stop loss price

    timeInForce?: TimeInForceType

    Time in force type

    expireTime?: number

    Expire time (unix timestamp)

    activateOrderType?: OrderType

    Activate order type

    profitTakerSubmitPrice?: Decimal

    Profit taker submit price

    stopLossSubmitPrice?: Decimal

    Stop loss submit price

    activateRth?: OutsideRTH

    Activate RTH

    profitTakerId?: number

    Profit taker order ID

    stopLossId?: number

    Stop loss order ID

    cancelAllAttached?: boolean

    Cancel all attached orders

    mainId?: number

    Main order ID

    quantity?: Decimal

    Quantity

    marketPrice?: Decimal

    Market price