ftx_get_markets_history: FTX Get History All

ftx_get_markets_historyR Documentation

FTX Get History All

Description

Get historical data of multiple FTX markets

Usage

ftx_get_markets_history(markets, resolution, start_date, end_date)

Arguments

markets

name of the markets (vector of string)

resolution

resolution of candles in seconds (60, 300, 900, 3600, 14400, 86400)

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_markets_history(c("BTC-PERP", "ETH-PERP"), resolution = 300,
                       start_date = "2022-07-20", end_date = "2022-07-30")


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