Binance Connector JS
    Preparing search index...

    Interface OrderListOtocoRequest

    Request parameters for orderListOtoco operation in TradeApi. OrderListOtocoRequest

    interface OrderListOtocoRequest {
        listClientOrderId?: string;
        newOrderRespType?: OrderListOtocoNewOrderRespTypeEnum;
        pendingAboveClientOrderId?: string;
        pendingAboveIcebergQty?: number;
        pendingAbovePegOffsetType?: PRICE_LEVEL;
        pendingAbovePegOffsetValue?: number;
        pendingAbovePegPriceType?: OrderListOtocoPendingAbovePegPriceTypeEnum;
        pendingAbovePrice?: number;
        pendingAboveStopPrice?: number;
        pendingAboveStrategyId?: number | bigint;
        pendingAboveStrategyType?: number;
        pendingAboveTimeInForce?: OrderListOtocoPendingAboveTimeInForceEnum;
        pendingAboveTrailingDelta?: number;
        pendingAboveType: OrderListOtocoPendingAboveTypeEnum;
        pendingBelowClientOrderId?: string;
        pendingBelowIcebergQty?: number;
        pendingBelowPegOffsetType?: PRICE_LEVEL;
        pendingBelowPegOffsetValue?: number;
        pendingBelowPegPriceType?: OrderListOtocoPendingBelowPegPriceTypeEnum;
        pendingBelowPrice?: number;
        pendingBelowStopPrice?: number;
        pendingBelowStrategyId?: number | bigint;
        pendingBelowStrategyType?: number;
        pendingBelowTimeInForce?: OrderListOtocoPendingBelowTimeInForceEnum;
        pendingBelowTrailingDelta?: number;
        pendingBelowType?: OrderListOtocoPendingBelowTypeEnum;
        pendingQuantity: number;
        pendingSide: OrderListOtocoPendingSideEnum;
        recvWindow?: number;
        selfTradePreventionMode?: OrderListOtocoSelfTradePreventionModeEnum;
        symbol: string;
        workingClientOrderId?: string;
        workingIcebergQty?: number;
        workingPegOffsetType?: PRICE_LEVEL;
        workingPegOffsetValue?: number;
        workingPegPriceType?: OrderListOtocoWorkingPegPriceTypeEnum;
        workingPrice: number;
        workingQuantity: number;
        workingSide: OrderListOtocoWorkingSideEnum;
        workingStrategyId?: number | bigint;
        workingStrategyType?: number;
        workingTimeInForce?: OrderListOtocoWorkingTimeInForceEnum;
        workingType: OrderListOtocoWorkingTypeEnum;
    }
    Index

    Properties

    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.

    TradeApiOrderListOtoco

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

    TradeApiOrderListOtoco

    pendingAboveClientOrderId?: string

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

    TradeApiOrderListOtoco

    pendingAboveIcebergQty?: number

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

    TradeApiOrderListOtoco

    pendingAbovePegOffsetType?: PRICE_LEVEL

    TradeApiOrderListOtoco

    pendingAbovePegOffsetValue?: number

    TradeApiOrderListOtoco

    TradeApiOrderListOtoco

    pendingAbovePrice?: number

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

    TradeApiOrderListOtoco

    pendingAboveStopPrice?: number

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

    TradeApiOrderListOtoco

    pendingAboveStrategyId?: number | bigint

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

    TradeApiOrderListOtoco

    pendingAboveStrategyType?: number

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

    TradeApiOrderListOtoco

    Required if pendingAboveType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListOtoco

    pendingAboveTrailingDelta?: number

    TradeApiOrderListOtoco

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

    TradeApiOrderListOtoco

    pendingBelowClientOrderId?: string

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

    TradeApiOrderListOtoco

    pendingBelowIcebergQty?: number

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

    TradeApiOrderListOtoco

    pendingBelowPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListOtoco

    pendingBelowPegOffsetValue?: number

    TradeApiOrderListOtoco

    TradeApiOrderListOtoco

    pendingBelowPrice?: number

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

    TradeApiOrderListOtoco

    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.

    TradeApiOrderListOtoco

    pendingBelowStrategyId?: number | bigint

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

    TradeApiOrderListOtoco

    pendingBelowStrategyType?: number

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

    TradeApiOrderListOtoco

    Required if pendingBelowType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListOtoco

    pendingBelowTrailingDelta?: number

    TradeApiOrderListOtoco

    Supported values: STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    TradeApiOrderListOtoco

    pendingQuantity: number

    Sets the quantity for the pending orders.

    TradeApiOrderListOtoco

    Supported values: Order Side

    TradeApiOrderListOtoco

    recvWindow?: number

    The value cannot be greater than 60000. Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.

    TradeApiOrderListOtoco

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

    TradeApiOrderListOtoco

    symbol: string

    TradeApiOrderListOtoco

    workingClientOrderId?: string

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

    TradeApiOrderListOtoco

    workingIcebergQty?: number

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

    TradeApiOrderListOtoco

    workingPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListOtoco

    workingPegOffsetValue?: number

    TradeApiOrderListOtoco

    TradeApiOrderListOtoco

    workingPrice: number

    TradeApiOrderListOtoco

    workingQuantity: number

    Sets the quantity for the working order.

    TradeApiOrderListOtoco

    Supported values: Order Side

    TradeApiOrderListOtoco

    workingStrategyId?: number | bigint

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

    TradeApiOrderListOtoco

    workingStrategyType?: number

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

    TradeApiOrderListOtoco

    Supported values: Time In Force

    TradeApiOrderListOtoco

    Supported values: LIMIT, LIMIT_MAKER

    TradeApiOrderListOtoco