Skip to main content

cp

Obtain Commercial Paper data

Source Code: [link]

openbb.fixedincome.cp(maturity: str = "30d", category: str = "financial", grade: str = "aa", start_date: Optional[str] = None, end_date: Optional[str] = None)

Parameters

NameTypeDescriptionDefaultOptional
maturitystrThe maturity you want to see, either "overnight", "7d", "15d", "30d", "60d" or "90d"30dTrue
categorystrThe category you want to see, either "asset_backed", "financial" or "non_financial"financialTrue
gradestrThe type of grade you want to see, either "a2_p2" or "aa"aaTrue
descriptionboolWhether you wish to obtain a description of the data.NoneTrue
start_dateOptional[str]Start date, formatted YYYY-MM-DDNoneTrue
end_dateOptional[str]End date, formatted YYYY-MM-DDNoneTrue

Returns

This function does not return anything