categories
- Model
- Chart
Returns top crypto categories [Source: CoinGecko]
Source Code: [link]
openbb.crypto.ov.categories(sort_filter: str = "market_cap")
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
sort_filter | str | Can be one of - "market_cap_desc", "market_cap_asc", "name_desc", "name_asc", "market_cap_change_24h_desc", "market_cap_change_24h_asc" | market_cap | True |
Returns
Type | Description |
---|---|
pd.DataFrame | Rank, Name, Change_1h, Change_7d, Market_Cap, Volume_24h,Coins, Url |
Shows top cryptocurrency categories by market capitalization
Source Code: [link]
openbb.crypto.ov.categories_chart(sortby: str = "market_cap_desc", limit: int = 15, export: str = "", sheet_name: Optional[str] = None, pie: bool = False)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
sortby | str | Key by which to sort data | market_cap_desc | True |
limit | int | Number of records to display | 15 | True |
sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
export | str | Export dataframe data to csv,json,xlsx file | True | |
pie | bool | Whether to show the pie chart | False | True |
Returns
This function does not return anything