fetch_top_coins#

API documentation for tradingstrategy.alternative_data.coingecko.fetch_top_coins Python function.

fetch_top_coins(client, pages=40, per_page=25)[source]#

Get the list of top coins from CoinGecko, with metadata.

  • Mainly used to built internal database needed for token address matching

Returns:

Coins sorted by market cap, as dicts.

Parameters:

client (CoingeckoClient) –

Return type:

list[tradingstrategy.alternative_data.coingecko.CoingeckoEntry]