supported_exchanges: CoinGecko exchanges

View source: R/supported_exchanges.R

supported_exchangesR Documentation

CoinGecko exchanges

Description

Retrieves a list of exchanges supported by the CoinGecko API

Usage

supported_exchanges(max_attempts = 3)

Arguments

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.

Details

This function is based on the public CoinGecko API, which has a rate limit of 10-30 calls per minute. Please keep this limit in mind when developing your applications.

Value

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.

Examples


r <- supported_exchanges()
print(r)


next-game-solutions/geckor documentation built on April 27, 2023, 10:59 a.m.