-
Notifications
You must be signed in to change notification settings - Fork 61
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
Unify pricing information #171
Comments
Answering the original questions:
Additional background: https://markets.api.bitcoin.com/rates?c=BCH is intended to be the correct source going forward, there is an open ticket to implement forex rates accessible by URLs (similar to index-api.bitcoin.com endpoint). So this URL and the data it accesses may change in the next couple of weeks. If only USD rates are needed, this is a more manageable endpoint with the same (correct) information: https://markets.api.bitcoin.com/live/bitcoin Unfortunately -- based on some quick testing, the two endpoints don't seem to update at exactly the same time. |
Hmm, forex rates are required to maintain current behavior. |
This has been the issue preventing deprecation of index-api.bitcoin.com, since other tools also depend on its forex output. |
https://markets.api.bitcoin.com/rates/convertor?c=BCH Forex endpoints seem to be live now |
Here is the code controlling the price endpoint in BITBOX.
Seems Bitbox (and therefore Badger) are pulling from our price index at:
https://index-api.bitcoin.com/api/v0/cash/price/usd
While the new wallet is using the new markets API at,
https://markets.api.bitcoin.com/rates?c=BCH
causing slight price differences and confusion.
The scope of this issue is to:
What is the correct source of pricing information?
The text was updated successfully, but these errors were encountered: