bitmex-node-api
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "bitmex-node-api", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "*All types and methods are automatically generated from BitMEX official Swagger Specification*", | ||
@@ -10,3 +10,4 @@ "main": "index.js", | ||
"author": "Gor Gevorgyan", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"keywords": [] | ||
} |
### BitMEX-nodejs - An unofficial BitMEX API connector written with typescript | ||
*All types and methods are automatically generated from BitMEX official Swagger Specification* | ||
_All types and methods are automatically generated from BitMEX official Swagger Specification_ | ||
#### Installation | ||
#### Installation | ||
- CLI installation: `npm install bitmex-node` | ||
- Create API keys: https://www.bitmex.com/app/apiKeys | ||
- Recommended code editor: [Visual studio code](https://code.visualstudio.com/) | ||
- CLI installation: `npm install bitmex-node-api` | ||
- Create API keys: https://www.bitmex.com/app/apiKeys | ||
#### Live Example | ||
#### Code Example | ||
![visual studio code - bitmex node](https://user-images.githubusercontent.com/3116399/42608773-033cc7ec-8592-11e8-93aa-31ae365072bc.gif) | ||
#### Code Example | ||
```typescript | ||
import { BitmexAPI } from 'bitmex-node' | ||
import { BitmexAPI } from "bitmex-node"; | ||
const bitmex = new BitmexAPI({ | ||
"apiKeyID": "NXTy391NCdhrrSWzsJE_xktb", | ||
"apiKeySecret": "bPVQ51-xxI7bRcuAAOlvH0wUFpPvusfmC1dF6zyy4s3v8Mgd", | ||
// "proxy": "https://cors-anywhere.herokuapp.com/" | ||
); | ||
apiKeyID: 'NXTy391NCdhrrSWzsJE_xktb', | ||
apiKeySecret: 'bPVQ51-xxI7bRcuAAOlvH0wUFpPvusfmC1dF6zyy4s3v8Mgd', | ||
// "proxy": "https://cors-anywhere.herokuapp.com/" | ||
}) | ||
!async function () { | ||
const chatMessage = await bitmex.Chat.new({ message: 'Pump incoming !!! ' }); | ||
}() | ||
!(async function () { | ||
const chatMessage = await bitmex.Chat.new({ message: 'Pump incoming !!! ' }) | ||
})() | ||
``` | ||
@@ -41,4 +32,1 @@ | ||
- [Rate limiting](https://www.bitmex.com/app/restAPI#Request-Rate-Limits) | ||
###### Donate | ||
- (BTC) 1CUjz7EF1iqgJPi3MPW6Nb556tQwPNryM3 |
128745
26
3229
32