Začínáme · Chyby
Pod minimem trhu
Pokyn je menší než minimum trhu.
400
BELOW_MINIMUMPříčina
- Zadané množství nebo částka je pod minimem trhu. Odpověď nese pole minimum v měně zadané částky.
Řešení
- Zvyšte pokyn nad minimum z pole minimum.
- Minima se řídí burzou a mění se; před zadáním je čtěte z GET /v1/markets.
- Ověření pokynu (POST /v1/orders/validate) hlásí totéž bez zadání: valid false s kódem BELOW_MINIMUM a polem minimum.
Příklad odpovědi
400application/problem+json
{
"type": "https://developers.coinero.cz/errors/below-minimum",
"title": "Below minimum",
"status": 400,
"code": "BELOW_MINIMUM",
"detail": "The order is smaller than the minimum of the market. The minimum field gives the smallest accepted amount in the currency of the amount you sent, or in the base currency of the market; minimums follow the exchange and can change, so read them from GET /v1/markets before ordering.",
"requestId": "0HN7GK4L2M9PQ"
}