ftx_get_multiple_markets: FTX Get Multiple Markets

ftx_get_multiple_marketsR Documentation

FTX Get Multiple Markets

Description

Get market data for multipole FTX markets.

Usage

ftx_get_multiple_markets(
  markets,
  resolution = 86400,
  start_time = "2019-07-20",
  end_time = "2022-06-30"
)

Arguments

markets

name of the markets (vector of string)

resolution

representing aggregation length in seconds (int)

start_time

human readable start time in UTC (string)

end_time

human readable end time in UTC (string)

Value

dataframe of prices if API call was successful

Examples

ftx_get_multiple_markets(c("BTC-PERP", "ETH-PERP"), 
                         resolution = 86400, 
                         start_time = "2019-07-20", 
                         end_time = "2022-06-30")

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