Huobi Australia Wrapper
Typescript / Node wrapper for the Market, Public, Account and Trade APIs offered by Huobi Australia
Setup
Install the dependancies with npm / yarn.
npm install huobi-australia --save
API Key
In order to utilise Account
and Trade
features you'll need to generate an API Key with Huobi.
Usage
The API wrapper exposes several classes, Public
, Market
, Trade
and Account
. Each class has methods for each API Endpoint as specified in the Huobi API Documentation.
Exposed Functions
Public
methods are withinpublic.ts
- No authentication required.Market
methods are withinmarket.ts
- No authentication required.Trade
methods are withintrade.ts
- Authentication required.Account
methods are withinaccount.ts
- Authentication required.
Example
Examples for usage of each function can be found within the examples folder and in the Wiki
; // Authenticated Requests; h.account.accounts .then; // Unauthenticated Requests; unauthH.market.trade'btcaud' .then;