trades: Retrieve Cryptocurrency Trade Data

Description Usage Arguments Details Value Examples

View source: R/bitfinex-public.R

Description

Calls the Bitfinex API to retrieve cryptocurrency public trade records.

Usage

1
trades(SYMBOL = "tBTCUSD", start, end, limit)

Arguments

SYMBOL

Character vector containing ticker symbols for cryptocurrencies. 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 10000)

Details

tibble descriptions:

Value

A tibble. See details for column names.

Examples

1
2
3
4
5
6
7
8
## Not run: 
    # Get 1000 Bitcoin trades info
    trades(SYMBOL = "tBTCUSD", limit = 1000)

    # Get USD trades info
    trades(SYMBOL = "USD")

## End(Not run)

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