Skip to main content
Version: v5

country_interest_rates

Get interest rates by country and duration from the OECD.

Examples​

from openbb import obb
obb.oecd.country_interest_rates(provider='oecd')
obb.oecd.country_interest_rates(provider='oecd', country='all', duration='immediate', frequency='quarter')

Parameters​

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

Choices
  • argentina
  • australia
  • austria
  • belgium
  • brazil
  • canada
  • chile
  • china
  • colombia
  • costa_rica
  • croatia
  • czechia
  • denmark
  • estonia
  • eu27
  • euro_area
  • euro_area_19_countries
  • euro_area_20_countries
  • finland
  • france
  • g20
  • g7
  • germany
  • greece
  • hungary
  • iceland
  • india
  • indonesia
  • ireland
  • israel
  • italy
  • japan
  • korea
  • latvia
  • lithuania
  • luxembourg
  • mexico
  • netherlands
  • new_zealand
  • norway
  • oecd
  • oecd_europe
  • poland
  • portugal
  • russia
  • saudi_arabia
  • slovak_republic
  • slovenia
  • south_africa
  • spain
  • sweden
  • switzerland
  • turkiye
  • united_kingdom
  • united_states
  • all

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: OecdCountryInterestRates

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.

value: float | None
The interest rate value.

country: str | None
Country for which the interest rate is given.