🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Bloomberg Api Hardened

by @snazar-faberlens

Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financia...

πŸ’‘ Examples

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-ALLQHF_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"])

View on ClawHub
TERMINAL
clawhub install bloomberg-api-hardened

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’