Description Usage Arguments Details Value Examples
View source: R/supported_exchanges.R
Retrieves a list of exchanges supported by the CoinGecko API
1 | supported_exchanges(max_attempts = 3)
|
max_attempts |
(double, positive): specifies the maximum number of attempts to call the CoinGecko API (e.g., if the first call fails for some reason). Additional attempts are implemented with an exponential backoff. Defaults to 3. |
This function is based on the public CoinGecko API, which has a limit of 50 calls per minute. Please keep this limit in mind when developing your applications.
A tibble with the following columns:
exchange_id
(character): exchange ID;
name
(character): common name of the exchange;
year_established
(integer): year when the exchange was established;
country
(character): country where the exchange is registered and / or
has its headquarters;
url
(character): web address of the exchange;
trust_score
(integer): an indicator of how much an exchange can be
trusted (ranges from 1 to 10; see
Methodology on the CoinGecko
website);
trading_volume_24h_btc
(double): trading volume in the last 24 hours,
expressed in Bitcoin.
1 2 | r <- supported_exchanges()
print(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.