Skip to main content

Country Interest Rates


Implementation details

Class names

Model nameParameters classData class
CountryInterestRatesCountryInterestRatesQueryParamsCountryInterestRatesData

Import Statement

from openbb_core.provider.standard_models.country_interest_rates import (
CountryInterestRatesData,
CountryInterestRatesQueryParams,
)

Parameters

country: Union[str, list[str]]

The country to get data. Multiple items allowed for provider(s): oecd.

Choices
  • belgium
  • bulgaria
  • brazil
  • ireland
  • mexico
  • indonesia
  • new_zealand
  • japan
  • united_kingdom
  • france
  • chile
  • canada
  • netherlands
  • united_states
  • south_korea
  • norway
  • austria
  • south_africa
  • denmark
  • switzerland
  • hungary
  • luxembourg
  • australia
  • germany
  • sweden
  • iceland
  • turkey
  • greece
  • israel
  • czech_republic
  • latvia
  • slovenia
  • poland
  • estonia
  • lithuania
  • portugal
  • costa_rica
  • slovakia
  • finland
  • spain
  • romania
  • russia
  • euro_area19
  • colombia
  • italy
  • india
  • china
  • croatia
  • all

Default: united_states

Optional: True


start_date: Union[date, str]

Start date of the data, in YYYY-MM-DD format.

Optional: True


end_date: Union[date, str]

End date of the data, in YYYY-MM-DD format.

Optional: True

Data

date: Union[date, str]

The date of the data.

value: float

The interest rate value.

country: str

Country for which the interest rate is given.