Author

Topic: Apparently you can sell 1 BTC for billions in Aus! (Read 1298 times)

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
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)
hero member
Activity: 765
Merit: 503
I noticed this too.  Seems odd from a developer point of view, you'd think the same code would apply to all currencies.
legendary
Activity: 4542
Merit: 3393
Vile Vixen and Miss Bitcointalk 2021-2023
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. Cheesy
sr. member
Activity: 308
Merit: 250
Jack of oh so many trades.
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  Grin
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
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)
Jump to: