Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

bittrex-orderbook

2.0.9 • Public • Published

bittrex-orderbook

Installation

npm install bittrex-orderbook

Usage

const BittrexOrderBook = require('bittrex-orderbook');
const bit = new BittrexOrderBook;
 
bit.market('BTC-XMR').on('bidUpdate', (market) => {
    console.log('XMR bids', market.bids.top(5));
});
bit.market('BTC-ETH').on('askUpdate', (market) => {
    console.log('ETH asks', market.asks.top(5));
});

install

npm i bittrex-orderbook

Downloadsweekly downloads

27

version

2.0.9

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability