crypto-tickers
Get price tickers for crypto currencies
Last updated 3 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install crypto-tickers 
SYNC missed versions from official npm registry.

crypto-tickers Build Status

Get price tickers for crypto currencies

Install

$ npm install crypto-tickers

Usage

const cryptoTickers = require('crypto-tickers');

cryptoTickers().then(tickers => {
	console.log(tickers);
	/*
		{
			'ETH/BTC': {
				binance: {...},
				bitfinex: {...},
				...
			},
			...
		}
	*/
});

API

cryptoTickers([options])

Returns a Promise for an object with each symbol pair defined as keys. Each ticker has the following structure https://github.com/ccxt/ccxt/wiki/Manual#price-tickers.

options

Type: Object

exchanges

Type: Array<String>
Default: ['binance', 'bitfinex', 'bittrex', 'gdax', 'poloniex']

Exchanges to fetch price tickers from.

symbols

Type: Array<String>
Default: ['ETH/BTC', 'LTC/BTC']

Symbol pairs to fetch.

cryptoTickers.exchanges

Returns an array of all available exchanges.

License

MIT © Kevin Mårtensson

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |