Skip to content

CoinQuant/node-jubi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-jubi

Node SDK for jubi

Install

npm i "git+https://github.com/SuperDBJ/node-jubi.git"

Quick Start

const Jubi = require('../index.js').Jubi;

const key = '';
const secret = '';

const jb = new Jubi({ key, secret });

async function balance() {
    console.log(await jb.balance());
}

async function tradeList() {
    console.log(await jb.tradeList('rss'));
}

async function allTicker() {
    console.log(await jb.allticker());
}

async function coins() {
    console.log(await jb.coins());
}

async function price() {
    console.log(await jb.getCurrentPrice('rss'));
}

coins();

price();

tradeList();

test

npm test

Notice: before run test, input your key && secret

Releases

No releases published

Packages

No packages published