htx-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Node API wrapper for HTX

Public API for spot

For public API, access key and secret is not required

import {Huobi_spot_rest} from 'htx-sdk';
const spot = new Huobi_spot_rest();
await a.get('/market/tickers'); // You can replace any valid API path here

Private API

For private API, access key and secret is required

import { Huobi_spot_rest } from 'htx-sdk';
const a = new Huobi_spot_rest({ auth: { key: 'access_key_here', secret: 'secret_here' } });
await a.get('/v1/account/accounts');

Websocket (Pending)

Websocket is currently not supported yet.

Readme

Keywords

none

Package Sidebar

Install

npm i htx-sdk

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

46.1 kB

Total Files

27

Last publish

Collaborators

  • ankr_network