Binance Connector JS
    Preparing search index...

    Request parameters for marginAccountNewOtoco operation in TradeApi. MarginAccountNewOtocoRequest

    interface MarginAccountNewOtocoRequest {
        autoRepayAtCancel?: boolean;
        isIsolated?: string;
        listClientOrderId?: string;
        newOrderRespType?: MarginAccountNewOtocoNewOrderRespTypeEnum;
        pendingAboveClientOrderId?: string;
        pendingAboveIcebergQty?: number;
        pendingAbovePrice?: number;
        pendingAboveStopPrice?: number;
        pendingAboveTimeInForce?: string;
        pendingAboveTrailingDelta?: number;
        pendingAboveType: string;
        pendingBelowClientOrderId?: string;
        pendingBelowIcebergQty?: number;
        pendingBelowPrice?: number;
        pendingBelowStopPrice?: number;
        pendingBelowTimeInForce?: string;
        pendingBelowTrailingDelta?: number;
        pendingBelowType?: string;
        pendingQuantity: number;
        pendingSide: string;
        selfTradePreventionMode?: string;
        sideEffectType?: string;
        symbol: string;
        workingClientOrderId?: string;
        workingIcebergQty?: number;
        workingPrice: number;
        workingQuantity: number;
        workingSide: string;
        workingTimeInForce?: string;
        workingType: 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

    TradeApiMarginAccountNewOtoco

    isIsolated?: string

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

    TradeApiMarginAccountNewOtoco

    listClientOrderId?: string

    Either orderListId or listClientOrderId must be provided

    TradeApiMarginAccountNewOtoco

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

    TradeApiMarginAccountNewOtoco

    pendingAboveClientOrderId?: string

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

    TradeApiMarginAccountNewOtoco

    pendingAboveIcebergQty?: number

    This can only be used if pendingAboveTimeInForce is GTC.

    TradeApiMarginAccountNewOtoco

    pendingAbovePrice?: number

    TradeApiMarginAccountNewOtoco

    pendingAboveStopPrice?: number

    TradeApiMarginAccountNewOtoco

    pendingAboveTimeInForce?: string

    TradeApiMarginAccountNewOtoco

    pendingAboveTrailingDelta?: number

    TradeApiMarginAccountNewOtoco

    pendingAboveType: string

    Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT

    TradeApiMarginAccountNewOtoco

    pendingBelowClientOrderId?: string

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

    TradeApiMarginAccountNewOtoco

    pendingBelowIcebergQty?: number

    This can only be used if pendingBelowTimeInForce is GTC.

    TradeApiMarginAccountNewOtoco

    pendingBelowPrice?: number

    TradeApiMarginAccountNewOtoco

    pendingBelowStopPrice?: number

    TradeApiMarginAccountNewOtoco

    pendingBelowTimeInForce?: string

    TradeApiMarginAccountNewOtoco

    pendingBelowTrailingDelta?: number

    TradeApiMarginAccountNewOtoco

    pendingBelowType?: string

    Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT

    TradeApiMarginAccountNewOtoco

    pendingQuantity: number

    TradeApiMarginAccountNewOtoco

    pendingSide: string

    BUY, SELL

    TradeApiMarginAccountNewOtoco

    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

    TradeApiMarginAccountNewOtoco

    sideEffectType?: string

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

    TradeApiMarginAccountNewOtoco

    symbol: string

    TradeApiMarginAccountNewOtoco

    workingClientOrderId?: string

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

    TradeApiMarginAccountNewOtoco

    workingIcebergQty?: number

    This can only be used if workingTimeInForce is GTC.

    TradeApiMarginAccountNewOtoco

    workingPrice: number

    TradeApiMarginAccountNewOtoco

    workingQuantity: number

    TradeApiMarginAccountNewOtoco

    workingSide: string

    BUY, SELL

    TradeApiMarginAccountNewOtoco

    workingTimeInForce?: string

    GTC,IOC,FOK

    TradeApiMarginAccountNewOtoco

    workingType: string

    Supported values: LIMIT, LIMIT_MAKER

    TradeApiMarginAccountNewOtoco