Secured Overnight Financing Rate (SOFR)
Get the Federal Reserve rates as published by the Federal Reserve Bank of New York. The federal funds market consists of domestic unsecured borrowings in U.S. dollars by depository institutions from other depository institutions and certain other entities, primarily government-sponsored enterprises.
The following rates are available:
- Effective Federal Funds Rate (EFFR)
- Overnight Bank Funding Rate (OBFR)
- Tri-Party General Collateral Rate (TGCR)
- Broad General Collateral Rate (BGCR)
- Secured Overnight Financing Rate (SOFR)
The effective federal funds rate (EFFR) is calculated as a volume-weighted median of overnight federal funds transactions reported in the FR 2420 Report of Selected Money Market Rates.
The overnight bank funding rate (OBFR) is calculated as a volume-weighted median of overnight federal funds transactions, Eurodollar transactions, and the domestic deposits reported as “Selected Deposits” in the FR 2420 Report.
The TGCR is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon.
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).
The SOFR 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 and data on bilateral Treasury repo transactions cleared through FICC’s DVP service, which are obtained from the U.S. Department of the Treasury’s Office of Financial Research (OFR).
The New York Fed publishes the rates for the prior business day on the New York Fed’s website between 8:00 and 9:00 a.m.
See source: https://www.newyorkfed.org/markets/reference-rates/
Also known as: Fed rates, federal funds rate, FOMC rate.
No programming experience? With the Finance Toolkit MCP server, AI assistants such as Claude and ChatGPT can calculate the Secured Overnight Financing Rate (SOFR) for you. Just ask in plain English.
Calculate the Secured Overnight Financing Rate (SOFR) in Python
The Secured Overnight Financing Rate (SOFR) is available in the Fixed Income module of the open-source Finance Toolkit. Install it 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')
effr = fixedincome.get_federal_reserve_rates()
effr.loc[:, ['Rate', '1st Percentile', '25th Percentile', '75th Percentile', '99th Percentile']]
Which returns:
| Effective Date | Rate | 1st Percentile | 25th Percentile | 75th Percentile | 99th Percentile |
|---|---|---|---|---|---|
| 2023-12-01 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0544 |
| 2023-12-04 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0545 |
| 2023-12-05 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0545 |
| 2023-12-06 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0545 |
| 2023-12-07 | 0.0533 | 0.053 | 0.0531 | 0.0534 | 0.0545 |
| 2023-12-08 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0545 |
| 2023-12-11 | 0.0533 | 0.053 | 0.0532 | 0.0533 | 0.0545 |
| 2023-12-12 | 0.0533 | 0.053 | 0.0531 | 0.0533 | 0.0544 |
| 2023-12-13 | 0.0533 | 0.053 | 0.0531 | 0.0533 | 0.0545 |
| 2023-12-14 | 0.0533 | 0.053 | 0.0531 | 0.0533 | 0.0535 |
Parameters
get_federal_reserve_rates accepts the following parameters:
- rate (str): The rate to return. Defaults to ‘EFFR’ (Effective Federal Funds Rate).
- rounding (int | None, optional): The number of decimals to round the results to. Defaults to None.
- standardize (bool, optional): Whether to standardize (Z-Score) the result. Defaults to False.
Related Central Banks
The Fixed Income module page introduces the module, and the sidebar lists all of its functions.