pairs: Available Trading Pairs

Description Usage Details Value References Examples

View source: R/ccex.r

Description

The pairs function returns all currency-pairs currently available on the C-Cex crypto-currency exchange https://c-cex.com.

Usage

1

Details

The pairs function returns a named list. The result element is a vector of names for all markets on the exchange. The format for a market is "currency1-currency2" where currency2 is the reference currency.

As an example, if you want to buy U.S. dollars with bitcoins you would create a "buy" order for the market denoted "usd-btc".

Value

A named list with the following elements:

References

https://c-cex.com/?id=api#prices.json

Examples

1
2
3
4
5
## Not run: 
markets = pairs()$result
print(markets)

## End(Not run)

kaneplusplus/ccex documentation built on May 20, 2019, 7:20 a.m.