get_top_pairs: Get top currencies by volume for a given currency.

Description Usage Arguments Value References Examples

View source: R/public_api.R

Description

get_top_pairs returns a tibble containing the top currency pairs by volume.

Usage

1
get_top_pairs(fsym, limit = 5, sign = FALSE)

Arguments

fsym

character. Three letter symbol for currency of interest.

limit

integer. Number of top pairs to return. Min of 1, max of 2000. Defaults to 5.

sign

logical. Should the server sign the response? Defaults to FALSE.

Value

A tibble containing the top currencies by volume for the specified currency

References

https://www.cryptocompare.com/api#-api-data-toppairs-

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Get top 10 currencies for bitcoin
get_top_pairs("BTC", limit = 10)

# Get top 20 currencies for ethereum
get_top_pairs("ETH", limit = 20)

## End(Not run)

blairj09/cryptor documentation built on May 23, 2019, 7:32 a.m.