The BGCR is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon as well as GCF Repo transaction data obtained from the U.S. Department of the Treasury’s Office of Financial Research (OFR).

In the Finance Toolkit this is get_federal_reserve_rates with rate="BGCR"; the Effective Federal Funds Rate (EFFR) page has the function’s full description.

Broad General Collateral Rate (BGCR) in Python

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_federal_reserve_rates as shown below.

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date="2023-12-01", end_date="2025-12-31")

bgcr = fixedincome.get_federal_reserve_rates(rate="BGCR")

bgcr.loc[:, ["Rate", "1st Percentile", "25th Percentile", "75th Percentile", "99th Percentile"]]

Which returns:

Effective Date Rate 1st Percentile 25th Percentile 75th Percentile 99th Percentile
2025-12-17 0.0366 0.036 0.0366 0.0366 0.0373
2025-12-18 0.0363 0.0355 0.0363 0.0363 0.037
2025-12-19 0.0363 0.0358 0.0363 0.0364 0.037
2025-12-22 0.0366 0.0358 0.0366 0.0366 0.0372
2025-12-23 0.0364 0.0355 0.0364 0.0364 0.037
2025-12-24 0.0364 0.0355 0.0364 0.0365 0.037
2025-12-26 0.0374 0.0357 0.0374 0.0374 0.038
2025-12-29 0.0375 0.036 0.0375 0.0376 0.0381
2025-12-30 0.0369 0.0358 0.0369 0.037 0.0378
2025-12-31 0.0382 0.0359 0.0382 0.0383 0.039

Parameters

get_federal_reserve_rates accepts the following parameters.

ParameterTypeDescriptionExample
ratestrThe rate to return. Defaults to ‘EFFR’ (Effective Federal Funds Rate)."SOFR"
roundingint | NoneThe number of decimals to round the results to. Defaults to None.2
standardizeboolWhether to standardize (Z-Score) the result. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column
Share