Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

huobi-australia

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

huobi-australia

Typescript wrapper for Huobi Australia Exchange

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status Dependencies

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

Example

Examples for usage of each function can be found within the examples folder and in the Wiki

import { Huobi } from 'huobi-australia';

// Authenticated Requests
const h = new Huobi('MyAccessTokenId', 'MyPrivateKey');

h.account().accounts()
  .then(resp => {
    console.log(resp);
  });

// Unauthenticated Requests
const unauthH = new Huobi();

unauthH.market().trade('btcaud')
  .then(resp => {
    console.log(resp);
  });

Keywords

FAQs

Package last updated on 17 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc