Tmx Etf Holdings
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
TmxEtfHoldings | TmxEtfHoldingsQueryParams | TmxEtfHoldingsData |
Import Statement
from openbb_core.provider.standard_models. import (
TmxEtfHoldingsData,
TmxEtfHoldingsQueryParams,
)
Parameters
- standard
- tmx
symbol: str
Symbol to get data for. (ETF)
symbol: str
Symbol to get data for. (ETF)
use_cache: bool | None
Default: True
Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours.
Data
- standard
- tmx
symbol: str | None
Symbol representing the entity requested in the data.
name: str | None
Name of the asset.
symbol: str | None
The ticker symbol of the asset.
name: str | None
The name of the asset.
weight: float | None
The weight of the asset in the portfolio, as a normalized percentage.
shares: int | str | None
The value of the assets under management.
market_value: float | str | None
The market value of the holding.
currency: str | None
The currency of the holding.
share_percentage: float | None
The share percentage of the holding, as a normalized percentage.
share_change: float | str | None
The change in shares of the holding.
country: str | None
The country of the holding.
exchange: str | None
The exchange code of the holding.
type_id: str | None
The holding type ID of the asset.
fund_id: str | None
The fund ID of the asset.