chrislennon / Crypto-Touchbar-App

A web app to build Apple touch bar elements for crytpo currencies. Requires BetterTouchTool. Supports wide range of cryptos and converts to a variety of fiat monies.
https://chrislennon.github.io/Crypto-Touchbar-App/
MIT License
154 stars 19 forks source link

Crypto Touch Bar Wrong price/ Not Updating #92

Closed Cryptotrader10 closed 5 years ago

Cryptotrader10 commented 5 years ago

2/26/2019 Price on the touch bar isn't the correct price Not updating.

Thank You

chrislennon commented 5 years ago

@Cryptotrader10 thanks for raising the issue. I will investigate soon. Some question below which may help me pinpoint the issue.

To be clear:

Cryptotrader10 commented 5 years ago

The price for BNB is off, current price is $15.27 but it shows $20. It does update just wrong data. Im using Alpha. Thank You

chrislennon commented 5 years ago

@Cryptotrader10 I see! I believe this issue occurs in the way that the currency API works for this tool. Under the hood I implement the API from cryptocompare - since not all coins are listed on every exchange, they implement an average or preference for all the prices they see.

In the example of BNB you can see the exchanges (and their price) for each - at the time of writing $18.65, $18.60 & $15.09. https://www.cryptocompare.com/coins/bnb/markets/USD

I hope this explains why you may see a variance in price.

I currently don't support a selection of exchange as would add quite a bit of complexity to the tool however if you are feeling adventurous I can suggest a fix for supplying a specific exchange.

Let me know if that helps & if the issue can be closed

Cryptotrader10 commented 5 years ago

Yes it worked, Thank You so much.