Skip to main content
Version: v5

central_bank_holdings

Get the System Open Market Account (SOMA) balance sheet holdings.

Examples​

from openbb import obb
# The default is the latest Treasury securities held by the Federal Reserve.
obb.federal_reserve.ny.central_bank_holdings(provider='federal_reserve')
# Get historical summaries of the Fed's holdings.
obb.federal_reserve.ny.central_bank_holdings(provider='federal_reserve', summary=True)
# Get the balance sheet holdings as-of a historical date.
obb.federal_reserve.ny.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.federal_reserve.ny.central_bank_holdings(provider='federal_reserve', holding_type='agency_debts')

Parameters​

date: date | None | str
A specific date to get data for.


Returns​

results: FederalReserveCentralBankHoldings

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​

date: date | str
The date of the data.