All types and methods are automatically generated from BitMEX official Swagger Specification
- CLI installation:
npm install bitmex-node
- Create API keys: https://www.bitmex.com/app/apiKeys
- Recommended code editor: Visual studio code
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 !!! ' });
}()
- (BTC) 1CUjz7EF1iqgJPi3MPW6Nb556tQwPNryM3