Longbridge OpenAPI SDK
    Preparing search index...

    Interface SubmitAttachedParams

    Parameters for submitting an attached order

    interface SubmitAttachedParams {
        attachedOrderType: AttachedOrderType;
        profitTakerPrice?: Decimal;
        stopLossPrice?: Decimal;
        timeInForce?: TimeInForceType;
        expireTime?: number;
        activateOrderType?: OrderType;
        profitTakerSubmitPrice?: Decimal;
        stopLossSubmitPrice?: Decimal;
        activateRth?: OutsideRTH;
        profitTakerDepthLevel?: number;
        stopLossDepthLevel?: number;
    }
    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

    profitTakerDepthLevel?: number

    Bid/ask depth level for the take-profit limit order submitted price, valid when activateOrderType is LIT

    stopLossDepthLevel?: number

    Bid/ask depth level for the stop-loss limit order submitted price, valid when activateOrderType is LIT