
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
huobi-australia
Advanced tools
Typescript / Node wrapper for the Market, Public, Account and Trade APIs offered by Huobi Australia
Install the dependancies with npm / yarn.
npm install huobi-australia --save
In order to utilise Account
and Trade
features you'll need to generate an API Key with Huobi.
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.
Public
methods are within public.ts
- No authentication required.Market
methods are within market.ts
- No authentication required.Trade
methods are within trade.ts
- Authentication required.Account
methods are within account.ts
- Authentication required.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);
});
FAQs
Typescript wrapper for Huobi Australia Exchange
We found that huobi-australia demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.