Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/crypto/defi/ldapps.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

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