ftx_historical_prices | R Documentation |
Returns historical prices of expired futures
ftx_historical_prices( key, secret, market, ..., resolution = 14400, start_time = NA, end_time = NA, tz = "GMT" )
key |
A client's key (deprecated) |
secret |
A client's secret (deprecated) |
market |
Name of market |
... |
Additional parameters to pass to API request |
resolution |
Window length in seconds. options: 15, 60, 300, 900, 3600, 14400, 86400, or any multiple of 86400 up to 30*86400 |
start_time |
Optional parameter. POSIXct value from when to extract trades. |
end_time |
Optional parameter. POSIXct value up-to when to extract trades. |
tz |
Timezone to display times in. Default is GMT. |
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
ftx_historical_prices(market = "1INCH/USD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.