Files
OpenBB/website/content/terminal/reference/crypto/ov/exrates.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

83 lines
6.0 KiB
Markdown
Vendored

---
title: exrates
description: The 'exrates' page allows users to view crypto, fiats, and commodity
exchange rates from CoinGecko in Python. The page also explains how to limit, sort,
or reverse data. Methods show examples and list of parameters as well.
keywords:
- exrates
- crypto exchange rates
- CoinGecko
- sort
- limit
- reverse
- parameters
- fiats
- commodity
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="crypto/ov/exrates - Reference | OpenBB Terminal Docs" />
Shows list of crypto, fiats, commodity exchange rates from CoinGecko You can look on only N number of records with --limit, You can sort by Index, Name, Unit, Value, Type, and also use --reverse flag to sort descending.
### Usage
```python
exrates [-l LIMIT] [-s {Index,Name,Unit,Value,Type}] [-r]
```
---
## Parameters
| Name | Description | Default | Optional | Choices |
| ---- | ----------- | ------- | -------- | ------- |
| limit | display N number records | 15 | True | None |
| sortby | Sort by given column. Default: Index | Index | True | Index, Name, Unit, Value, Type |
| reverse | Data is sorted in ascending order by default. Reverse flag will sort it in an descending way. Only works when raw data is displayed. | False | True | None |
---
## Examples
```python
2022 Feb 15, 08:12 (🦋) /crypto/ov/ $ exrates
Exchange Rates
┌───────┬─────────────────────────────┬──────┬────────────┬────────┐
│ Index │ Name │ Unit │ Value │ Type │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 1 │ Bitcoin │ BTC │ 1.00 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 2 │ Ether │ ETH │ 14.20 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 3 │ Litecoin │ LTC │ 337.43 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 4 │ Bitcoin Cash │ BCH │ 130.59 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 5 │ Binance Coin │ BNB │ 103.36 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 6 │ EOS │ EOS │ 17907.80 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 7 │ XRP │ XRP │ 53041.60 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 8 │ Lumens │ XLM │ 201835.99 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 9 │ Chainlink │ LINK │ 2619.11 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 10 │ Polkadot │ DOT │ 2235.39 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 11 │ Yearn.finance │ YFI │ 1.85 │ crypto │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 12 │ US Dollar │ $ │ 44258.09 │ fiat │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 13 │ United Arab Emirates Dirham │ DH │ 162560.27 │ fiat │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 14 │ Argentine Peso │ $ │ 4711797.18 │ fiat │
├───────┼─────────────────────────────┼──────┼────────────┼────────┤
│ 15 │ Australian Dollar │ A$ │ 61998.28 │ fiat │
└───────┴─────────────────────────────┴──────┴────────────┴────────┘
```
---