Tri-Party General Collateral Rate (TGCR)
The TGCR is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon.
In the Finance Toolkit this is get_federal_reserve_rates with rate="TGCR"; the Effective Federal Funds Rate (EFFR) page has the function’s full description.
Tri-Party General Collateral Rate (TGCR) 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")
tgcr = fixedincome.get_federal_reserve_rates(rate="TGCR")
tgcr.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.037 |
| 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.0367 |
| 2025-12-22 | 0.0366 | 0.0358 | 0.0366 | 0.0366 | 0.0368 |
| 2025-12-23 | 0.0364 | 0.0355 | 0.0364 | 0.0364 | 0.0369 |
| 2025-12-24 | 0.0364 | 0.0355 | 0.0364 | 0.0365 | 0.0367 |
| 2025-12-26 | 0.0374 | 0.0358 | 0.0374 | 0.0374 | 0.0376 |
| 2025-12-29 | 0.0375 | 0.0359 | 0.0375 | 0.0376 | 0.0377 |
| 2025-12-30 | 0.0369 | 0.0359 | 0.0369 | 0.037 | 0.0378 |
| 2025-12-31 | 0.0382 | 0.0359 | 0.0382 | 0.0383 | 0.0385 |
Parameters
get_federal_reserve_rates accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
rate | str | The rate to return. Defaults to ‘EFFR’ (Effective Federal Funds Rate). | "SOFR" |
rounding | int | None | The number of decimals to round the results to. Defaults to None. | 2 |
standardize | bool | Whether to standardize (Z-Score) the result. Defaults to False. | True |
show_columns | str | list[str] | None | The 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 |