Skip to main content
Version: v4

Etf Sectors


Implementation details​

Class names​

Model nameParameters classData class
EtfSectorsEtfSectorsQueryParamsEtfSectorsData

Import Statement​

from openbb_core.provider.standard_models.etf_sectors import (
EtfSectorsData,
EtfSectorsQueryParams,
)

Parameters​

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

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.