Bitcoin Forum
June 21, 2024, 12:02:24 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate' on: August 19, 2018, 10:24:49 AM
Ok I've finally solved the problem with the Bittrex fees and 8dp truncation etc. BTCBTC

Steps to reproduce:
1. See last order for BTC-POWER on the image below.
2. Notice how the LIMIT was 0.00002992 and the quantity is 99.903441.
  • The actual order came in at 0.00002993.
  • Multiplied together we get 0.002989111 BTC.
  • However Bittrex reports a total of 0.0029901.
  • The difference between 0.002989111 and 0.0029901 is 0.0000099 BTC.

So what is going on?
1. Bittrex is correctly returning the PricePerUnit (actual) as 0.00002992.
2. However you can't rely on this calculation: total price paid = PricePerUnit (actual) * total quantity.
  • Why? Because the PricePerUnit (actual) is probably more like 0.0000299299 and the last 99 have been truncated to make 0.00002992.
  • So 0.0000299299 * 99.903441 = 0.0029901 which is correct.
  • However 0.00002992 * 99.903441 = 0.002989111 which is incorrect (because we lost decimal places 9 and 10).

What's the solution?
  • 1) Take Bittrex's reported PricePerUnit (actual) which is correct to 8 d.p. but don't make any calculations with it.
  • 2) Take Bittrex's Price field as correct and use that as your total price paid in BTC.
  • 3) Take Bittrex's CommissionPaid field as correct.

In summary: Since Bittrex truncates to 8.dp. any calculations taken off Bittrex's unit figures will be incorrect. Better to rely on Bittrex's own reported Price and CommissionPaid fields and work back from there to get unit figures (if you want to see more than 8 d.p).

2  Economy / Exchanges / Re: Bittrex Fees - Anyone using Bittrex beware! on: August 18, 2018, 09:31:01 PM
Ok I've finally solved the problem with the Bittrex fees and 8dp truncation etc. BTCBTC

Steps to reproduce:
1. See last order for BTC-POWER on the image below.
2. Notice how the LIMIT was 0.00002992 and the quantity is 99.903441.
  • The actual order came in at 0.00002993.
  • Multiplied together we get 0.002989111 BTC.
  • However Bittrex reports a total of 0.0029901.
  • The difference between 0.002989111 and 0.0029901 is 0.0000099 BTC.

So what is going on?
1. Bittrex is correctly returning the PricePerUnit (actual) as 0.00002992.
2. However you can't rely on this calculation: total price paid = PricePerUnit (actual) * total quantity.
  • Why? Because the PricePerUnit (actual) is probably more like 0.0000299299 and the last 99 have been truncated to make 0.00002992.
  • So 0.0000299299 * 99.903441 = 0.0029901 which is correct.
  • However 0.00002992 * 99.903441 = 0.002989111 which is incorrect (because we lost decimal places 9 and 10).

What's the solution?
  • 1) Take Bittrex's reported PricePerUnit (actual) which is correct to 8 d.p. but don't make any calculations with it.
  • 2) Take Bittrex's Price field as correct and use that as your total price paid in BTC.
  • 3) Take Bittrex's CommissionPaid field as correct.

In summary: Since Bittrex truncates to 8.dp. any calculations taken off Bittrex's unit figures will be incorrect. Better to rely on Bittrex's own reported Price and CommissionPaid fields and work back from there to get unit figures (if you want to see more than 8 d.p).

3  Economy / Exchanges / How to correctly value a coin in Bittrex (using USDT)? on: August 18, 2018, 09:18:41 PM
Hi guys -

I'm having trouble figuring out how to correctly value a coin in Bittrex.  I.e. if I have 10 NEO, what is the USD(T) value of that coin right now in Bittrex?


Assumptions
1. I am after the USD(T) value of the coin in the USDT-BTC market, *not* the value Bittrex takes from the CoinDesk API to value BTC.
2. I am using two markets to make the calculations: BTC-NEO and USDT-BTC.
3. I am after the real USD(T) I could get now, not the top of what the bids (buyers) are currently offering (which do not necessarily get filled).
4. I am not interested in the USD value of the coin, using USD(T) as the closest realizable proxy.


How I think it works

The trick I think is to multiply the currently held coin’s BTC ask price (using the BTC-COIN market) and multiply by the BTC’s ask price in the USDT-BTC market as that is the best possible price you can buy from the sellers (the asks). Ie that is the top of the order book for people who are offering to sell their USD to you.

You can’t use the bid price for valuation because there’s no guarantee anyone will pay that price. And there’s always a gap between asks and bids aka the spread.


Does that make sense?

Please advise.

Thanks,

-Mrbittt
4  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate' on: October 05, 2017, 12:28:33 PM
See attached link for two orders for BTC-OMG and BTC-TRIG.


Both orders don't seem to tally up on Bittrex.

Take BTC-TRIG for example. Bittrex reports the Price (by which I think they mean the quantity & actual rate received) as 0.011807. However:
Quantity x actual rate BTC = 57.43825388 x 0.00020555 = 0.01180643 (difference of 0.00000057).

Where does that difference of 0.00000057 come from? The commission is 0.00002951 so I don't think it's that.

Very confused. Can anyone shed some light?

Thanks,

-mrbittt
5  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate' on: October 05, 2017, 12:14:17 PM
Am also hitting an issue here too. Am trying to work through your template above however I got stuck on the line:
<insert cost/proceeds> - fee = <price of each coin without commissions>

What does "- fee" mean? It isn't mentioned anywhere else.

Thanks,

-mrbittt
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!