Binance Connector JS
    Preparing search index...

    Request parameters for orderListPlaceOtoco operation in TradeApi. OrderListPlaceOtocoRequest

    interface OrderListPlaceOtocoRequest {
        id?: string;
        listClientOrderId?: string;
        newOrderRespType?: OrderListPlaceOtocoNewOrderRespTypeEnum;
        pendingAboveClientOrderId?: string;
        pendingAboveIcebergQty?: number;
        pendingAbovePegOffsetType?: PRICE_LEVEL;
        pendingAbovePegOffsetValue?: number;
        pendingAbovePegPriceType?: OrderListPlaceOtocoPendingAbovePegPriceTypeEnum;
        pendingAbovePrice?: number;
        pendingAboveStopPrice?: number;
        pendingAboveStrategyId?: number | bigint;
        pendingAboveStrategyType?: number;
        pendingAboveTimeInForce?: OrderListPlaceOtocoPendingAboveTimeInForceEnum;
        pendingAboveTrailingDelta?: number;
        pendingAboveType: OrderListPlaceOtocoPendingAboveTypeEnum;
        pendingBelowClientOrderId?: string;
        pendingBelowIcebergQty?: number;
        pendingBelowPegOffsetType?: PRICE_LEVEL;
        pendingBelowPegOffsetValue?: number;
        pendingBelowPegPriceType?: OrderListPlaceOtocoPendingBelowPegPriceTypeEnum;
        pendingBelowPrice?: number;
        pendingBelowStopPrice?: number;
        pendingBelowStrategyId?: number | bigint;
        pendingBelowStrategyType?: number;
        pendingBelowTimeInForce?: OrderListPlaceOtocoPendingBelowTimeInForceEnum;
        pendingBelowTrailingDelta?: number;
        pendingBelowType?: OrderListPlaceOtocoPendingBelowTypeEnum;
        pendingQuantity: number;
        pendingSide: OrderListPlaceOtocoPendingSideEnum;
        recvWindow?: number;
        selfTradePreventionMode?: OrderListPlaceOtocoSelfTradePreventionModeEnum;
        symbol: string;
        workingClientOrderId?: string;
        workingIcebergQty?: number;
        workingPegOffsetType?: PRICE_LEVEL;
        workingPegOffsetValue?: number;
        workingPegPriceType?: OrderListPlaceOtocoWorkingPegPriceTypeEnum;
        workingPrice: number;
        workingQuantity: number;
        workingSide: OrderListPlaceOtocoWorkingSideEnum;
        workingStrategyId?: number | bigint;
        workingStrategyType?: number;
        workingTimeInForce?: OrderListPlaceOtocoWorkingTimeInForceEnum;
        workingType: OrderListPlaceOtocoWorkingTypeEnum;
    }
    Index

    Properties

    id?: string

    Client-generated request identifier.

    TradeApiOrderListPlaceOtoco

    listClientOrderId?: string

    Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same listClientOrderId is accepted only when the previous one is filled or completely expired. listClientOrderId is distinct from the workingClientOrderId and the pendingClientOrderId.

    TradeApiOrderListPlaceOtoco

    Format of the JSON response. Supported values: Order Response Type

    TradeApiOrderListPlaceOtoco

    pendingAboveClientOrderId?: string

    Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.

    TradeApiOrderListPlaceOtoco

    pendingAboveIcebergQty?: number

    This can only be used if pendingAboveTimeInForce is GTC or if pendingAboveType is LIMIT_MAKER.

    TradeApiOrderListPlaceOtoco

    pendingAbovePegOffsetType?: PRICE_LEVEL

    TradeApiOrderListPlaceOtoco

    pendingAbovePegOffsetValue?: number

    TradeApiOrderListPlaceOtoco

    TradeApiOrderListPlaceOtoco

    pendingAbovePrice?: number

    Can be used if pendingAboveType is STOP_LOSS_LIMIT, LIMIT_MAKER, or TAKE_PROFIT_LIMIT to specify the limit price.

    TradeApiOrderListPlaceOtoco

    pendingAboveStopPrice?: number

    Can be used if pendingAboveType is STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT.

    TradeApiOrderListPlaceOtoco

    pendingAboveStrategyId?: number | bigint

    Arbitrary numeric value identifying the pending above order within an order strategy.

    TradeApiOrderListPlaceOtoco

    pendingAboveStrategyType?: number

    Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used.

    TradeApiOrderListPlaceOtoco

    Required if pendingAboveType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListPlaceOtoco

    pendingAboveTrailingDelta?: number

    TradeApiOrderListPlaceOtoco

    Supported values: STOP_LOSS_LIMIT, STOP_LOSS, LIMIT_MAKER, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    TradeApiOrderListPlaceOtoco

    pendingBelowClientOrderId?: string

    Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.

    TradeApiOrderListPlaceOtoco

    pendingBelowIcebergQty?: number

    This can only be used if pendingBelowTimeInForce is GTC, or if pendingBelowType is LIMIT_MAKER.

    TradeApiOrderListPlaceOtoco

    pendingBelowPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListPlaceOtoco

    pendingBelowPegOffsetValue?: number

    TradeApiOrderListPlaceOtoco

    TradeApiOrderListPlaceOtoco

    pendingBelowPrice?: number

    Can be used if pendingBelowType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT to specify the limit price.

    TradeApiOrderListPlaceOtoco

    pendingBelowStopPrice?: number

    Can be used if pendingBelowType is STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT. Either pendingBelowStopPrice or pendingBelowTrailingDelta or both, must be specified.

    TradeApiOrderListPlaceOtoco

    pendingBelowStrategyId?: number | bigint

    Arbitrary numeric value identifying the pending below order within an order strategy.

    TradeApiOrderListPlaceOtoco

    pendingBelowStrategyType?: number

    Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used.

    TradeApiOrderListPlaceOtoco

    Required if pendingBelowType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListPlaceOtoco

    pendingBelowTrailingDelta?: number

    TradeApiOrderListPlaceOtoco

    Supported values: STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    TradeApiOrderListPlaceOtoco

    pendingQuantity: number

    Sets the quantity for the pending orders.

    TradeApiOrderListPlaceOtoco

    Supported values: Order Side

    TradeApiOrderListPlaceOtoco

    recvWindow?: number

    Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.

    TradeApiOrderListPlaceOtoco

    The allowed enums is dependent on what is configured on the symbol. Supported values: STP Modes

    TradeApiOrderListPlaceOtoco

    symbol: string

    TradeApiOrderListPlaceOtoco

    workingClientOrderId?: string

    Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.

    TradeApiOrderListPlaceOtoco

    workingIcebergQty?: number

    This can only be used if workingTimeInForce is GTC, or if workingType is LIMIT_MAKER.

    TradeApiOrderListPlaceOtoco

    workingPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListPlaceOtoco

    workingPegOffsetValue?: number

    TradeApiOrderListPlaceOtoco

    TradeApiOrderListPlaceOtoco

    workingPrice: number

    TradeApiOrderListPlaceOtoco

    workingQuantity: number

    Sets the quantity for the working order.

    TradeApiOrderListPlaceOtoco

    Supported values: Order Side

    TradeApiOrderListPlaceOtoco

    workingStrategyId?: number | bigint

    Arbitrary numeric value identifying the working order within an order strategy.

    TradeApiOrderListPlaceOtoco

    workingStrategyType?: number

    Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used.

    TradeApiOrderListPlaceOtoco

    Supported values: Time In Force

    TradeApiOrderListPlaceOtoco

    Supported values: LIMIT, LIMIT_MAKER

    TradeApiOrderListPlaceOtoco