Skip to main content
Version: v5

debt_to_penny

Get the total public debt outstanding, to the penny, for each business day.

Examples​

from openbb import obb
obb.ustreasury.debt_to_penny(provider='us_treasury')
# Get the debt for a specific date range.
obb.ustreasury.debt_to_penny(start_date='2025-01-01', end_date='2025-06-30', provider='us_treasury')

Parameters​


Returns​

results: DebtToPenny

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​