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
MtGox used for currency exchange rate #2
Comments
picking from a single exchange does not make sense, either an available average |
Yep, I agree that this needs to be addressed. I'll look into coindesk, or maybe bitcoinaverage. Both provide more reasonable values. Thanks :) |
coindesk has a simple json api, not sure how mtgox supplies its data, but it may be quite simple to just repoint the url and possibly change some parsing: http://www.coindesk.com/api/ allowing a more complex selection of dogecoin->bitcoin or ltc exchange and then a separate bitcoin/ltc->usd/eur would obviously take a bit more work |
The MultiBit base uses a library called XChange for all this. There is another branch of it with support for more exchanges which also trade doge. I hope this gets to the master soon. Until this happens I'll look into just integrating one of the suggestions here. Json is a breeze to use anyway :) |
I migrated XChange to v2 which provides the BitcoinAverage API. So we now have a weighted price over virtually all btc/fiat exchanges (according to their docs) |
especially with recent issues with mtgox, I don't think it's a good idea to use it for the exchange rate. Coindesk bitcoin price index is supposed to be a weighted average of exchanges, which would be a better indication of value. Ideally, there should be an option to pick from multiple exchanges depending on which exchanges each user uses.
The text was updated successfully, but these errors were encountered: