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

NameTypeDescriptionDefaultOptional
dateUnion[date, str]A specific date to get data for.NoneTrue

Returns

OBBject
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

NameTypeDescription
dateUnion[date, str]The date of the data.