tickers: Retrieve Cryptocurrency Data

Description Usage Arguments Details Value Examples

View source: R/bitfinex-public.R

Description

Calls the Bitfinex API to retrieve cryptocurrency data.

Usage

1
tickers(SYMBOLS = c("ALL"))

Arguments

SYMBOLS

Character vector containing ticker symbols for cryptocurrencies, or ALL for all possible tickers. Must be prepended with a t or f to specify trading or funding cryptocurrencies, respectively.

Details

tibble descriptions:

Value

A list with tibble attributes: funding and trading. See details.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
    # Get Bitcoin and Litecoin info
    tickers(SYMBOLS = c("tBTCUSD", "tLTCUSD"))
    # Returns $trading tibble with 2 rows
    # and $funding tibble with 0 rows

    # Get USD info
    tickers(SYMBOLS = "fUSD")
    # Return $trading tibble with 0 rows
    # and $funding tibble with 1 row

## End(Not run)

program--/cryptocurr documentation built on Jan. 26, 2021, 1:36 a.m.