Skip to content

AndrewBarba/bitmex-node

Repository files navigation

bitmex-node

wercker status

Warning: This is still in development and the API may change before the official 1.0.0 release.

A full-featured Bitmex API client for Node.js

  • Realtime and Rest clients
  • 100% unit-test coverage
  • Heavily documented
  • Promise based with async/await

Initialize Client

Combined

const Bitmex = require('bitmex-node')

let bitmex = new Bitmex({
  apiKey: '12345',
  apiSecret: 'abcde'
})

bitmex.rest.request(...)

bitmex.realtime.on('message', () => {})

Seperately

const bitmex = require('bitmex-node')

let restClient = new bitmex.RestClient({
  apiKey: '12345',
  apiSecret: 'abcde'
})

let realtimeClient = new bitmex.RealtimeClient({
  apiKey: '12345',
  apiSecret: 'abcde'
})

Releases

No releases published

Packages

No packages published