Bitcoin Forum
May 30, 2024, 03:36:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: yobit api trade question  (Read 591 times)
mingonkim (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 05, 2017, 12:01:08 PM
 #1

i use the trade using api.

but i discover the strange point.

The error message 'Total transaction amount is less than minimal total: 0.00010000' is happened.

It's ok and no error , when I put the rate: 0.0001, amount : 2
but error message happen when i put the rate: 0.0009, amount : 2

I don't know what's the problem.
total transaction amount : ratex amount = 0.0018 btc , and the price is over then 0.0001 btc.

What's wrong? Cry
Red-Apple
Hero Member
*****
Offline Offline

Activity: 1470
Merit: 655


View Profile
July 06, 2017, 12:23:36 PM
 #2

it is hard to say where the problem is without knowing what you are really sending them.

i don't see any coin named "ratex" on their exchange to give a proper example but lets say there is and its price is 0.0001BTC you have to buy at least 1 to be above the total amount. 1 * 0.0001 = 0.0001BTC > 0.0001BTC

if that didn't work then add the amount of fee to it.
0.0001*0.2% = 0.00000020BTC and make the request again. it would look like this:
Code:
pair=ratex_btc&type=buy&rate=0.0001&amount=1&method=Trade&nonce=YourNonceHere

with your second numbers the request should be this (make sure you are not mixing the amount and rate):
Code:
pair=ratex_btc&type=buy&rate=0.0009&amount=2&method=Trade&nonce=YourNonceHere

if that didn't work then contact their support!

--signature space for rent; sent PM--
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!