Ofr Funding

v0.2.1
io.github.pipeworx-io/ofr-funding Checked 1 day ago Published 29 days ago

OFR Short-Term Funding Monitor API — data.financialresearch.gov/v1, keyless, no auth wall.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ofr_repo_rates

US repo market rates/volumes broken out by COLLATERAL segment (dvp = FICC DVP service, gcf = GCF Repo service, tri = tri-party, tri_ex_fed = tri-party excluding the Fed's own ON RRP counterparty trades) and TENOR (overnight, term buckets, or a treasury/agency/corporate/other collateral-type split). measure=rate (default, %) or volume/outstanding ($). This is OFR's independent collateral/tenor decomposition of the private repo market — neither FRED nor nyfed-markets has this breakdown; FRED only has single daily SOFR/EFFR-style aggregates, and nyfed-markets only has the NY Fed Desk's OWN oper…

ParameterTypeDescription
collateralstringDefault tri (tri-party, the largest and most-watched segment).
end_datestringYYYY-MM-DD, inclusive.
limitnumberMax observations to return, most recent last. Default 30, max 250.
measurestringrate = volume-weighted average rate (%). volume = transaction volume ($). outstanding = outstanding volume ($, not available for every segment). Default rate.
start_datestringYYYY-MM-DD, inclusive.
tenorstringDefault overnight. treasury/agency/corporate/other are collateral-TYPE splits, not term buckets, and are only valid for some collateral segments.
vintagestringOFR revises rates a few days after first publication. Default preliminary (freshest).

ofr_mmf_holdings

Money market mutual fund investment composition, monthly, from OFR's MMF Data Release — how much of aggregate MMF assets sit in repo (overall, or split by Treasury/agency/other collateral and by counterparty type: domestic institutions, foreign institutions, the Fed, FICC-cleared, other), plus outright Treasury/agency securities, bank-related assets, and other assets. Distinct from any credit-rating or fund-flow data — this is balance-sheet COMPOSITION. category defaults to repo_total; call ofr_search_funding_series with dataset:"mmf" to see all 42 underlying series (including median-yield…

ParameterTypeDescription
categorystringDefault repo_total.
end_datestringYYYY-MM-DD, inclusive.
limitnumberMax monthly observations to return. Default 24, max 200.
start_datestringYYYY-MM-DD, inclusive.

ofr_search_funding_series

Browse the full catalog of OFR repo-market and money-market-fund mnemonics by name (e.g. "tri-party", "GCF", "corporate debt", "federal reserve") — use this to find the exact series behind ofr_repo_rates/ofr_mmf_holdings, or a raw mnemonic to pass to ofr_funding_anomaly. OFR publishes no live search API, so this is a name/mnemonic lookup table, not a live call.

ParameterTypeDescription
datasetstringDefault all.
limitnumberDefault 30, max 206 (the full catalog).
querystringSubstring to match against the series name or mnemonic (case-insensitive). Omit to list everything in the chosen dataset.

ofr_funding_anomaly

Compares the LATEST observation of a repo or MMF series to its trailing window (mean, stddev over the N observations before it) and reports the delta and z-score — "what changed unusually" in short-term funding markets. Pass either the same collateral/tenor/measure/vintage args as ofr_repo_rates (default: tri-party overnight rate), or a raw mnemonic from ofr_search_funding_series/ofr_mmf_holdings. Always states the exact window used (start date, end date, n observations) alongside the number.

ParameterTypeDescription
collateralstringUsed only when mnemonic is omitted. Default tri.
measurestringUsed only when mnemonic is omitted. Default rate.
mnemonicstringA raw OFR mnemonic (e.g. from ofr_search_funding_series). Overrides collateral/tenor/measure/vintage when given.
tenorstringUsed only when mnemonic is omitted. Default overnight.
vintagestringUsed only when mnemonic is omitted. Default preliminary.
window_daysnumberTrailing window size (observations before the latest one). Default 20, min 5, max 120.