Skip to main content

European Central Bank Interest Rates


Implementation details

Class names

Model nameParameters classData class
EuropeanCentralBankInterestRatesEuropeanCentralBankInterestRatesQueryParamsEuropeanCentralBankInterestRatesData

Import Statement

from openbb_core.provider.standard_models.ecb_interest_rates import (
EuropeanCentralBankInterestRatesData,
EuropeanCentralBankInterestRatesQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
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
interest_rate_typeLiteral['deposit', 'lending', 'refinancing']The type of interest rate.lendingTrue
providerLiteral['fred']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fred' if there is no default.fredTrue

Data

NameTypeDescription
datedateThe date of the data.
ratefloatEuropean Central Bank Interest Rate.