ftx_future_funding_rates: FTX Future Funding Rates

ftx_future_funding_ratesR Documentation

FTX Future Funding Rates

Description

Returns the funding rates of futures

Usage

ftx_future_funding_rates(
  key,
  secret,
  ...,
  markets = c(),
  start_time = NA,
  end_time = NA,
  tz = "GMT"
)

Arguments

key

A client's key (deprecated)

secret

A client's secret (deprecated)

...

Additional parameters to pass to API request

markets

Vector of names of markets.

start_time

POSIXct value from when to extract trades.

end_time

POSIXct value up-to when to extract trades.

tz

Timezone to display times in. Default is GMT.

Value

A list of three elements: a logical vector success: FALSE/TRUE, failure_reason: reason for failure if success is FALSE, NA otherwise, data: a tibble containing the data if success is TRUE

Examples

ftx_future_funding_rates(key="", secret="", markets=c('CRV-PERP','XRP-PERP'))

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