Skip to main content

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

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for. (ETF)False
providerLiteral['fmp', 'tmx']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

Data

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