Author

Topic: Calculating the BTC/USD Exchange Rate (Read 3066 times)

iya
member
Activity: 81
Merit: 10
June 07, 2011, 05:42:39 PM
#10
How come it is fairer than the arithmetic mean?
I would like to learn the pros and cons of each as well

The geometric mean is the "correct" mean for ratios, which prices are. It's the arithmetic mean on the log-scale:




Which chart looks more "correct"?

jerfelix is right of course: As a seller you're interested in the best "bid", and as a buyer you're interested in the best "ask". bitcoincharts.com has a calculator for larger orders, on the Market Depth page.
sr. member
Activity: 266
Merit: 250
June 07, 2011, 05:34:46 PM
#9
The geometric mean is a reasonable simple solution to the problem.

If you want to be really analytical, you would look at the order book and determine how much it will cost you to convert bitcoins to USD (or whatever currency you are considering).

Two things worth noting - this method could actually be higher than the geometric mean (if the current price is close to the high of the day).  And the conversion rate really depends on how many Bitcoins you are converting.  Just consider this:  If it's 1 BTC,  you are going to get a higher in USD than if you are trying to convert 10,000 BTC.

So look at the order book chart linked above, and look up the number of coins you are trying to convert on the side (Y) axis.  Then slide your finger over to the orange line, and that will give you a minimum price.  And where the orange ends (to the right a little bit), that will give you a maximum price.  Look at the area that is contained in the graph of orange, between the minimum and maximum, and take the arithmetic mean of the minimum and the maximum.  And that's your answer. (of course, you can figure this out mathematically, and not just by eye-balling it.)

That is the price that you KNOW you can offload the coins for, at that moment in time.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
June 07, 2011, 05:12:08 PM
#8
I would like to learn the pros and cons of each as well
newbie
Activity: 24
Merit: 0
June 06, 2011, 09:08:04 PM
#7
While writing this someone mentioned the geometric mean, I *love* the geometric mean.  I use it for situations where you are selling to a friend instead of a store.  It is a way for the savings to be proportional.

How come it is fairer than the arithmetic mean?
member
Activity: 88
Merit: 10
June 06, 2011, 08:57:11 PM
#6
It sounds like the geometric mean sounds like the winner.
hero member
Activity: 1008
Merit: 531
June 06, 2011, 08:18:57 PM
#5
Keep an "average" price.  Every time a new price comes out average this price with the old price.  You will end up with a price that cuts fluctuations in half.  If you want to further reduce fluctuations make it a weighted average, with only 10% or even 1% coming from the latest price.

While writing this someone mentioned the geometric mean, I *love* the geometric mean.  I use it for situations where you are selling to a friend instead of a store.  It is a way for the savings to be proportional.
newbie
Activity: 28
Merit: 0
June 06, 2011, 08:14:47 PM
#4
use geometric mean of high and low

sqrt(high*low)

pretty common and about as 'fair' of a rate you're going to get. I think many merchants sell in another currency and accept btc as payment given market prices.
member
Activity: 88
Merit: 10
June 06, 2011, 07:11:07 PM
#3
I guess I was hoping that there was a community-accepted concept of a fair exchange rate.

Otherwise, as the buyer I'd want a big exchange rate and as a seller I'd want a small exchange rate.

I had hoped there was something "fair."

As you said, I could take the average of the high and low -- but that doesn't account for outliers -- atypical trades.  I suppose the median price would be fair -- but that'd be a lot of data mining to calculate.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
June 06, 2011, 07:03:05 PM
#2
To convert USD to BTC divide the USD value by one of those 3 values (18.55, 19.23 or 16.375), or a value between the min and max; to convert BTC to USD multiply the BTC value by the rate you choose.

Or you want somthing like the "official" exchange rate from 'Gox?
member
Activity: 88
Merit: 10
June 06, 2011, 06:19:09 PM
#1
I want to determine how many bitcoins to charge someone for some goods.

What is the accepted, fair manner for determining the exchange rate?

For example, right now at mtgox it says:

Last Price: 18.55High:19.23Low: 16.375Volume: 56399

It doesn't really say a concrete exchange rate -- just the ranges from today's trading and the price of the last trade they processed.

Is there somewhere else I should look?
Jump to: