Queries the OFR Hedge Fund Monitor API for time series on hedge fund size, leverage, counterparties, liquidity, complexity, and risk management, including SEC Form PF, CFTC TFF, FICC repo, and FRB SCOOS data. No API key required.
Ships in alterlab-finance-economics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Free, open REST API from the U.S. Office of Financial Research (OFR) providing aggregated hedge fund time series data. No API key or registration required.
Base URL: https://data.financialresearch.gov/hf/v1
| Scenario | Use Instead |
|---|---|
| A single filer's raw Form PF/13F/13D documents or holdings line by line | alterlab-edgartools |
| Treasury yields, Fed policy rates, or financial-conditions indices | alterlab-fred |
| Treasury debt, auctions, or Daily Treasury Statement cash balances | alterlab-usfiscaldata |
| Security prices or fund NAV/price histories | alterlab-alpha-vantage |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-edgartools) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
import requests
import pandas as pd
BASE = "https://data.financialresearch.gov/hf/v1"
# List all available datasets
resp = requests.get(f"{BASE}/series/dataset")
datasets = resp.json()
# Returns: {"ficc": {...}, "fpf": {...}, "scoos": {...}, "tff": {...}}
# Search for series by keyword
resp = requests.get(f"{BASE}/metadata/search", params={"query": "*leverage*"})
results = resp.json()
# Each result: {mnemonic, dataset, field, value, type}
# Fetch a single time series
resp = requests.get(f"{BASE}/series/timeseries", params={
"mnemonic": "FPF-STRATEGY_EQUITY_LEVERAGERATIO_GAVWMEAN",
"start_date": "2015-01-01"
})
series = resp.json() # [[date, value], ...]
df = pd.DataFrame(series, columns=["date", "value"])
df["date"] = pd.to_datetime(df["date"])
Mnemonics are exact — guessing fails. The API rejects unknown identifiers with a plain
Invalid mnemonic string (HTTP 200, not JSON). Always discover real mnemonics via
/metadata/search or /metadata/mnemonics before requesting data. Note in particular that
there is no FPF-ALLQHF_LEVERAGERATIO_* series: aggregate leverage is published per
gross-asset cohort (see below), while the GAVWMEAN/NAVWMEAN asset-weighted leverage means
exist only at the strategy level.
None required. The API is fully open and free.
Say how it was retrieved. End every answer with a short "How this was retrieved" line: the
endpoint URL with its parameters (e.g. /series/multifull?mnemonics=…&start_date=2015-01-01),
the dataset and its cadence (e.g. SEC Form PF, quarterly), that no API key or registration is
needed, and the retrieval date. In a paper, cite the OFR Hedge Fund Monitor, the dataset, the
mnemonic and the retrieval date of every series used.
| Key | Dataset | Update Frequency |
|---|---|---|
fpf | SEC Form PF — aggregated stats from qualifying hedge fund filings | Quarterly |
tff | CFTC Traders in Financial Futures — futures market positioning | Monthly |
scoos | FRB Senior Credit Officer Opinion Survey on Dealer Financing Terms | Quarterly |
ficc | FICC Sponsored Repo Service Volumes | Daily |
The
/series/datasetindex returnslong_name: "FormPF"for every dataset (an upstream API label quirk); the real source names are above. Confirm a series' true cadence viaschedule/observation_frequencyin its metadata.
The HFM organizes data into six categories (each downloadable as CSV):
| Endpoint | Path | Description |
|---|---|---|
| List mnemonics | GET /metadata/mnemonics | All series identifiers |
| Query series info | GET /metadata/query?mnemonic= | Full metadata for one series |
| Search series | GET /metadata/search?query= | Text search with wildcards (*, ?) |
| Endpoint | Path | Description |
|---|---|---|
| Single timeseries | GET /series/timeseries?mnemonic= | Date/value pairs for one series |
| Full single | GET /series/full?mnemonic= | Data + metadata for one series |
| Multi full | GET /series/multifull?mnemonics=A,B | Data + metadata for multiple series |
| Dataset | GET /series/dataset?dataset=fpf | All series in a dataset |
| Category CSV | GET /categories?category=leverage | CSV download for a category (returned HTTP 502 when checked on 2026-09-23; fall back to /series/multifull) |
| Spread | GET /calc/spread?x=MNE1&y=MNE2 | Difference between two series |
| Parameter | Description | Example |
|---|---|---|
start_date | Start date YYYY-MM-DD | 2020-01-01 |
end_date | End date YYYY-MM-DD | 2024-12-31 |
periodicity | Resample frequency | Q, M, A, D, W |
how | Aggregation method | last (default), first, mean, median, sum |
remove_nulls | Drop null values | true |
time_format | Date format | date (YYYY-MM-DD) or ms (epoch ms) |
Mnemonics follow the pattern FPF-{SCOPE}_{METRIC}_{STAT}:
ALLQHF (all qualifying hedge funds), or a strategy such as STRATEGY_CREDIT,
STRATEGY_EQUITY, STRATEGY_MACRO, STRATEGY_RV (relative value), STRATEGY_FUTURES, etc.
ALLQHF leverage/cash metrics carry a gross-asset cohort segment: GAVN10 (10 largest funds),
GAVN11TO50, GAVN51 (rest).GAV (gross assets), NAV (net assets), GNE (gross notional exposure),
LEVERAGERATIO, CASHRATIO, COUNT, plus stress-test scenarios (CDSUP250BPS, etc.)SUM, AVERAGE (equal-weighted, used for ALLQHF cohorts), GAVWMEAN/NAVWMEAN
(asset-weighted, strategy-level only), P5, P50, P95, PCTCHANGE# Verified series examples (all return data as of 2026)
mnemonics = [
"FPF-ALLQHF_GAVN10_LEVERAGERATIO_AVERAGE", # 10 largest funds: leverage (equal-weighted)
"FPF-STRATEGY_EQUITY_LEVERAGERATIO_GAVWMEAN", # Equity strategy: leverage (GAV-weighted)
"FPF-ALLQHF_GAV_SUM", # All funds: gross assets (total $)
"FPF-ALLQHF_NAV_SUM", # All funds: net assets (total $)
"FPF-ALLQHF_GNE_SUM", # All funds: gross notional exposure
"FICC-SPONSORED_REPO_VOL", # FICC: sponsored repo volume (daily)
]
Part of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)references/api-overview.md (opens in a new tab)references/datasets.md (opens in a new tab)references/endpoints-combined.md (opens in a new tab)references/endpoints-metadata.md (opens in a new tab)references/endpoints-series-data.md (opens in a new tab)references/examples.md (opens in a new tab)references/parameters.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
7 skills in this plugin
/alterlab-alpha-vantageRetrieves market and company data with no API key — daily OHLCV price history with splits and dividends (Yahoo Finance chart endpoint, unofficial), company fundamentals from SEC EDGAR XBRL (revenue, net income, EPS, shares), FX, crypto, commodity and macro series from FRED's public CSV — and computes technical indicators (SMA, EMA, RSI, MACD, Bollinger Bands) locally; an optional ALPHAVANTAGE_API_KEY adds the Alpha Vantage REST API (news sentiment, earnings transcripts, options, server-side indicators). Use when fetching stock prices (OHLCV), company fundamentals (income statement, EPS, P/E, market cap), forex rates, Bitcoin/crypto prices, oil/gas/gold prices, CPI or treasury yields for finance research, calculating technical indicators, building news-sentiment event studies, or when the Alpha Vantage API is named. Part of the AlterLab Academic Skills suite./alterlab-denarioRuns a Denario-style end-to-end research pipeline from a described dataset with no API key — Claude itself plays every agent (idea maker and idea critic, methodologist, analyst who writes and runs the analysis code locally, paper writer) and produces idea.md, methods.md, results with figures and a journal-formatted LaTeX paper (APS revtex or plain LaTeX; AAS/JHEP/ICML/NeurIPS/PASJ with the venue's style file). The optional denario package (AstroPilot-AI; AG2 + LangGraph + cmbagent) runs the same stages with its own LLM keys. Use when automating research from a dataset description to a paper, generating hypotheses from a dataset, developing methodology, executing analysis, turning methods and results into a journal manuscript, or driving Denario (get_idea/get_method/get_results/get_paper). Part of the AlterLab Academic Skills suite./alterlab-finance-economics:alterlab-hedgefund-monitorfrom alterlab-finance-economics
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-finance-economicsOther plugins' skills for the same job