Skip to main content
Version: v5

indicators

Get economic indicators by country and indicator symbol from the OECD.

Examples​

from openbb import obb
# Fetch a single indicator series by ``dataflow::code`` symbol.
obb.oecd.indicators(provider='oecd', symbol='DF_KEI::ULC', country='united_states', start_date='2020-01-01')

Parameters​

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): oecd.

country: str | None | list[str | None]
The country to get data. Multiple items allowed for provider(s): oecd.

frequency: str | None
The frequency of the data.

start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | None | str
End date of the data, in YYYY-MM-DD format.


Returns​

results: OecdIndicators

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​

date: date | None | str
The date of the data.

symbol_root: str | None
The root symbol for the indicator (e.g. GDP).

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

country: str | None
The country represented by the data.

value: float | int | None