Thanks to the recent rise in cryptocurrency I have been been blessed to be able to buy myself a Macbook pro for myself at the age of 17! This is the most expensive purchase I have made (£1750) so far!
To be honest with you guys one of the main reasons I decided to buy this VERY expensive laptop is because of this....
A built in price feed for cryptocurrency! Even STEEM and GOLOS!
Although to be able to get this you do need to fork out another £300 or so for the Touchbar option it is well worth it! If you also happen to have a Macbook pro with the Touchbar have a look below to see how I done it!
STEEM TICKER FOR MACBOOK PRO
set json to do shell script "curl -H 'CB-VERSION: 2015-04-08' https://api.coinbase.com/v2/prices/BTC-USD/spot"
set json to do shell script "sed s/warnings.*//g <<< " & json
set btc to do shell script "sed s/[a-zA-Z:{},]//g <<< " & json
set btc to btc as real
set STEEM to do shell script "curl -s 'https://bittrex.com/api/v1.1/public/getticker?market=btc-steem' | grep -oE '(Last).' | sed 's/[^0-9\.]//g'"
set STEEM to STEEM as real
set answer to STEEM * btc
set answer to answer * 100
set answer to round answer
set answer to answer / 100
return "$" & answer