Description Usage Arguments Details Value See Also
View source: R/ref_crypto_pairs.R
Retrieve Reference Data for Cryptocurrency Pairs from ‘twelvedata’
1 2 3 4 5 6 7 8 9 | ref_crypto_pairs(
sym = "",
as = c("data.frame", "raw"),
exchange = "",
currency_base = "",
currency_quote = "",
flatten_exchanges = TRUE,
apikey
)
|
sym |
(optional, character) A (single or vector) Crypto currency pairs with slash(/) delimiter. |
as |
(optional, character) A selector for the desired output format: one of “data.frame” (the default) or or “raw”. |
exchange |
(optional, character) Exchange where crypto is traded. Default value is unset. |
currency_base |
(optional, character) Base currency name. Default value is unset. |
currency_quote |
(optional, character) Quote currency name. Default value is unset. |
flatten_exchanges |
(bool) Flatten the “data.frame”. |
apikey |
(optional character) An API key override, if missing a value cached from
package startup is used. The startup looks for either a file in the per-package config
directory provided by |
ref_crypto_pairs
.
The requested data is returned as a data.frame
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.