Skip to main content

Place Order

Place an order.

Header Parameters
    apiKey string

    A UTA sub account API key is provided by default

    secret string

    A UTA sub account API key is provided by default

Request Body
    category string required

    Possible values: [linear, inverse, option, spot]

    symbol string required
    isLeverage integer

    Possible values: [0, 1]

    side string required

    Possible values: [Buy, Sell]

    orderType string required

    Possible values: [Market, Limit]

    qty string required
    price string
    triggerPrice string
    triggerDirection integer
    triggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    orderFilter string

    Possible values: [Order, tpslOrder, StopOrder]

    orderIv string
    timeInForce string

    Possible values: [GTC, IOC, FOK, PostOnly]

    positionIdx integer

    Possible values: [0, 1, 2]

    orderLinkId string
    takeProfit string
    stopLoss string
    tpTriggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    slTriggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    reduceOnly boolean

    Possible values: [true, false]

    closeOnTrigger boolean

    Possible values: [true, false]

    smpType string

    Possible values: [None, CancelMaker, CancelTaker, CancelBoth]

    mmp boolean

    Possible values: [true, false]

    tpslMode string

    Possible values: [Full, Partial]

    tpLimitPrice string
    slLimitPrice string
    tpOrderType string

    Possible values: [Market, Limit]

    slOrderType string

    Possible values: [Market, Limit]

Responses

successful operation

Loading...