Skip to main content

Index Sectors


Implementation details

Class names

Model nameParameters classData class
IndexSectorsIndexSectorsQueryParamsIndexSectorsData

Import Statement

from openbb_core.provider.standard_models.index_sectors import (
IndexSectorsData,
IndexSectorsQueryParams,
)

Parameters

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

Data

NameTypeDescription
sectorstrThe sector name.
weightfloatThe weight of the sector in the index.