Files
OpenBB/website/content/terminal/reference/crypto/defi/pools.md
DidierRLopes 4ad995fdd0 Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro

* Update index.md

* Update dashboards.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update quick-start.md

* Update index.md

* Update index.md

* Update home.md

* Update news.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update data-manipulation.md

* Update forecasting.md

* fix: images self closing tags

* fix: only pro visitors can see pro

* inter font

* improve SEO content and restructuring

* add new package for toggle on tutorials

* move folder around

* improve main page of each prod

* small updates and improvements

* fix logo above

* small improvement in headtitle for portfolio funcs

* fix typos from OpenAI's GPT-4

* fix _category_ json

* remove generic SEO words

* add script that generates SEO for documentation

* add missing file

* remove sdk warning message

* fix links for andrew

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-10-30 21:01:29 +00:00

75 lines
6.1 KiB
Markdown
Vendored

---
title: pools
description: This page is a Python script documentation to display and sort Uniswap
Pools by volume, token name symbol, and transaction count using dataset from thegraph.com.
It provides clear instructions and examples on usage and parameters.
keywords:
- Uniswap Pools
- Volume
- Token Name
- Token Symbol
- Volume USD
- Transaction Count
- Sorting
- Python Script
- Cryptocurrency
- TheGraph Source
- Data Display
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="crypto/defi/pools - Reference | OpenBB Terminal Docs" />
Display uniswap pools by volume. [Source: https://thegraph.com/en/]
### Usage
```python
pairs [-l LIMIT] [-s {volumeUSD,token0.name,token0.symbol,token1.name,token1.symbol,volumeUSD,txCount}] [-r]
```
---
## Parameters
| Name | Description | Default | Optional | Choices |
| ---- | ----------- | ------- | -------- | ------- |
| limit | Number of records to display | 10 | True | None |
| sortby | Sort by given column. Default: volumeUSD | volumeUSD | True | volumeUSD, token0.name, token0.symbol, token1.name, token1.symbol, volumeUSD, txCount |
| reverse | Data is sorted in descending order by default. Reverse flag will sort it in an ascending way. Only works when raw data is displayed. | False | True | None |
---
## Examples
```python
2022 Feb 15, 06:28 (🦋) /crypto/defi/ $ pools
Uniswap Pools
┌───────────────────────┬───────────────┬───────────────────┬───────────────┬───────────┬─────────┐
│ token0.name │ token0.symbol │ token1.name │ token1.symbol │ volumeUSD │ txCount │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ INFI │ INFI │ Wrapped Ether │ WETH │ 99.5M │ 41195 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ UnFederalReserveToken │ eRSDL │ Wrapped Ether │ WETH │ 994M │ 148106 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ Dinger Token │ DINGER │ Wrapped Ether │ WETH │ 99.4M │ 27552 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ CliffordInu │ CLIFF │ Wrapped Ether │ WETH │ 99.2M │ 38398 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ Wrapped Ether │ WETH │ Gen Shards │ GS │ 99M │ 16773 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ Wrapped Ether │ WETH │ 0x Protocol Token │ ZRX │ 98.9M │ 37163 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ GET │ GET │ Wrapped Ether │ WETH │ 98.9M │ 21632 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ AMPnet APX Token │ AAPX │ Wrapped Ether │ WETH │ 98.7M │ 22957 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ Wrapped Ether │ WETH │ RMPL │ RMPL │ 97.7M │ 46404 │
├───────────────────────┼───────────────┼───────────────────┼───────────────┼───────────┼─────────┤
│ DSLA │ DSLA │ Wrapped Ether │ WETH │ 97.5M │ 37901 │
└───────────────────────┴───────────────┴───────────────────┴───────────────┴───────────┴─────────┘
```
---