consensusRealityIO / RSBP

Real Simple Bitcoin Payments
GNU General Public License v3.0
14 stars 25 forks source link

Redundant source for pricing data #7

Open dykstranet opened 8 years ago

dykstranet commented 8 years ago

Need to add a secondary and tertiary source for pricing data. If bitcoinaverage is down, get price from

https://bitpay.com/bitcoin-exchange-rates

or

http://www.coindesk.com/api/

If all three time out. Need to show error on the user interface web page.

dykstranet commented 8 years ago

New possible source for price API https://docs.coinkite.com/api/misc.html#exchange-rates

dykstranet commented 8 years ago

Another source for pricing information:

http://btc.blockr.io/api/v1/exchangerate/current

dykstranet commented 7 years ago

If IDR, let's get the price from bitcoin.co.id.

https://vip.bitcoin.co.id/api/btc_idr/ticker

Fall back to Bitcoin average (current implementation)

Then the Bitpay price api.

https://bitpay.com/bitcoin-exchange-rates

dykstranet commented 7 years ago

We definitely need redundant price sourcing data. This is the problem with current implementation.

infertux commented 7 years ago

That's only 100 requests every 24 hours. We fetch the price every minute so yeah that will be a problem if they leave the page open for a while.

dykstranet commented 7 years ago

This continues to be a problem. Need to create redundant price sources.

dykstranet commented 7 years ago

Bitcoin Average has throttled the requests again.

Redundant pricing data is needed.

screen shot 2017-08-16 at 5 49 41 pm

pekatete commented 7 years ago

This is deprecated and now redirects to coinbase

http://btc.blockr.io/api/v1/exchangerate/current

neocybereth commented 6 years ago

https://api.coinmarketcap.com/v2/ticker/1/ ; here's a good source for realtime BTC pricing data

neocybereth commented 6 years ago

https://api.coinmarketcap.com/v2/ticker/1/?convert=IDR for IDR....they have a list of all available currencies too here under the Ticker section: https://coinmarketcap.com/api/