Author

Topic: Blockchain.info price ticker rounding to whole ints (Read 954 times)

legendary
Activity: 1722
Merit: 1004
FYI, blockchain just fixed this bug. Verified that the API is now working as expected. Thanks guys!
member
Activity: 84
Merit: 10
Weighted companion cube
It's how Blockchain.info displays it too. I recall previously it had two decimal places, so I think this is a bug.

Move to service discussion btw?
legendary
Activity: 1722
Merit: 1004
Hit their JSON ticker service: http://blockchain.info/ticker

Note that the "15m" values for every currency are rounded to whole integers. I suspect they have a data-type issue on the backend; this *can't* actually be intentional, right? I've tried contacting their support (I even tweeted them) to no avail. Note that the "24h" values look fine. Also note that their documentation shows the "15m" values as decimals/floats (http://blockchain.info/api/exchange_rates_api).

Regardless, I need to get my project out the door, so I'm just going to use the gox ticker (https://mtgox.com/api/1/BTCUSD/ticker), but I find blockchain's services elegant in general, and this bug on their part is annoying me.

Jump to: