Skip to main content

moody

Deprecated

This endpoint is deprecated; use /fixedincome/bond_indices instead. Set category to us and index to seasoned_corporate. Deprecated in OpenBB Platform V4.2 to be removed in V4.5.

Moody Corporate Bond Index.

Moody's Aaa and Baa are investment bonds that acts as an index of the performance of all bonds given an Aaa or Baa rating by Moody's Investors Service respectively. These corporate bonds often are used in macroeconomics as an alternative to the federal ten-year Treasury Bill as an indicator of the interest rate.

Parameters

start_date: Union[date, str]

Start date of the data, in YYYY-MM-DD format.

Optional: True


end_date: Union[date, str]

End date of the data, in YYYY-MM-DD format.

Optional: True


index_type: Literal['aaa', 'baa']

The type of series.

Default: aaa

Optional: True


Returns

results: list[MoodyCorporateBondIndex]

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

date: Union[date, str]

The date of the data.

rate: float

Moody Corporate Bond Index Rate.