hqm
High Quality Market Corporate Bond.
The HQM yield curve represents the high quality corporate bond market, i.e., corporate bonds rated AAA, AA, or A. The HQM curve contains two regression terms. These terms are adjustment factors that blend AAA, AA, and A bonds into a single HQM yield curve that is the market-weighted average (MWA) quality of high quality bonds.
Examples
from openbb import obb
obb.fixedincome.corporate.hqm(provider='fred')
obb.fixedincome.corporate.hqm(yield_curve=par, provider='fred')
Parameters
- standard
- fred
date: Union[date | str, list[date | str]]
A specific date to get data for. Multiple items allowed for provider(s): fred.
date: Union[date | str, list[date | str]]
A specific date to get data for. Multiple items allowed for provider(s): fred.
yield_curve: Literal['spot', 'par']
Default: spot
The yield curve type.
Returns
results: list[HighQualityMarketCorporateBond]
Serializable results.
provider: Optional[Literal['fred']]
Provider name.
warnings: Optional[list[Warning_]]
list of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- fred
date: date | str
The date of the data.
rate: float
Interest rate.
maturity: str
Maturity.
date: date | str
The date of the data.
rate: float
Interest rate.
maturity: str
Maturity.