BitMEX-nodejs - An unofficial BitMEX API connector written with typescript
All types and methods are automatically generated from BitMEX official Swagger Specification
Installation
- CLI installation:
npm install bitmex-node
- Create API keys: https://www.bitmex.com/app/apiKeys
- Recommended code editor: Visual studio code
Live Example
Code Example
import { BitmexAPI } from "bitmex-node";
const bitmex = new BitmexAPI({
"apiKeyID": "NXTy391NCdhrrSWzsJE_xktb",
"apiKeySecret": "bPVQ51-xxI7bRcuAAOlvH0wUFpPvusfmC1dF6zyy4s3v8Mgd",
// "proxy": "https://cors-anywhere.herokuapp.com/"
);
!async function () {
const chatMessage = await bitmex.Chat.new({ message: 'Pump incoming !!! ' });
}()
Features:
Donate
- (BTC) 1CUjz7EF1iqgJPi3MPW6Nb556tQwPNryM3