0.4.2 • Published 3 years ago

crypto-markets v0.4.2

Weekly downloads
130
License
Apache-2.0
Repository
github
Last release
3 years ago

crypto-markets

Get all trading pairs of a cryptocurrency exchange.

How to use

/* eslint-disable */
const fetchMarkets = require('crypto-markets').default;

(async () => {
  const markets = await fetchMarkets('OKEx');
  console.info(markets);
})();

Give it a try

npx crypto-markets OKEx

API Manual

There is only one API in this library:

/**
 * Fetch trading markets of a crypto exchange.
 * @param exchange The crypto exchange name
 * @param marketType Market type, if not provided, fetch all market types
 * @returns All trading markets
 */
export default function fetchMarkets(
  exchange: SupportedExchange,
  marketType?: MarketType,
): Promise<Market[]>;

Supported Exchanges

  • Biki
  • Binance
  • Bitfinex
  • Bitstamp
  • Coinbase
  • Huobi
  • Kraken
  • MXC
  • Newdex
  • OKEx
  • WhaleEx
  • ZB
0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago