amberdata_spot_reference | R Documentation |
amberdata_spot_reference
amberdata_spot_reference(
api_key,
exchange = NULL,
pair = NULL,
include_inactive = "False",
include_original_reference = "False",
timeout_seconds = 60
)
api_key |
your Amberdata API key |
exchange |
choose a specific exchange or multiple exchanges (comma-separated) rather than all exchanges |
pair |
choose a specific pair or multiple pairs (comma-separated) rather than all pairs |
include_inactive |
If 'True', endpoint returns all pairs, including delisted ones. Default is 'False'. |
include_original_reference |
If 'True', endpoint returns originalReference. Default is 'False'. |
timeout_seconds |
seconds until the query times out. Default is 60. |
returns a list of reference information for each of the pairs on Amberdata.
## Not run:
api_key <- "..."
reference <- amberdata_spot_reference(api_key)
btc_usd <- amberdata_spot_reference(api_key, pair = "btc_usd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.