Skip to main content

EU Yield Curve


Implementation details​

Class names​

Model nameParameters classData class
EUYieldCurveEUYieldCurveQueryParamsEUYieldCurveData

Import Statement​

from openbb_core.provider.standard_models.eu_yield_curve import (
EUYieldCurveData,
EUYieldCurveQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
datedateA specific date to get data for.NoneTrue
yield_curve_typeLiteral['spot_rate', 'instantaneous_forward', 'par_yield']The yield curve type."spot_rate"True
providerLiteral['ecb']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'ecb' if there is no default."ecb"True

Data​

NameTypeDescription
maturitystrYield curve rate maturity.
ratefloatYield curve rate.