Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

keep getting unhandled_data when using bittrex.websockets.listen ? #88

@thechile

Description

@thechile

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);
            });
        });
    }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions