Last active
March 12, 2016 03:06
-
-
Save markalfred/5200e48630224bdbd26b to your computer and use it in GitHub Desktop.
Ethereum Prices — Current and Alltime High
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax('http://ethereumwisdom.com/data/chart/kraken_USD_1800.json?&rand=0.38954108371399343').then(function(data){var high = data.map(function(c) {return parseFloat(c.h)}).sort(function (a, b) { return a-b; }).reverse()[0]; var current = data[data.length-1].c; console.log('current:', current, 'high:', high)}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment