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
// Settings | |
var changeThresholdPct = 1.0; // Notify by voice when the price moves up or down this percentage | |
var beepChangeThresholdPct = 0.25; // Notify with a beep when the price moves up or down this percentage | |
// Scopes | |
var lastPx = self.lastPx; | |
var beepLastPx = self.beepLastPx; | |
if(trades.length!=0){ | |
var currentPx = trades[0].Price; |
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
$('#currencies-all tbody > tr').filter((i, v) => (window.parseFloat($(v).find('.market-cap').data('usd')) || 0) < 100000000.0).remove() |