Binance Connector JS
    Preparing search index...

    Request parameters for marginAccountNewOrder operation in TradeApi. MarginAccountNewOrderRequest

    interface MarginAccountNewOrderRequest {
        autoRepayAtCancel?: boolean;
        icebergQty?: number;
        isIsolated?: string;
        newClientOrderId?: string;
        newOrderRespType?: MarginAccountNewOrderNewOrderRespTypeEnum;
        price?: number;
        quantity?: number;
        quoteOrderQty?: number;
        recvWindow?: number;
        selfTradePreventionMode?: string;
        side: MarginAccountNewOrderSideEnum;
        sideEffectType?: string;
        stopPrice?: number;
        symbol: string;
        timeInForce?: MarginAccountNewOrderTimeInForceEnum;
        type: 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

    TradeApiMarginAccountNewOrder

    icebergQty?: number

    Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order.

    TradeApiMarginAccountNewOrder

    isIsolated?: string

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

    TradeApiMarginAccountNewOrder

    newClientOrderId?: string

    Used to uniquely identify this cancel. Automatically generated by default

    TradeApiMarginAccountNewOrder

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

    TradeApiMarginAccountNewOrder

    price?: number

    TradeApiMarginAccountNewOrder

    quantity?: number

    TradeApiMarginAccountNewOrder

    quoteOrderQty?: number

    TradeApiMarginAccountNewOrder

    recvWindow?: number

    No more than 60000

    TradeApiMarginAccountNewOrder

    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

    TradeApiMarginAccountNewOrder

    TradeApiMarginAccountNewOrder

    sideEffectType?: string

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

    TradeApiMarginAccountNewOrder

    stopPrice?: number

    Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.

    TradeApiMarginAccountNewOrder

    symbol: string

    TradeApiMarginAccountNewOrder

    GTC,IOC,FOK

    TradeApiMarginAccountNewOrder

    type: string

    MARGIN,ISOLATED

    TradeApiMarginAccountNewOrder