powered by
amberdata_spot_pairs
amberdata_spot_pairs( api_key, exchange = NULL, pair = NULL, include_dates = "false", time_format = "ms", timeout_seconds = 60 )
returns a list of spot pairs and exchanges supported on Amberdata with the option of including the dates each one was supported.
your Amberdata API key
choose a specific exchange or multiple exchanges (comma-separated) rather than all exchanges
choose a specific pair or multiple pairs (comma-separated) rather than all pairs
include a start date and an end date along with your data. Default is "false"
the format to return your times in. Choose from: "milliseconds", "ms", "iso", "iso8601", "hr", and "human_readable". Default is "ms".
seconds until the query times out. Default is 60.
if (FALSE) { api_key <- "..." pairs <- amberdata_spot_pairs(api_key) btc_usd <- amberdata_spot_pairs(api_key, pair = "btc_usd")}
Run the code above in your browser using DataLab