Skip to main content

valuation

Get group (sectors, industry or country) valuation data. [Source: Finviz]

Source Code: [link]

openbb.economy.valuation(group: str = "sector", sortby: str = "Name", ascend: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
groupstrGroup by category. Available groups can be accessed through get_groups().sectorTrue
sortbystrColumn to sort byNameTrue
ascendboolFlag to sort in ascending orderTrueTrue

Returns

TypeDescription
pd.DataFramedataframe with valuation/performance data