Skip to main content
Version: v5

holdings

Return the holdings of a TMX-listed fund.

Examples​

from openbb import obb
# Fund holdings.
obb.tmx.etf.holdings(symbol='XIU', provider='tmx')

Parameters​

symbol: str
Symbol to get data for. (ETF)


Returns​

results: TmxEtfHoldings

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

symbol: str | None
Symbol representing the entity requested in the data.

name: str | None
Name of the asset.