Skip to main content

Index Constituents


Implementation details

Class names

Model nameParameters classData class
IndexConstituentsIndexConstituentsQueryParamsIndexConstituentsData

Import Statement

from openbb_core.provider.standard_models.index_constituents import (
IndexConstituentsData,
IndexConstituentsQueryParams,
)

Parameters

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

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
namestrName of the constituent company in the index.