Ecb Yield Curve
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
EcbYieldCurve | EcbYieldCurveQueryParams | EcbYieldCurveData |
Import Statement
from openbb_core.provider.standard_models. import (
EcbYieldCurveData,
EcbYieldCurveQueryParams,
)
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.
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.