Skip to content

Instantly share code, notes, and snippets.

View cryptoeraser's full-sized avatar

Crypto Eraser cryptoeraser

View GitHub Profile
@herenow
herenow / PRICE_VOICE_UPDATE.js
Last active November 30, 2018 16:07
TensorCharts Price Voice Update Script
// 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;
@herenow
herenow / snippet.js
Created July 5, 2018 17:04
Filter coinmarketcap coins by minimum of 100k USD marketcap
$('#currencies-all tbody > tr').filter((i, v) => (window.parseFloat($(v).find('.market-cap').data('usd')) || 0) < 100000000.0).remove()