|
January 12, 2014, 04:48:01 PM |
|
Yeah, but here's the issue...
I was using the market bid rate, when I bought the coins.
And so, had I used a higher USD rate, it would have just made me pay more for the BTC, and I still would have only got 0.00998 BTC.
And so.... I guess the solution is to give myself slightly more than 0.01 BTC then...??
I guess I need to give myself 0.2% more BTC than 0.01, in order for it to work... Is that right..?
---
The API works like this
$result = btce_query('Trade', array('pair' => 'btc_usd', 'type' => 'buy', 'amount' => 0.01, 'rate' => 877.989));
So.... it only lets you set the rate, not the rate + commission... not the rate for 2 coins... You only enter in the rate for 1 BTC..
So yeah.. I guess I would have to give myself (0.002*0.01)+0.01 = 0.01002 BTC
I would have to buy 0.01002 BTC in order to get 0.01 BTC then... Is that right..?
Does anyone have experience with btc-e..?
|