countries
ETF Country weighting.
Examples
from openbb import obb
obb.etf.countries(symbol='VT', provider='fmp')
Parameters
- standard
- fmp
- tmx
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp, tmx.
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp, tmx.
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp, tmx.
use_cache: bool
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.
Returns
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
- standard
- fmp
- tmx
symbol: str
Symbol representing the entity requested in the data.
country: str
The country of the exposure. Corresponding values are normalized percentage points.
weight: float
The net exposure of the ETF to the country as a percentage of the total ETF assets.
symbol: str
Symbol representing the entity requested in the data.
country: str
The country of the exposure. Corresponding values are normalized percentage points.
weight: float
The net exposure of the ETF to the country as a percentage of the total ETF assets.
symbol: str
Symbol representing the entity requested in the data.
country: str
The country of the exposure. Corresponding values are normalized percentage points.
weight: float
The net exposure of the ETF to the country as a percentage of the total ETF assets.