Binance Connector JS
    Preparing search index...

    Request parameters for marginAccountNewOco operation in TradeApi. MarginAccountNewOcoRequest

    interface MarginAccountNewOcoRequest {
        autoRepayAtCancel?: boolean;
        isIsolated?: string;
        limitClientOrderId?: string;
        limitIcebergQty?: number;
        listClientOrderId?: string;
        newOrderRespType?: MarginTradingRestAPI.MarginAccountNewOcoNewOrderRespTypeEnum;
        price: number;
        quantity: number;
        recvWindow?: number;
        selfTradePreventionMode?: string;
        side: MarginTradingRestAPI.MarginAccountNewOcoSideEnum;
        sideEffectType?: string;
        stopClientOrderId?: string;
        stopIcebergQty?: number;
        stopLimitPrice?: number;
        stopLimitTimeInForce?: string;
        stopPrice: number;
        symbol: string;
    }
    Index

    Properties

    autoRepayAtCancel?: boolean

    Only when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. The default is true

    TradeApiMarginAccountNewOco

    isIsolated?: string

    for isolated margin or not, "TRUE", "FALSE",default "FALSE"

    TradeApiMarginAccountNewOco

    limitClientOrderId?: string

    A unique Id for the limit order

    TradeApiMarginAccountNewOco

    limitIcebergQty?: number

    TradeApiMarginAccountNewOco

    listClientOrderId?: string

    Either orderListId or listClientOrderId must be provided

    TradeApiMarginAccountNewOco

    Set the response JSON. ACK, RESULT, or FULL; MARKET and LIMIT order types default to FULL, all other orders default to ACK.

    TradeApiMarginAccountNewOco

    price: number

    TradeApiMarginAccountNewOco

    quantity: number

    TradeApiMarginAccountNewOco

    recvWindow?: number

    No more than 60000

    TradeApiMarginAccountNewOco

    selfTradePreventionMode?: string

    The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE

    TradeApiMarginAccountNewOco

    TradeApiMarginAccountNewOco

    sideEffectType?: string

    NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY,AUTO_BORROW_REPAY; default NO_SIDE_EFFECT. More info in FAQ

    TradeApiMarginAccountNewOco

    stopClientOrderId?: string

    A unique Id for the stop loss/stop loss limit leg

    TradeApiMarginAccountNewOco

    stopIcebergQty?: number

    TradeApiMarginAccountNewOco

    stopLimitPrice?: number

    If provided, stopLimitTimeInForce is required.

    TradeApiMarginAccountNewOco

    stopLimitTimeInForce?: string

    Valid values are GTC/FOK/IOC

    TradeApiMarginAccountNewOco

    stopPrice: number

    TradeApiMarginAccountNewOco

    symbol: string

    TradeApiMarginAccountNewOco