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:
with your second numbers the request should be this (make sure you are not mixing the amount and rate):
if that didn't work then contact their support!