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, by default None. If None, the priority list configured in the settings is used. Default priority: tmx.NoneTrue

Data​

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