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
const Bitmex = require('bitmex-node')
let bitmex = new Bitmex({
apiKey: '12345',
apiSecret: 'abcde'
})
bitmex.rest.request(...)
bitmex.realtime.on('message', () => {})
const bitmex = require('bitmex-node')
let restClient = new bitmex.RestClient({
apiKey: '12345',
apiSecret: 'abcde'
})
let realtimeClient = new bitmex.RealtimeClient({
apiKey: '12345',
apiSecret: 'abcde'
})