Binance Connector JS
    Preparing search index...

    Interface OrderListOcoRequest

    Request parameters for orderListOco operation in TradeApi. OrderListOcoRequest

    interface OrderListOcoRequest {
        aboveClientOrderId?: string;
        aboveIcebergQty?: number | bigint;
        abovePegOffsetType?: PRICE_LEVEL;
        abovePegOffsetValue?: number;
        abovePegPriceType?: OrderListOcoAbovePegPriceTypeEnum;
        abovePrice?: number;
        aboveStopPrice?: number;
        aboveStrategyId?: number | bigint;
        aboveStrategyType?: number;
        aboveTimeInForce?: OrderListOcoAboveTimeInForceEnum;
        aboveTrailingDelta?: number | bigint;
        aboveType: OrderListOcoAboveTypeEnum;
        belowClientOrderId?: string;
        belowIcebergQty?: number | bigint;
        belowPegOffsetType?: PRICE_LEVEL;
        belowPegOffsetValue?: number;
        belowPegPriceType?: OrderListOcoBelowPegPriceTypeEnum;
        belowPrice?: number;
        belowStopPrice?: number;
        belowStrategyId?: number | bigint;
        belowStrategyType?: number;
        belowTimeInForce?: OrderListOcoBelowTimeInForceEnum;
        belowTrailingDelta?: number | bigint;
        belowType: OrderListOcoBelowTypeEnum;
        listClientOrderId?: string;
        newOrderRespType?: OrderListOcoNewOrderRespTypeEnum;
        quantity: number;
        recvWindow?: number;
        selfTradePreventionMode?: OrderListOcoSelfTradePreventionModeEnum;
        side: OrderListOcoSideEnum;
        symbol: string;
    }
    Index

    Properties

    aboveClientOrderId?: string

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

    TradeApiOrderListOco

    aboveIcebergQty?: number | bigint

    Note that this can only be used if aboveTimeInForce is GTC.

    TradeApiOrderListOco

    abovePegOffsetType?: PRICE_LEVEL

    TradeApiOrderListOco

    abovePegOffsetValue?: number

    TradeApiOrderListOco

    PRIMARY_PEG or MARKET_PEG. See Pegged Orders

    TradeApiOrderListOco

    abovePrice?: number

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

    TradeApiOrderListOco

    aboveStopPrice?: number

    Can be used if aboveType is STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT. Either aboveStopPrice or aboveTrailingDelta or both, must be specified.

    TradeApiOrderListOco

    aboveStrategyId?: number | bigint

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

    TradeApiOrderListOco

    aboveStrategyType?: number

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

    TradeApiOrderListOco

    Required if aboveType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListOco

    aboveTrailingDelta?: number | bigint

    TradeApiOrderListOco

    TradeApiOrderListOco

    belowClientOrderId?: string

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

    TradeApiOrderListOco

    belowIcebergQty?: number | bigint

    Note that this can only be used if belowTimeInForce is GTC.

    TradeApiOrderListOco

    belowPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListOco

    belowPegOffsetValue?: number

    TradeApiOrderListOco

    TradeApiOrderListOco

    belowPrice?: number

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

    TradeApiOrderListOco

    belowStopPrice?: number

    Can be used if belowType is STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT. Either belowStopPrice or belowTrailingDelta or both, must be specified.

    TradeApiOrderListOco

    belowStrategyId?: number | bigint

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

    TradeApiOrderListOco

    belowStrategyType?: number

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

    TradeApiOrderListOco

    Required if belowType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListOco

    belowTrailingDelta?: number | bigint

    TradeApiOrderListOco

    Supported values: STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    TradeApiOrderListOco

    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 aboveClientOrderId and the belowClientOrderId.

    TradeApiOrderListOco

    Select response format: ACK, RESULT, FULL.

    TradeApiOrderListOco

    quantity: number

    Quantity for both orders of the order list.

    TradeApiOrderListOco

    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.

    TradeApiOrderListOco

    selfTradePreventionMode?: OrderListOcoSelfTradePreventionModeEnum

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

    TradeApiOrderListOco

    TradeApiOrderListOco

    symbol: string

    TradeApiOrderListOco