Noisy Pillaging Monster
Introducing npm Teams! Private packages + team management tools.Learn more »

bitmex-websocket

0.0.6 • Public • Published

bitmex-websocket

NPM Package Dev Dependencies

An unofficial node.js wrapper for the BitMEX Bitcoin derivatives exchange websocket API

Official BitMEX website: https://www.bitmex.com

Getting Started

Installation:

npm install bitmex-websocket --save

Usage:

var WebSocket = require('bitmex-websocket');
 
WebSocket(function(websocket) {
 
    console.log('Asking for help.');
    websocket.send('"help"');
 
    websocket.on('message', function(message) {
        console.log('Message received:');
        console.log(message);
    });
 
});

Install

npm i bitmex-websocket

DownloadsWeekly Downloads

6

Version

0.0.6

License

none

Last publish

Collaborators

  • avatar