Margin

Cover all short margin positions

Transfers the exact amount to cover all short margin positions for the specified account.

post/api/prime/trading/v1/accounts/{accountId}/margin/positions/cover

Request

  • Base URL
    https://developers.bitgo.com
  • URL
    https://developers.bitgo.com/api/prime/trading/v1/accounts/{accountId}/margin/positions/cover
  • Auth
    none declared

Path parameters

accountIdstring required

The ID of the account

Request body

OR

Example request

{
  "currencies": [
    "BTC"
  ]
}

Response

Margin positions cover response

Example response

{
  "balances": [
    {
      "currency": "BTC",
      "quantity": "2",
      "balanceValue": {
        "quantity": "1000000",
        "currency": "USD"
      }
    }
  ]
}

Changes

No operation changes recorded.