Skip to main content

Set Auto Add Margin

Set Auto Add Margin

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]

    Product type

  • symbol string required

    Symbol name

  • autoAddMargin integer required

    0 - turn off, 1 - turn on

  • positionIdx integer required

    Possible values: [0, 1, 2]

    Position index. 0=one-way-mode, 1=buy-hedge-mode, 2=sell-hedege-mode. REQUIRED for hedge-mode

Responses

successful operation

Loading...