Začínáme · Chyby
Subúčet má pozice
Subúčet nejde ukončit, drží kryptoměnu nebo fiat zůstatek.
409
CLIENT_HAS_POSITIONSPříčina
- Ukončujete subúčet, který drží kryptoměnu (i blokovanou pro pokyn) nebo nenulový fiat zůstatek.
Řešení
- Prodejte pozice subúčtu a počkejte, až se fiat vrátí na váš partnerský účet; zkontrolujte GET …/positions a account/balances.
- Pak ukončení zopakujte.
Příklad odpovědi
409application/problem+json
{
"type": "https://developers.coinero.cz/errors/client-has-positions",
"title": "Subaccount has positions",
"status": 409,
"code": "CLIENT_HAS_POSITIONS",
"detail": "The subaccount still holds cryptocurrency, including amounts held for an order, or a fiat balance. Sell the positions and wait until the fiat balance is returned to your partner account, then close the subaccount. Nothing was changed.",
"requestId": "0HN7GK4L2M9PQ"
}