Open thechile opened 6 years ago
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); }); }); } });
This repository is not maintained anymore, use this one instead:
https://github.com/dparlevliet/node.bittrex.api
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 ?