Bitcoin Forum

Economy => Service Discussion => Topic started by: CIYAM on October 08, 2013, 05:04:32 AM



Title: Apparently you can sell 1 BTC for billions in Aus!
Post by: CIYAM on October 08, 2013, 05:04:32 AM
At the moment I see this on the front page:

▼ btcmarketsAUD    12800000000.0000    14205486630.726    -9.894%    493661800
▲ mtgoxUSD    137.5800    133.952    +2.708%    482473
▲ bitstampUSD    124.1900    120.582    +2.992%    348788
▲ btceUSD    121.7030    117.732    +3.373%    111526
▲ btcnCNY    764.5900    750.387    +1.893%    101482

(I am guessing that the feed for btcmarketsAUD is in satoshis but being assumed to instead be in BTC as there are 8 zeroes after the 128)


Title: Re: Someone hacking bitcoincharts.com now?
Post by: keatonatron on October 08, 2013, 05:17:45 AM
I'm assuming someone made a mistake with decimal points.

From a programming point of view, sometimes including the decimal point in the number is a waste of space/easy to mess up, so the decimal point is left out and needs to be added in later.

For example, the Mt. Gox API tells BTC amounts in multiples of Satoshi, so 1BTC is shown as 100000000. If you forget to put the decimal back in, your calculations will be way off  ;D


Title: Re: Someone hacking bitcoincharts.com now?
Post by: Foxpup on October 08, 2013, 05:31:41 AM
The volume is in satoshis, though I'm not sure what happened to the price. 13 billion dollars per satoshi? For bonus fun, check out the volume in currency: it's in the quintillions of dollars! At least Mt. Gox no longer has the greatest market share (http://bitcoincharts.com/charts/volumepie/). :D


Title: Re: Someone hacking bitcoincharts.com now?
Post by: doof on October 08, 2013, 11:04:21 AM
I noticed this too.  Seems odd from a developer point of view, you'd think the same code would apply to all currencies.


Title: Re: Apparently you can sell 1 BTC for billions in Aus!
Post by: CIYAM on October 08, 2013, 03:11:43 PM
Updated the title - just an API problem I guess rather than anything more sinister.

(would be handy to be able to sell 1 BTC for billions of AUD though)