yield_curve
Euro area government bond yield curve.
Examples
from openbb import obb
obb.ecb.yield_curve(provider='ecb')
Parameters
- standard
- ecb
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.
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.
rating: str | None
Default: aaa
The rating type, either 'aaa' or 'all_ratings'.
yield_curve_type: str | None
Default: spot_rate
The yield curve type.
use_cache: bool | None
Default: True
If true, cache parsed results on disk for the dataset TTL.
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
- standard
- ecb
date: date | None | str
The date of the data.
maturity: str
Maturity length of the security.
date: date | None | str
The date of the data.
maturity: str
Maturity length of the security.