Skip to main content

Moody Corporate Bond Index


Implementation details

Class names

Model nameParameters classData class
MoodyCorporateBondIndexMoodyCorporateBondIndexQueryParamsMoodyCorporateBondIndexData

Import Statement

from openbb_core.provider.standard_models.moody import (
MoodyCorporateBondIndexData,
MoodyCorporateBondIndexQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
index_typeLiteral['aaa', 'baa']The type of series.aaaTrue
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.
ratefloatMoody Corporate Bond Index Rate.