Closed negocio-azul closed 2 years ago
The value of your order amount must be more than 1U. Note the currency unit in error message
Hi @revilwang, thanks for your response.
But I don't understood, when you say that "The value of your order amount must be more than 1U" What is exactly "1UN"? pair amount? I'm sending amount=2.
In this case: amount=2 and price=0.009321 => ERROR amount=2 and price=1.009321 => OK (note, the amount is the same, but the price is > 1)
Thanks.
amount*price > 1U. The VALUE of your amount must be more than 1U
Hi @revilwang ,
Now I understood and the process works fine. Thank you for your time.
Great!
Glad to hear that. I'll close the issue then
Hello guys,
I'm trying send GOLD_USDT orders through de API V.4, but some errors have been happening.
If I send a order with amount=2 and price=0.009321, I receive the error message: 'Your order size 2 is too small. The minimum is 1 USDT' The message don't make sense. Is 2 less than 1?
The data/body is: { "text":"", "currency_pair":"GOLD_USDT", "type":"limit", "account":"spot", "side":"buy", "amount":"2", "price":"0.0093210", "time_in_force":"gtc" }
But, if I send an order with amount=2 and price 1.009321, this works fine. (Price > 1). This was only to test, because the price 1.009321 is very expensive.
So, I don't understand what's happening. Probably, the validation is inverted in the API.
Could someone help me?
Thanks.