moimz / iCoinTicker

macOS crypto currency menubar ticker (맥 가상화폐 시세 메뉴바 티커)
https://twitter.com/arzzcom
MIT License
71 stars 20 forks source link

Add price precision setting #10

Open Lukynn opened 7 years ago

Lukynn commented 7 years ago

Can you please add precision settings for currencies? I'm now using Ribble and I still see just 0.18/0.17..

Thank you! And thank you for your great work 👍

arzzcom commented 7 years ago

The BTC market ("isBtcMarket is true" in coins.plist file, likes poloniex) calculate price using BTC price. For example, ETH price calculated ETH-BTC (0.90000000 BTC) pair BTC-USDT pair(300 USDT). 0.9 300 = 270 USDT. So It was different between ETH-USDT pair price and iCoinTicker price.

I know this issue, but I can't find good solution yet. Because iCoinTicker designed get market price by all market API using same algorithm.