pools
- Model
- Chart
Get uniswap pools by volume. [Source: https://thegraph.com/en/]
Source Code: [link]
openbb.crypto.defi.pools()
Parameters
This function does not take any parameters.
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Trade-able pairs listed on Uniswap by top volume. |
Prints table showing uniswap pools by volume.
Source Code: [link]
openbb.crypto.defi.pools_chart(limit: int = 20, sortby: str = "volumeUSD", ascend: bool = True, 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. The table can be sorted by every of its columns (see https://bit.ly/3ORagr1 then press ctrl-enter or execute the query). | volumeUSD | True |
| ascend | bool | Flag to sort data descending | True | True |
| export | str | Export dataframe data to csv,json,xlsx file | True |
Returns
This function does not return anything