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 |