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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.9
    2
    • latest

Version History

Package Sidebar

Install

npm i bittrex-orderbook

Weekly Downloads

2

Version

2.0.9

License

MIT

Unpacked Size

12.1 kB

Total Files

8

Last publish

Collaborators

  • gtklocker