Skip to main content
Version: v4

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​

symbol: str
Symbol to get data for.

Data​

sector: str
The sector name.

weight: float
The weight of the sector in the index.