Skip to main content
Version: v5

term_premium

Get the San Francisco Fed Treasury Term Premium decomposition.

Examples​

from openbb import obb
obb.federal_reserve.sf.term_premium(provider='federal_reserve')
# Get the two-year decomposition.
obb.federal_reserve.sf.term_premium(maturity=2, provider='federal_reserve')

Parameters​


Returns​

results: FederalReserveSanFranciscoTermPremium

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​