hb-sdk

0.1.0 • Public • Published

Huobi SDK

https://huobiapi.github.io/docs/spot/v1/cn/#urls

Usage

$ npm i hb-sdk --save
const Hb = require('hb-sdk');
const hb = new Hb({
  accessKey: '',
  secretKey: '',
  url: 'api.huobi.pro',
});

const symbols = await hb.getCommonSymbols();
const account = await hb.getAccountAccounts();

// invoke
const order = await hb.invoke('GET', '/v1/order/orders/123', {});

/hb-sdk/

    Package Sidebar

    Install

    npm i hb-sdk

    Weekly Downloads

    7

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    8.79 kB

    Total Files

    7

    Last publish

    Collaborators

    • nodejh