Search content
Sort by

Showing 5 of 5 results by mrbittt
Post
Topic
Board Service Discussion (Altcoins)
Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate'
by
mrbittt
on 19/08/2018, 10:24:49 UTC
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).

https://dzwonsemrish7.cloudfront.net/items/0t0b0H3n0m2C100W0S3c/CryptoFlip.jpg
Post
Topic
Board Exchanges
Re: Bittrex Fees - Anyone using Bittrex beware!
by
mrbittt
on 18/08/2018, 21:31:01 UTC
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).

https://dzwonsemrish7.cloudfront.net/items/0t0b0H3n0m2C100W0S3c/CryptoFlip.jpg
Post
Topic
Board Exchanges
How to correctly value a coin in Bittrex (using USDT)?
by
mrbittt
on 18/08/2018, 21:18:41 UTC
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
Post
Topic
Board Service Discussion (Altcoins)
Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate'
by
mrbittt
on 05/10/2017, 12:28:33 UTC
See attached link for two orders for BTC-OMG and BTC-TRIG.
https://d26dzxoao6i3hh.cloudfront.net/items/3n1X3g403q272y3J3g3Y/two-orders-calculations_jpg_and_two-bittrex-orders-csv-downloaded-from-bittrex_jpg_and_Downloads.jpg

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
Post
Topic
Board Service Discussion (Altcoins)
Re: Bittrex 'Bid/Ask Rate' vs. 'Actual Rate'
by
mrbittt
on 05/10/2017, 12:14:17 UTC
Am also hitting an issue here too. Am trying to work through your template above however I got stuck on the line:
- fee =

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

Thanks,

-mrbittt