Skip to main content

cps

Get number of companies per sector in a specific country (and specific market cap). [Source: Finance Database]

Source Code: [link]

openbb.stocks.sia.cps(country: str = "United States", mktcap: str = "Large", exclude_exchanges: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
countrystrSelect country to get number of companies by each sectorUnited StatesTrue
mktcapstrSelect market cap of companies to consider from Small, Mid and LargeLargeTrue
exclude_exchangesboolExclude international exchangesTrueTrue

Returns

TypeDescription
dictDictionary of sectors and number of companies in a specific country