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>
2.1 KiB
Vendored
2.1 KiB
Vendored
title, description
| title | description |
|---|---|
| ldapps | OpenBB SDK Function |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
ldapps
Returns information about listed DeFi protocols, their current TVL and changes to it in the last hour/day/week.
Source Code: [link]
openbb.crypto.defi.ldapps(limit: int = 100, sortby: str = "", ascend: bool = False, description: bool = False, drop_chain: bool = True)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| limit | int | The number of dApps to display | 100 | True |
| sortby | str | Key by which to sort data | True | |
| ascend | bool | Flag to sort data descending | False | True |
| description | bool | Flag to display description of protocol | False | True |
| drop_chain | bool | Whether to drop the chain column | True | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Information about DeFi protocols |
Prints table showing information about listed DeFi protocols, their current TVL and changes to it in
Source Code: [link]
openbb.crypto.defi.ldapps_chart(sortby: str, limit: int = 20, ascend: bool = False, description: bool = False, export: str = "")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| limit | int | Number of records to display | 20 | True |
| sortby | str | Key by which to sort data | None | False |
| ascend | bool | Flag to sort data descending | False | True |
| description | bool | Flag to display description of protocol | False | True |
| export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything