Tmx Index Constituents
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
TmxIndexConstituents | TmxIndexConstituentsQueryParams | TmxIndexConstituentsData |
Import Statement
from openbb_core.provider.standard_models. import (
TmxIndexConstituentsData,
TmxIndexConstituentsQueryParams,
)
Parameters
- standard
- tmx
symbol: str
Symbol to get data for.
symbol: str
Symbol to get data for.
use_cache: bool | None
Default: True
Whether to use a cached request. Index data is from a single JSON file, updated each day after close. It is cached for one day. To bypass, set to False.
Data
- standard
- tmx
symbol: str
Symbol representing the entity requested in the data.
name: str | None
Name of the constituent company in the index.
symbol: str
Symbol representing the entity requested in the data.
name: str | None
Name of the constituent company in the index.
exchange: str | None
The exchange the constituent is listed on.
market_value: float | None
The quoted market value of the asset.
weight: float | None
The weight of the constituent in the index.