Get price tickers for crypto currencies
npm install crypto-tickers> Get price tickers for crypto currencies
```
$ npm install crypto-tickers
`js
const cryptoTickers = require('crypto-tickers');
cryptoTickers().then(tickers => {
console.log(tickers);
/*
{
'ETH/BTC': {
binance: {...},
bitfinex: {...},
...
},
...
}
*/
});
`
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['binance', 'bitfinex', 'bittrex', 'gdax', 'poloniex']
Default:
Exchanges to fetch price tickers from.
##### symbols
Type: Array['ETH/BTC', 'LTC/BTC']`
Default:
Symbol pairs to fetch.
Returns an array of all available exchanges.
MIT © Kevin Mårtensson