When i call binance.depth i sometime get an error:
Uncaught TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
how can i handle such situation and check the cause of error?
Example call:
binance.depth("REQETH", function(depth) {
console.log("market depth", depth);
});
When i call
binance.depthi sometime get an error:Uncaught TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefinedhow can i handle such situation and check the cause of error?
Example call: