ftx_get_hourly_markets: FTX Get Hourly Markets

ftx_get_hourly_marketsR Documentation

FTX Get Hourly Markets

Description

Get hourly resolution historical data of multiple FTX markets

Usage

ftx_get_hourly_markets(
  markets,
  start_date = "2019-07-27",
  end_date = as.character(Sys.Date())
)

Arguments

markets

name of the markets (vector of string)

start_date

human readable start date in UTC (string)

end_date

human readable end date in UTC (string)

Value

dataframe of prices if API call was successful

Examples

ftx_get_hourly_markets(c("BTC-PERP", "ETH-PERP"), 
                       start_date = "2019-07-20", end_date = "2022-06-30")


andreskull/rFTX documentation built on Nov. 8, 2022, 2:27 p.m.