Cover all short margin positions

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

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

Path Parameters

  • accountIDstringRequired
    The ID of the account

Request Body

One of
currencies array[string]

200 Response

balances array[object]
currency string
Symbol of the margin position asset
quantity number
Number representing the balance for the specified margin position
balanceValue object
Returns the value of the margin position. Has 2 fields denoting the currency used and the actual value.
Example: {"quantity":"100.0","currency":"USD"}