Open Lars- opened 7 years ago
I think in the case of GHS/BTC, $amount would be the amount of GHS you want to buy, and $price would be the price in BTC you're willing to pay for it.
Well, I tried with an amount of "1" when using the BTC/EUR couple. So if I understand you correctly, it means that I want to buy 1 BTC with Euros, right?
The error I get: There was an error while placing your order: Invalid amount
. So why is 1 an invalid amount?
In this code:
What is $amount and what is $price? Is $amount x GHS or x BTC and is $price x GHS or x BTC?