High Quality Market Corporate Bond
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
HighQualityMarketCorporateBond | HighQualityMarketCorporateBondQueryParams | HighQualityMarketCorporateBondData |
Import Statement
from openbb_core.provider.standard_models.hqm import (
HighQualityMarketCorporateBondData,
HighQualityMarketCorporateBondQueryParams,
)
Parameters
- standard
- fred
Name | Type | Description | Default | Optional |
---|---|---|---|---|
date | Union[date, str] | A specific date to get data for. | None | True |
yield_curve | Literal['spot', 'par'] | The yield curve type. | spot | True |
provider | Literal['fred'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fred' if there is no default. | fred | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
date | Union[date, str] | A specific date to get data for. | None | True |
yield_curve | Literal['spot', 'par'] | The yield curve type. | spot | True |
provider | Literal['fred'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fred' if there is no default. | fred | True |
Data
- standard
- fred
Name | Type | Description |
---|---|---|
date | date | The date of the data. |
rate | float | HighQualityMarketCorporateBond Rate. |
maturity | str | Maturity. |
yield_curve | Literal['spot', 'par'] | The yield curve type. |
Name | Type | Description |
---|---|---|
date | date | The date of the data. |
rate | float | HighQualityMarketCorporateBond Rate. |
maturity | str | Maturity. |
yield_curve | Literal['spot', 'par'] | The yield curve type. |
series_id | str | FRED series id. |