Skip to main content

sectors

ETF Sector weighting.

Examples

from openbb import obb
obb.etf.sectors(symbol='SPY', provider='fmp')

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for. (ETF)False

Returns

OBBject
results : List[EtfSectors]
Serializable results.

provider : Optional[Literal['fmp', 'tmx']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
sectorstrSector of exposure.
weightfloatExposure of the ETF to the sector in normalized percentage points.