Skip to main content
Version: v5

sectors

Sector exposure of a TMX-listed fund.

Examples​

from openbb import obb
# Sector weights.
obb.tmx.etf.sectors(symbol='XIU', provider='tmx')

Parameters​

symbol: str | list[str]
Symbol to get data for. (ETF) Multiple items allowed for provider(s): tmx.


Returns​

results: TmxEtfSectors

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

symbol: str | None
Symbol representing the entity requested in the data.

sector: str
Sector of exposure.

weight: float
Sector exposure for the ETF as a percent of total assets.