Skip to main content

High Quality Market Corporate Bond


Implementation details

Class names

Model nameParameters classData class
HighQualityMarketCorporateBondHighQualityMarketCorporateBondQueryParamsHighQualityMarketCorporateBondData

Import Statement

from openbb_core.provider.standard_models.hqm import (
HighQualityMarketCorporateBondData,
HighQualityMarketCorporateBondQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
dateUnion[date, str]A specific date to get data for.NoneTrue
yield_curveLiteral['spot', 'par']The yield curve type.spotTrue
providerLiteral['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.fredTrue

Data

NameTypeDescription
datedateThe date of the data.
ratefloatHighQualityMarketCorporateBond Rate.
maturitystrMaturity.
yield_curveLiteral['spot', 'par']The yield curve type.