bitmex-request
v0.0.51
Published
This is a wrapper for bitmex api request. also supports deribit
Downloads
8
Maintainers
Readme
bitmex request
This is a wrapper for bitmex api request. also supports deribit
install
npm i bitmex-request
usage
import { BitmexRequest } from 'bitmex-request';
const bitmex = new BitmexRequest({
apiKey: 'x',
apiSecret: 'x',
testnet: false,
retryTimes: 2,
});
const res = await bitmex.request('POST', '/position/leverage', {
symbol,
leverage,
});