Skip to main content

tips_yields

Get current Treasury inflation-protected securities yields.

Examples

from openbb import obb
obb.fixedincome.government.tips_yields(provider='fred')
obb.fixedincome.government.tips_yields(maturity=10, provider='fred')

Parameters

start_date: date | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | str
End date of the data, in YYYY-MM-DD format.


Returns

results: list[TipsYields]

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: date | str
The date of the data.

symbol: str
Symbol representing the entity requested in the data.

due: date
The due date (maturation date) of the security.

name: str
The name of the security.

value: float
The yield value.