Skip to main content

countries

ETF Country weighting.

Example​

from openbb import obb
obb.etf.countries(symbol="AAPL")

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. (ETF)False
providerLiteral['fmp']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."fmp"True

Returns​

OBBject
results : List[EtfCountries]
Serializable results.

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

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

chart : Optional[Chart]
Chart object.

metadata: Optional[Metadata]
Metadata info about the command execution.

Data​

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