Calls the Bitfinex API to retrieve historical cryptocurrency records.

ticker_history(SYMBOLS = c("ALL"), start, end, limit)

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.

start

Millisecond start time

end

Millisecond end time

limit

Number of records (Max 250)

Value

A tibble. See details for column names.

Details

tibble descriptions:

  • SYMBOL: The symbol/ticker of the requested data

  • BID: Price of last highest bid

  • ASK: Price of last lowest ask

  • MTS: millisecond timestamp

Examples

if (FALSE) { # 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 = "USD") # Return $trading tibble with 0 rows # and $funding tibble with 1 row }