Binance Connector JS
    Preparing search index...

    Request parameters for newOrder operation in TradeApi. NewOrderRequest

    interface NewOrderRequest {
        icebergQty?: number;
        newClientOrderId?: string;
        newOrderRespType?: SpotRestAPI.NewOrderNewOrderRespTypeEnum;
        pegOffsetType?: PRICE_LEVEL;
        pegOffsetValue?: number;
        pegPriceType?: NewOrderPegPriceTypeEnum;
        price?: number;
        quantity?: number;
        quoteOrderQty?: number;
        recvWindow?: number;
        selfTradePreventionMode?: SpotRestAPI.NewOrderSelfTradePreventionModeEnum;
        side: SpotRestAPI.NewOrderSideEnum;
        stopPrice?: number;
        strategyId?: number | bigint;
        strategyType?: number;
        symbol: string;
        timeInForce?: SpotRestAPI.NewOrderTimeInForceEnum;
        trailingDelta?: number | bigint;
        type: SpotRestAPI.NewOrderTypeEnum;
    }
    Index

    Properties

    icebergQty?: number

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

    TradeApiNewOrder

    newClientOrderId?: string

    A unique id among open orders. Automatically generated if not sent.
    Orders with the same newClientOrderID can be accepted only when the previous one is filled, otherwise the order will be rejected.

    TradeApiNewOrder

    MARKET and LIMIT order types default to FULL, all other orders default to ACK.

    TradeApiNewOrder

    pegOffsetType?: PRICE_LEVEL

    Only PRICE_LEVEL is supported. See Pegged Orders Info

    TradeApiNewOrder

    pegOffsetValue?: number

    Price level to peg the price to (max: 100). See Pegged Orders Info

    TradeApiNewOrder

    See Pegged Orders Info

    TradeApiNewOrder

    price?: number

    TradeApiNewOrder

    quantity?: number

    TradeApiNewOrder

    quoteOrderQty?: number

    TradeApiNewOrder

    recvWindow?: number

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

    TradeApiNewOrder

    The allowed enums is dependent on what is configured on the symbol.

    TradeApiNewOrder

    Please see Enums for supported values.

    TradeApiNewOrder

    stopPrice?: number

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

    TradeApiNewOrder

    strategyId?: number | bigint

    TradeApiNewOrder

    strategyType?: number

    The value cannot be less than 1000000.

    TradeApiNewOrder

    symbol: string

    TradeApiNewOrder

    Please see Enums for supported values.

    TradeApiNewOrder

    trailingDelta?: number | bigint

    See Trailing Stop order FAQ

    TradeApiNewOrder

    Please see Enums for supported values.

    TradeApiNewOrder