Skip to main content
Version: v5

yield_curve

Euro area government bond yield curve.

Examples​

from openbb import obb
obb.ecb.yield_curve(provider='ecb')

Parameters​

date: date | str | None | list[date | str | None]
A specific date to get data for. By default is the current data. Multiple items allowed for provider(s): ecb.


Returns​

results: EcbYieldCurve

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

date: date | None | str
The date of the data.

maturity: str
Maturity length of the security.