Skip to main content

top_coins

Get top cryptp coins.

Source Code: [link]

openbb.crypto.disc.top_coins(source: str = "CoinGecko", limit: int = 10)

Parameters

NameTypeDescriptionDefaultOptional
sourcestrSource of data, by default "CoinGecko"CoinGeckoTrue
limitintNumber of coins to return, by default 1010True

Returns

TypeDescription
pd.DataFrameDataFrame with top coins

Examples

from openbb_terminal.sdk import openbb
top_coins = openbb.crypto.disc.top_coins()
To get 30 results from coinmarketcap, use the source parameter and the limit parameter:
top_coins = openbb.crypto.disc.top_coins(source="CoinMarketCap", limit=30)