CoinQuant / markets

主流虚拟币平台行情SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-market

主流平台行情SDK, 当前支持聚币网、云币网、火币网、比特儿

install

npm i git+https://github.com/SuperDBJ/markets.git -S

Quick Start

const Market = require('markets');

const mk_ = new Market();

async function getCoins() {
    console.log('coins:', await mk_.coins());
}

async function ticker() {
    console.log('ticker:', await mk_.ticker('etc', ['yunbi', 'huobi']));
}

getCoins();

setTimeout(function () {
    ticker();
}, 2000);

About

主流虚拟币平台行情SDK

License:MIT License


Languages

Language:JavaScript 100.0%