I'm using the listen code from examples and it connects but never displays anything.. seems to always get unhandled_data. If i subscribe on the other hand it works OK.
Anyone else having this problem ?
const bittrex = require('node.bittrex.api');
const websocketsclient = bittrex.websockets.listen( function( data ) {
if (data.M === 'updateSummaryState') {
data.A.forEach(function(data_for) {
data_for.Deltas.forEach(function(marketsDelta) {
console.log('Ticker Update for '+ marketsDelta.MarketName, marketsDelta);
});
});
}
});
I'm using the listen code from examples and it connects but never displays anything.. seems to always get unhandled_data. If i subscribe on the other hand it works OK.
Anyone else having this problem ?