Get the order sum in cryptsy.com
// in the console, to get the BUY/SELL order sum type: | |
var until = 9999; // until order | |
var sum = 0; $('#sellorderlist tr:lt('+until+')').each(function(){ sum += Number($(this).find('td:eq(2)').text())}); console.log('SEll: '+sum+' BTC by '+$('#sellorderlist tr').length+' orders'); | |
var sum = 0; $('#buyorderlist tr:lt('+until+')').each(function(){ sum += Number($(this).find('td:eq(2)').text())}); console.log('BUY: '+sum+' BTC by '+$('#buyorderlist tr').length+' orders'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment