mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 20:31:18 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
857 B
Vendored
857 B
Vendored
title, description
| title | description |
|---|---|
| performance | OpenBB SDK Function |
performance
Get group (sectors, industry or country) performance data. [Source: Finviz]
Source Code: [link]
openbb.economy.performance(group: str = "sector", sortby: str = "Name", ascend: bool = True)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| group | str | Group by category. Available groups can be accessed through get_groups(). | sector | True |
| sortby | str | Column to sort by | Name | True |
| ascend | bool | Flag to sort in ascending order | True | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | dataframe with performance data |