latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
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
Path parameters
accountIdstring required
The ID of the account
Request body
Example request
{
"currencies": [
"BTC"
]
}Response
Margin positions cover response
Example response
{
"balances": [
{
"currency": "BTC",
"quantity": "2",
"balanceValue": {
"quantity": "1000000",
"currency": "USD"
}
}
]
}