This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

bittrex-ws

0.0.3 • Public • Published

bittrex-ws

Small library to get updates from the beta version of Bittrex web sockets (https://github.com/Bittrex/beta/blob/master/README.md).

Install:

npm install --save bittrex-ws

Usage:

const bittrex = BittrexWs();

bittrex.connect(client => {

  // Orderbook of a single market.
  client.getOrderBook('BTC-ETH', data => {
      console.log(data);
  });

  // Orderbook of an array of markets.
  client.getOrderBook(['BTC-ETH', 'BTC-XRP'], data => {
      console.log(data);
  });

  client.getSummaryDeltas(data => {
      console.log(data);
  });

  client.getSummaryDeltasLite(data => {
      console.log(data);
  });

});

Take a look in examples.

Todo.

Add authenticate endpoints.

Disclaimer.

Use it at your own risk.

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i bittrex-ws

    Weekly Downloads

    4

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    3.98 MB

    Total Files

    1216

    Last publish

    Collaborators

    • woxip0