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

NameTypeDescriptionDefaultOptional
countryUnion[str, List[str]]The country to get data. Multiple items allowed for provider(s): oecd.united_statesTrue
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
valuefloatThe interest rate value.
countrystrCountry for which the interest rate is given.