https://github.com/gtklocker/bittrex-orderbook
Follow the bittrex.com orderbook in real time
https://github.com/gtklocker/bittrex-orderbook
bitcoin bittrex cryptocurrencies orderbook realtime websockets
Last synced: 6 months ago
JSON representation
Follow the bittrex.com orderbook in real time
- Host: GitHub
- URL: https://github.com/gtklocker/bittrex-orderbook
- Owner: gtklocker
- Created: 2017-05-13T17:35:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-24T20:46:54.000Z (almost 7 years ago)
- Last Synced: 2025-03-26T11:07:24.279Z (7 months ago)
- Topics: bitcoin, bittrex, cryptocurrencies, orderbook, realtime, websockets
- Language: JavaScript
- Homepage:
- Size: 80.1 KB
- Stars: 33
- Watchers: 7
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bittrex-orderbook
[](https://www.npmjs.com/package/bittrex-orderbook)
## Installation
```
npm install bittrex-orderbook
```## Usage
```javascript
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));
});
```