Binance Connector JS
    Preparing search index...

    Request parameters for newMarginOrder operation in TradeApi. NewMarginOrderRequest

    interface NewMarginOrderRequest {
        autoRepayAtCancel?: boolean;
        icebergQty?: number;
        newClientOrderId?: string;
        newOrderRespType?: NewMarginOrderNewOrderRespTypeEnum;
        price?: number;
        quantity?: number;
        quoteOrderQty?: number;
        recvWindow?: number | bigint;
        selfTradePreventionMode?: NewMarginOrderSelfTradePreventionModeEnum;
        side: NewMarginOrderSideEnum;
        sideEffectType?: NewMarginOrderSideEffectTypeEnum;
        stopPrice?: number;
        symbol: string;
        timeInForce?: NewMarginOrderTimeInForceEnum;
        type: NewMarginOrderTypeEnum;
    }
    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

    TradeApiNewMarginOrder

    icebergQty?: number

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

    TradeApiNewMarginOrder

    newClientOrderId?: string

    Used to uniquely identify this cancel. Automatically generated by default

    TradeApiNewMarginOrder

    "ACK", "RESULT", default "ACK"

    TradeApiNewMarginOrder

    price?: number

    TradeApiNewMarginOrder

    quantity?: number

    TradeApiNewMarginOrder

    quoteOrderQty?: number

    TradeApiNewMarginOrder

    recvWindow?: number | bigint

    TradeApiNewMarginOrder

    NONE:No STP / EXPIRE_TAKER:expire taker order when STP triggers/ EXPIRE_MAKER:expire taker order when STP triggers/ EXPIRE_BOTH:expire both orders when STP triggers

    TradeApiNewMarginOrder

    TradeApiNewMarginOrder

    NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT.

    TradeApiNewMarginOrder

    stopPrice?: number

    Used with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders.

    TradeApiNewMarginOrder

    symbol: string

    TradeApiNewMarginOrder

    TradeApiNewMarginOrder

    LIMIT, MARKET

    TradeApiNewMarginOrder