Bitcoin Forum
June 25, 2024, 09:20:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question on BTC-E commission  (Read 585 times)
Afterregistering (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 12, 2014, 02:02:50 PM
 #1

I have been using the BTC-E trading API.

I did a buy of 0.01 BTC at $878.5 BTC value

It fulfilled my order, but it only gave me 0.00998 BTC

Why would it give me less than I asked for? Surely it would not fulfill my order unless it was actually going to give me precisely 0.01 BTC

How do I get the trade API to give me precisely what I asked for?

---

Here is the return of the API...

array(2) {
  ["success"]=>
  int(1)
  ["return"]=>
  array(4) {
    ["received"]=>
    float(0.01)
    ["remains"]=>
    int(0)
    ["order_id"]=>
    int(0)
    ["funds"]=>
    array(11) {
      ["usd"]=>
      float(1.17637691)
      ["btc"]=>
      float(0.00998)
    }
  }
}


BTC-E has a commission of 0.02%

So, I asked for 0.01 BTC, and it gave me 0.0098. This means that it's deducted the 0.2% from BTC

But surely, the way it should work, is by adding 0.02% to the USD amount I paid, rather than deducting from the BTC amount.

Does anyone have experience with BTC-E..? Is it really supposed to work in such a backwards way...?
Rannasha
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


View Profile
January 12, 2014, 03:00:58 PM
 #2

I don't think this is a particularly backwards way to collect fees. Consider what happens if you place an order that uses all your remaining USD balance to buy BTC. They won't be able to deduct fees from your remaining USD balance.

Now that you know how the fee-process works, you can work around it to obtain the amount of BTC you want.
Afterregistering (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 12, 2014, 04:48:01 PM
 #3

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..?
malevolent
can into space
Legendary
*
Offline Offline

Activity: 3472
Merit: 1721



View Profile
January 12, 2014, 05:09:24 PM
 #4

BTC-E has a commission of 0.02%

So, I asked for 0.01 BTC, and it gave me 0.0098. This means that it's deducted the 0.2% from BTC

The "standard" fee is 0.2%.

Signature space available for rent.
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!