Binance Connector JS
    Preparing search index...

    Request parameters for orderListPlaceOco operation in TradeApi. OrderListPlaceOcoRequest

    interface OrderListPlaceOcoRequest {
        aboveClientOrderId?: string;
        aboveIcebergQty?: number | bigint;
        abovePegOffsetType?: PRICE_LEVEL;
        abovePegOffsetValue?: number;
        abovePegPriceType?: OrderListPlaceOcoAbovePegPriceTypeEnum;
        abovePrice?: number;
        aboveStopPrice?: number;
        aboveStrategyId?: number | bigint;
        aboveStrategyType?: number;
        aboveTimeInForce?: OrderListPlaceOcoAboveTimeInForceEnum;
        aboveTrailingDelta?: number | bigint;
        aboveType: OrderListPlaceOcoAboveTypeEnum;
        belowClientOrderId?: string;
        belowIcebergQty?: number | bigint;
        belowPegOffsetType?: PRICE_LEVEL;
        belowPegOffsetValue?: number;
        belowPegPriceType?: OrderListPlaceOcoBelowPegPriceTypeEnum;
        belowPrice?: number;
        belowStopPrice?: number;
        belowStrategyId?: number | bigint;
        belowStrategyType?: number;
        belowTimeInForce?: OrderListPlaceOcoBelowTimeInForceEnum;
        belowTrailingDelta?: number | bigint;
        belowType: OrderListPlaceOcoBelowTypeEnum;
        id?: string;
        listClientOrderId?: string;
        newOrderRespType?: OrderListPlaceOcoNewOrderRespTypeEnum;
        quantity: number;
        recvWindow?: number;
        selfTradePreventionMode?: OrderListPlaceOcoSelfTradePreventionModeEnum;
        side: OrderListPlaceOcoSideEnum;
        symbol: string;
    }
    Index

    Properties

    aboveClientOrderId?: string

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

    TradeApiOrderListPlaceOco

    aboveIcebergQty?: number | bigint

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

    TradeApiOrderListPlaceOco

    abovePegOffsetType?: PRICE_LEVEL

    TradeApiOrderListPlaceOco

    abovePegOffsetValue?: number

    TradeApiOrderListPlaceOco

    PRIMARY_PEG or MARKET_PEG. See Pegged Orders

    TradeApiOrderListPlaceOco

    abovePrice?: number

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

    TradeApiOrderListPlaceOco

    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.

    TradeApiOrderListPlaceOco

    aboveStrategyId?: number | bigint

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

    TradeApiOrderListPlaceOco

    aboveStrategyType?: number

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

    TradeApiOrderListPlaceOco

    Required if aboveType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListPlaceOco

    aboveTrailingDelta?: number | bigint

    TradeApiOrderListPlaceOco

    TradeApiOrderListPlaceOco

    belowClientOrderId?: string

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

    TradeApiOrderListPlaceOco

    belowIcebergQty?: number | bigint

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

    TradeApiOrderListPlaceOco

    belowPegOffsetType?: PRICE_LEVEL

    TradeApiOrderListPlaceOco

    belowPegOffsetValue?: number

    TradeApiOrderListPlaceOco

    TradeApiOrderListPlaceOco

    belowPrice?: number

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

    TradeApiOrderListPlaceOco

    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.

    TradeApiOrderListPlaceOco

    belowStrategyId?: number | bigint

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

    TradeApiOrderListPlaceOco

    belowStrategyType?: number

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

    TradeApiOrderListPlaceOco

    Required if belowType is STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.

    TradeApiOrderListPlaceOco

    belowTrailingDelta?: number | bigint

    TradeApiOrderListPlaceOco

    Supported values: STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT

    TradeApiOrderListPlaceOco

    id?: string

    Client-generated request identifier.

    TradeApiOrderListPlaceOco

    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.

    TradeApiOrderListPlaceOco

    Select response format: ACK, RESULT, FULL.

    TradeApiOrderListPlaceOco

    quantity: number

    Quantity for both orders of the order list.

    TradeApiOrderListPlaceOco

    recvWindow?: number

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

    TradeApiOrderListPlaceOco

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

    TradeApiOrderListPlaceOco

    BUY or SELL

    TradeApiOrderListPlaceOco

    symbol: string

    TradeApiOrderListPlaceOco