mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-24 18:22:43 +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.9 KiB
Vendored
1.9 KiB
Vendored
title, description
| title | description |
|---|---|
| tokens | OpenBB SDK Function |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
tokens
Get list of tokens trade-able on Uniswap DEX. [Source: https://thegraph.com/en/]
Source Code: [link]
openbb.crypto.defi.tokens(skip: int = 0, limit: int = 100, sortby: str = "index", ascend: bool = False)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| skip | int | Skip n number of records. | 0 | True |
| limit | int | Show n number of records. | 100 | True |
| sortby | str | The column to sort by | index | True |
| ascend | bool | Whether to sort in ascending order | False | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Uniswap tokens with trading volume, transaction count, liquidity. |
Prints table showing tokens trade-able on Uniswap DEX.
Source Code: [link]
openbb.crypto.defi.tokens_chart(skip: int = 0, limit: int = 20, sortby: str = "index", ascend: bool = False, export: str = "")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| skip | int | Number of records to skip | 0 | True |
| limit | int | Number of records to display | 20 | True |
| sortby | str | Key by which to sort data | index | True |
| ascend | bool | Flag to sort data descending | False | True |
| export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything