Skip to main content

Yield Curve


Implementation details

Class names

Model nameParameters classData class
YieldCurveYieldCurveQueryParamsYieldCurveData

Import Statement

from openbb_core.provider.standard_models.yield_curve import (
YieldCurveData,
YieldCurveQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
dateUnion[Union[date, str], List[Union[date, str]]]A specific date to get data for. By default is the current data. Multiple items allowed for provider(s): ecb, econdb, federal_reserve, fmp, fred.NoneTrue

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
maturitystrMaturity length of the security.