pstadler / ticker.sh

Real-time stock tickers from the command-line.
MIT License
511 stars 87 forks source link

7 Decimal places for Crypto Currency Quotes #4

Closed ionicbond closed 6 years ago

ionicbond commented 6 years ago

Hey bud, I came across your code doing a search for a replacement for what I had been using before to display ticker data on my custom display screen. After I came across your solution, within a few minutes I was able to get it up and running and was incredibly surprised that I was able to also get Crypto data. The only thing however is that the decimal places for all the quotes stop at 2 ( .00). Where Crypto is concerned those few decimal places are definitely something people like to see and watch. For instance, TRX-USD shows up as 0.02 when in fact it's actual .0248. KIN-USD shows up as 0.00, but it is actually 0.0000957. So, can you make it that the code displays up to 7 decimal places, which is what all existing Crypto tracker apps and tickers do? I suppose you would also have to do the same for the change amount. I don't have any problem hitting you up with a few bucks for your time. Whatever the case, code seems to work pretty well and any consideration regarding the above issue is greatly appreciated. Thanks!

ionicbond commented 6 years ago

Hey dude don't worry about it, i figured it out. Thanks though, really cool code!