nomics_markets: Nomics markets

Description Usage Arguments Value References Examples

Description

nomics_markets returns information on the exchanges and markets that Nomics supports, in addition to the Nomics currency identifiers for the base and quote currency.

Usage

1
nomics_markets(exchange = NULL, base = NULL, quote = NULL)

Arguments

exchange

(optional) a string of exchange ID to filter by (e.g. "kraken")

base

(optional) a comma separated vector of base currencies to filter by (e.g. "BTC,BCH" / "ETH")

quote

(optional) a comma separated vector of quote currencies to filter by (e.e. "ETH,ETC" / "BCH")

Value

a tibble

References

http://docs.nomics.com/#operation/getMarkets

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Basic query
nomics_markets()

# Query only 'BTC' markets
nomics_markets(base = c("BTC"))

# Query only 'kraken' markets
nomics_markets(exchange = "kraken")

# Query invalid exchange markets
## Not run: 
nomics_markets(exchange = 123)
## End(Not run)

SovereignNode/cryptor documentation built on May 13, 2019, 11:55 p.m.