Skip to content

Follow the bittrex.com orderbook in real time

Notifications You must be signed in to change notification settings

pkakelas/bittrex-orderbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Follow the bittrex.com orderbook in real time

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%