Skip to main content

central_bank_holdings

Get the balance sheet holdings of a central bank.

Examples

from openbb import obb
# The default is the latest Treasury securities held by the Federal Reserve.
obb.economy.central_bank_holdings(provider='federal_reserve')
# Get historical summaries of the Fed's holdings.
obb.economy.central_bank_holdings(provider='federal_reserve', summary=True)
# Get the balance sheet holdings as-of a historical date.
obb.economy.central_bank_holdings(provider='federal_reserve', date='2019-05-21')
# Use the `holding_type` parameter to select Agency securities, or specific categories or Treasury securities.
obb.economy.central_bank_holdings(provider='federal_reserve', holding_type=agency_debts)

Parameters

date: Union[date, str]

A specific date to get data for.

Optional: True


Returns

results: list[CentralBankHoldings]

Serializable results.


provider: Optional[Literal['federal_reserve']]

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.