Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitcoin Average Price #4

Open
shayanb opened this issue Dec 3, 2014 · 1 comment
Open

Bitcoin Average Price #4

shayanb opened this issue Dec 3, 2014 · 1 comment
Assignees

Comments

@shayanb
Copy link
Member

shayanb commented Dec 3, 2014

fetch the bitcoinaverage.com CAD price instead of different exchanges.

Suggested API call:
https://api.bitcoinaverage.com/ticker/global/CAD/

{
  "24h_avg": 432.81,
  "ask": 429.42,
  "bid": 428.71,
  "last": 429.16,
  "timestamp": "Wed, 03 Dec 2014 23:04:35 -0000",
  "volume_btc": 592.22,
  "volume_percent": 1.32
}

I used the "24h_avg" price in Cafe Aunja at first but because of the price volatility I switched to "bid" price to prevent potential losses

@systemzax
Copy link

Changes have been pushed. Please review. Let's be careful because there seems to be some code redundancy in public/js/calculator.coffeescript, some of this seemingly redundant code is referencing the previous data structure, although it didn't seem to cause problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants