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

date: Union[date | str, list[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.

Data

date: date | str
The date of the data.

maturity: str
Maturity length of the security.