Alterlab Hedgefund Monitor logo

Alterlab Hedgefund Monitor

Organization
NVlabs
alterlab-hedgefund-monitor

Queries the OFR (Office of Financial Research) Hedge Fund Monitor API for time series on hedge fund size, leverage, counterparties, liquidity, complexity, and risk management, including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms (no API key or registration required). Use when working with hedge fund data, systemic risk monitoring, financial stability research, hedge fund leverage or leverage ratios, counterparty concentration, Form PF statistics, repo market data, or OFR financial research data. Part of the AlterLab Academic Skills suite.

Overview

PublisherNVlabs
RepositorySkill2Env
Skill namealterlab-hedgefund-monitor
Stars
189
Forks
18
Bundled files
8
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by NVlabs on GitHub. Read the source before you install it.

Installation

Install the Alterlab Hedgefund Monitor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-hedgefund-monitor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVlabs/Skill2Env.git /tmp/Skill2Env
mkdir -p .claude/skills
cp -r /tmp/Skill2Env/SkillHub/skills/alterlab-hedgefund-monitor .claude/skills/alterlab-hedgefund-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alterlab Hedgefund Monitor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alterlab Hedgefund Monitor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alterlab Hedgefund Monitor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OFR Hedge Fund Monitor API

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

Quick Start

python
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.

Authentication

None required. The API is fully open and free.

Datasets

KeyDatasetUpdate Frequency
fpfSEC Form PF — aggregated stats from qualifying hedge fund filingsQuarterly
tffCFTC Traders in Financial Futures — futures market positioningMonthly
scoosFRB Senior Credit Officer Opinion Survey on Dealer Financing TermsQuarterly
ficcFICC Sponsored Repo Service VolumesDaily

The /series/dataset index returns long_name: "FormPF" for every dataset (an upstream API label quirk); the real source names are above. Confirm a series' true cadence via schedule/observation_frequency in its metadata.

Data Categories

The HFM organizes data into six categories (each downloadable as CSV):

  • size — Hedge fund industry size (AUM, count of funds, net/gross assets)
  • leverage — Leverage ratios, borrowing, gross notional exposure
  • counterparties — Counterparty concentration, prime broker lending
  • liquidity — Financing maturity, investor redemption terms, portfolio liquidity
  • complexity — Open positions, strategy distribution, asset class exposure
  • risk_management — Stress test results (CDS, equity, rates, FX scenarios)

Core Endpoints

Metadata

EndpointPathDescription
List mnemonicsGET /metadata/mnemonicsAll series identifiers
Query series infoGET /metadata/query?mnemonic=Full metadata for one series
Search seriesGET /metadata/search?query=Text search with wildcards (*, ?)

Series Data

EndpointPathDescription
Single timeseriesGET /series/timeseries?mnemonic=Date/value pairs for one series
Full singleGET /series/full?mnemonic=Data + metadata for one series
Multi fullGET /series/multifull?mnemonics=A,BData + metadata for multiple series
DatasetGET /series/dataset?dataset=fpfAll series in a dataset
Category CSVGET /categories?category=leverageCSV download for a category
SpreadGET /calc/spread?x=MNE1&y=MNE2Difference between two series

Common Parameters

ParameterDescriptionExample
start_dateStart date YYYY-MM-DD2020-01-01
end_dateEnd date YYYY-MM-DD2024-12-31
periodicityResample frequencyQ, M, A, D, W
howAggregation methodlast (default), first, mean, median, sum
remove_nullsDrop null valuestrue
time_formatDate formatdate (YYYY-MM-DD) or ms (epoch ms)

Key FPF Mnemonic Patterns

Mnemonics follow the pattern FPF-{SCOPE}_{METRIC}_{STAT}:

  • Scope: 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).
  • Metrics: GAV (gross assets), NAV (net assets), GNE (gross notional exposure), LEVERAGERATIO, CASHRATIO, COUNT, plus stress-test scenarios (CDSUP250BPS, etc.)
  • Stats: SUM, AVERAGE (equal-weighted, used for ALLQHF cohorts), GAVWMEAN/NAVWMEAN (asset-weighted, strategy-level only), P5, P50, P95, PCTCHANGE
python
# 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)
]

Reference Files

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Alterlab Hedgefund Monitor AI skill do?

Queries the OFR (Office of Financial Research) Hedge Fund Monitor API for time series on hedge fund size, leverage, counterparties, liquidity, complexity, and risk management, including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms (no API key or registration required). Use when working with hedge fund data, systemic risk monitoring, financial stability research, hedge fund leverage or leverage ratios, counterparty concentration, Form PF statistics, repo market data, or OFR financial research data. Par...

Why use Alterlab Hedgefund Monitor on TypingMind?

Because you install it once and use it with any model. Alterlab Hedgefund Monitor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alterlab Hedgefund Monitor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-hedgefund-monitor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Alterlab Hedgefund Monitor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alterlab Hedgefund Monitor?

As many as you like. As long as a model supports skills, you can use Alterlab Hedgefund Monitor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alterlab Hedgefund Monitor AI skill free?

Yes. It is published on GitHub by NVlabs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇