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[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.

Optional: True

Data

date: Union[date, str]

The date of the data.

maturity: str

Maturity length of the security.