Files
OpenBB/website/content/terminal/reference/etf/compare.md
teh_coderer 79046608b6 Docs Fix (#3543)
* Update generate_terminal_markdown.py

* updates

* update workflows

* Automated Change

* tests

* tests

* Automated Change

* Update test_generate_docs.py

* Automated Change

* updates

* Automated Change

* Update gen-docs.yml

* Update test.yml

* Automated Change

* Update test.yml

* Automated Change

* Update generate_sdk_markdown.py

* Automated Change

* test

* Automated Change

* testtt23

* Automated Change

* Update generate_sdk_markdown.py

* Automated Change

* Automated Change

* added empting reference folders before autogen docs

* updates

* Automated Change

* update tests gitactions

* Automated Change

* up

* Automated Change

* Automated Change

* update pytest

* Automated Change

* tests

* Automated Change

* examples update

* Automated Change

* Update generate_sdk_markdown.py

* Automated Change

* Update test.yml

* Update generate_sdk_markdown.py

* strip

* Automated Change

* Workflow : check test update

* Automated Change

* Automated Change

* Automated Change

* Update test.yml

* Automated Change

* Update test.yml

* Automated Change

* Automated Change

* up

* Automated Change

* Update generate_sdk_markdown.py

* Automated Change

* update workflows

* fix guides

* testing

* Update gh-pages.yml

* Update gh-pages.yml

Co-authored-by: tehcoderer <tehcoderer@users.noreply.github.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Chavithra <Chavithra@users.noreply.github.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
2022-11-25 17:19:08 -05:00

65 lines
3.4 KiB
Markdown
Vendored

---
title: compare
description: OpenBB Terminal Function
---
# compare
Compare selected ETFs [Source: StockAnalysis]
### Usage
```python
compare -e NAMES
```
---
## Parameters
| Name | Description | Default | Optional | Choices |
| ---- | ----------- | ------- | -------- | ------- |
| names | Symbols to compare | None | False | None |
---
## Examples
```python
2022 Feb 15, 04:24 (🦋) /etf/ $ compare VOO,SPY
ETF Comparisons
┌────────────────┬────────────┬─────────────┐
│ │ VOO │ SPY │
├────────────────┼────────────┼─────────────┤
│ Assets │ $283.52B │ $407.71B │
├────────────────┼────────────┼─────────────┤
│ NAV │ $413.03 │ $449.25 │
├────────────────┼────────────┼─────────────┤
│ Expense Ratio │ 0.03% │ 0.09% │
├────────────────┼────────────┼─────────────┤
│ PE Ratio │ 24.90 │ 22.23 │
├────────────────┼────────────┼─────────────┤
│ Shares Out │ 686.44M │ 907.53M │
├────────────────┼────────────┼─────────────┤
│ Dividend (ttm) │ $5.44 │ $5.72 │
├────────────────┼────────────┼─────────────┤
│ Dividend Yield │ 1.35% │ 1.30% │
├────────────────┼────────────┼─────────────┤
│ Volume │ 10,167,584 │ 123,006,262 │
├────────────────┼────────────┼─────────────┤
│ Open │ 404.43 │ 439.92 │
├────────────────┼────────────┼─────────────┤
│ Previous Close │ 404.94 │ 440.46 │
├────────────────┼────────────┼─────────────┤
│ 52-Week Low │ 341.92 │ 371.88 │
├────────────────┼────────────┼─────────────┤
│ 52-Week High │ 341.92 │ 371.88 │
├────────────────┼────────────┼─────────────┤
│ Beta │ 0.99 │ 0.99 │
├────────────────┼────────────┼─────────────┤
│ Holdings │ 510 │ 507 │
└────────────────┴────────────┴─────────────┘
```
---