Skip to main content

countries

ETF Country weighting.

Example​

from openbb import obb
obb.etf.countries("VT", provider="fmp")

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. (ETF) Multiple items allowed for provider(s): fmp, tmx.False
providerLiteral['fmp', 'tmx']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

Returns​

OBBject
results : List[EtfCountries]
Serializable results.

provider : Optional[Literal['fmp', 'tmx']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data​

NameTypeDescription
countrystrThe country of the exposure. Corresponding values are normalized percentage points.