countries
ETF Country weighting.
Examples
from openbb import obb
obb.etf.countries(symbol='VT', provider='fmp')
Parameters
- standard
- fmp
- tmx
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. (ETF) Multiple items allowed for provider(s): fmp, tmx. | False | |
| provider | Literal['fmp', 'tmx'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, tmx. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. (ETF) Multiple items allowed for provider(s): fmp, tmx. | False | |
| provider | Literal['fmp', 'tmx'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, tmx. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. (ETF) Multiple items allowed for provider(s): fmp, tmx. | False | |
| provider | Literal['fmp', 'tmx'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, tmx. | None | True |
| use_cache | bool | 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. | True | True |
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
- standard
- fmp
- tmx
| Name | Type | Description |
|---|---|---|
| country | str | The country of the exposure. Corresponding values are normalized percentage points. |
| Name | Type | Description |
|---|---|---|
| country | str | The country of the exposure. Corresponding values are normalized percentage points. |
| Name | Type | Description |
|---|---|---|
| country | str | The country of the exposure. Corresponding values are normalized percentage points. |