Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
cancelOrder: function(pairName, orderId, next) {
binance.cancel(pairName, orderId, function(error, response, symbol) {
next(error)
})
},
chartUpdate: function(pairName, interval, next) {