mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
* fix(docs): added margin between sections * feat: removed unused files; updated ga * fix: juan stuff doesnt work * fix: random fix * moon at noon * fix: update docusaurus config * Update controller_doc_classes.py * fix: temp fix * fix: temp fix * Update controller_doc_classes.py * fix: remove old content * fix: taggfix * init * fix: styling and moved file * Update generate_terminal_markdown.py * fix: removed unused images * fix: port new files * Update generate_sdk_markdown.py * Update controller_doc_classes.py Co-authored-by: teh_coderer <me@tehcoderer.com>
1.7 KiB
Vendored
1.7 KiB
Vendored
title, description
| title | description |
|---|---|
| hold | OpenBB SDK Function |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
hold
Returns public companies that holds ethereum or bitcoin [Source: CoinGecko]
Source Code: [link]
openbb.crypto.ov.hold(endpoint: str = "bitcoin")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| endpoint | str | "bitcoin" or "ethereum" | bitcoin | True |
Returns
| Type | Description |
|---|---|
| List[Union[str, pd.DataFrame]] | - str: Overall statistics - pd.DataFrame: Companies holding crypto |
Shows overview of public companies that holds ethereum or bitcoin. [Source: CoinGecko]
Source Code: [link]
openbb.crypto.ov.hold_chart(symbol: str, show_bar: bool = False, export: str = "", limit: int = 15)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Cryptocurrency: ethereum or bitcoin | None | False |
| show_bar | bool | Whether to show a bar graph for the data | False | True |
| export | str | Export dataframe data to csv,json,xlsx | True | |
| limit | int | The number of rows to show | 15 | True |
Returns
This function does not return anything