Binance Connector JS
    Preparing search index...

    Request parameters for newAlgoOrder operation in TradeApi. NewAlgoOrderRequest

    Index

    Properties

    activatePrice?: number

    Used with TRAILING_STOP_MARKET orders, default as the latest price(supporting different workingType)

    TradeApiNewAlgoOrder

    algoType: CONDITIONAL

    TradeApiNewAlgoOrder

    callbackRate?: number

    Used with TRAILING_STOP_MARKET orders

    TradeApiNewAlgoOrder

    clientAlgoId?: string

    A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,36}$

    TradeApiNewAlgoOrder

    Close-All,used with STOP_MARKET or TAKE_PROFIT_MARKET.

    TradeApiNewAlgoOrder

    goodTillDate?: number | bigint

    order cancel time for timeInForce GTD, mandatory when timeInforce set to GTD; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000

    TradeApiNewAlgoOrder

    TradeApiNewAlgoOrder

    positionSide?: string

    Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.

    TradeApiNewAlgoOrder

    price?: number

    TradeApiNewAlgoOrder

    only avaliable for LIMIT/STOP/TAKE_PROFIT order; Can't be passed together with price

    TradeApiNewAlgoOrder

    Used with STOP_MARKET or TAKE_PROFIT_MARKET order. when price reaches the triggerPrice ,the difference rate between "MARK_PRICE" and "CONTRACT_PRICE" cannot be larger than the Price Protection Threshold of the symbol.'

    TradeApiNewAlgoOrder

    quantity?: number

    Cannot be sent with closePosition=true(Close-All)

    TradeApiNewAlgoOrder

    recvWindow?: number | bigint

    TradeApiNewAlgoOrder

    Cannot be sent in Hedge Mode; cannot be sent with closePosition=true'

    TradeApiNewAlgoOrder

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

    TradeApiNewAlgoOrder

    TradeApiNewAlgoOrder

    symbol: string

    TradeApiNewAlgoOrder

    TradeApiNewAlgoOrder

    triggerPrice?: number

    Trigger price

    TradeApiNewAlgoOrder

    TradeApiNewAlgoOrder

    TradeApiNewAlgoOrder