Skip to main content

Amend Order

Amend 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]

    Product type

  • symbol string required

    Symbol name

  • orderId string

    Either orderId or orderLinkId is required

  • orderLinkId string

    Either orderId or orderLinkId is required

  • qty string

    Modify the order qty

  • price string

    Modify the order price

  • orderIv string

    Modify option order iv

  • triggerPrice string

    Modify StopOrder trigger price

  • tpslMode string

    Possible values: [Full, Partial]

    Full:TPSL for full size, Partial:TPSL for partial size

  • takeProfit string

    Modify take profit price

  • stopLoss string

    Modify stop loss price

  • triggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    Modify the type of trigger price

  • tpTriggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    Modify trigger take profit price price type

  • slTriggerBy string

    Possible values: [LastPrice, MarkPrice, IndexPrice]

    Modify trigger stop loss price price type

  • tpLimitPrice string

    The limit order price when take profit price is triggered

  • slLimitPrice string

    The limit order price when stop loss price is triggered

Responses

successful operation

Loading...