Files
OpenBB/website/content/terminal/reference/etf/compare.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
3.8 KiB
Markdown
Vendored

---
title: compare
description: A documentation page for the 'compare' function used in StockAnalysis.
The function allows users to compare selected ETF symbols to obtain various financial
and trading data. Parameters, usage, and examples are provided.
keywords:
- StockAnalysis
- ETF comparison
- Financial data
- Trading information
- Financial analysis tools
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="etf /compare - Reference | OpenBB Terminal Docs" />
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 │
└────────────────┴────────────┴─────────────┘
```
---