Calls the Bitfinex API to retrieve cryptocurrency public trade records.
trades(SYMBOL = "tBTCUSD", start, end, limit)
SYMBOL | Character vector containing ticker symbols for
cryptocurrencies.
Must be prepended with a |
---|---|
start | Millisecond start time |
end | Millisecond end time |
limit | Number of records (Max 10000) |
A tibble. See details for column names.
tibble
descriptions:SYMBOL
: The symbol/ticker of the requested data
ID
: ID of the trade
MTS
: millisecond timestamp
AMOUNT
: How much was bought (positive) or sold (negative).
PRICE
: Price at which the trade was executed (trading tickers only)
RATE
: Rate at which funding transaction occurred (funding tickers only)
PERIOD
: Amount of time the funding transaction was for
(funding tickers only)
if (FALSE) { # Get 1000 Bitcoin trades info trades(SYMBOL = "tBTCUSD", limit = 1000) # Get USD trades info trades(SYMBOL = "USD") }