Find the identifier before you fetch it, and know which free sources can actually search. TRIGGER - "what is the FRED series id for X", "which ticker is this company", "find the CIK for", searching for a series, ticker, symbol, contract, crypto pair or filing by name or phrase; fred/series/search, company_tickers.json, EDGAR full-text search, efts.sec.gov; a guessed identifier returning an empty frame; retrieving filings by form and date range; when a document became PUBLIC versus when it was filed; earnings-call transcript timestamps. Load BEFORE guessing an identifier - three of the four free searches are current snapshots and cannot answer as of a past date. SKIP for resolving or dating an identifier you already hold (security-master-and-symbology), for choosing a price vendor (market-data-sourcing), for the point-in-time join once the data is yours (fundamental-and-macro-data), for auditing a finished result (research-integrity-guards), and for crypto venue mechanics (crypto-data-and-execution).
Trending skills
7-day visitors to each skill page
Ships in fin-market-data. 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; scripts run unread.
Every data client in this ecosystem fetches given an identifier. yf.download("AAPL"),
fred.get_series("DGS10"), Company("0000320193") — each needs the string already in hand.
fin_skills.data's Adapter protocol is the same shape: bars / fundamentals / macro / actions / universe, and none of them takes a name.
So the first question of any real task is what is the identifier, and the failure mode is
specific: a wrong identifier does not raise. DGS10 exists and DGS10YR does not, ES=F
works on Yahoo and ES does not, and the wrong one comes back as an empty frame that is
indistinguishable from "no data" the moment it lands in a file. Guessing is worse than stopping.
✅ Verified 2026-09-10 against each vendor's documentation or a live call. scripts/find_data_source.py
carries this table as data, plus where_to_search(need).
| Source | Free text is matched against | Returns | As of a past date? |
|---|---|---|---|
api.stlouisfed.org/fred/series/search | series title, units, frequency, tags — stemmed | series id | ✅ realtime_start/realtime_end |
sec.gov/files/company_tickers.json | ticker and company title, locally after one download | ticker, CIK | 🚨 NO — no date field exists |
efts.sec.gov/LATEST/search-index | the full text of filings and their exhibits, 2001+ | accession, CIK | ⚠️ on file_date only |
ccxt load_markets() | unified symbol, base, quote, venue market id | market symbol | 🚨 NO — today's listing |
Three of the four cannot answer a historical question at all. Anything they return is a
current snapshot however you label it — the same survivorship axis market-data-sourcing covers
for prices, applied to discovery. fin_skills.discovery.search() records that as a warning naming
the source rather than letting the label pass.
Nothing free searches these, and saying so is the honest answer: a delisted company by name, a futures contract code, the ticker an identifier carried in the past, or a security master keyed on dates. Those are paid (FIGI/OpenFIGI covers part of it, CRSP and Bloomberg the rest).
🚨 search_type defaults to full_text, documented as matching "series attributes title, units,
frequency, and tags by parsing words into stems". The series id is not in that list. Searching
DGS10 in the default mode can miss the series named DGS10. Pass search_type="series_id" for
substring matching with * wildcards. ✅ limit defaults to 1000 and is capped at 1000;
order_by defaults to search_rank; realtime_start/realtime_end default to today, so the
default answer is which series exist now (fred/series/search docs, read 2026-09-10).
⚠️ The key is required, and FRED's own API-key page says all users of an application shall use their own. No library may ship or proxy one. The rate limit has no single published shape — the v1 errors page says 120 requests/minute, the v2 page says 2/second — so pace at 2/s, which satisfies both.
✅ 10 requests per second, regardless of the number of machines used (sec.gov Internet Security
Policy), with a ten-minute block after a breach. Parallelism buys nothing. A declared User-Agent
is required on both endpoints or every request 403s; the SEC checks the header for presence, not
content, so a fake browser UA is a policy violation, not a workaround.
🚨 A full-text hit is a DOCUMENT, not a filing. ✅ Measured 2026-09-10: q="supply chain finance"&forms=10-K returns 707 hits, and the top one is
0001739566-24-000054:a20231110utzinsidertrading.htm — Utz Brands' EX-19 insider-trading
policy, an exhibit attached to a 10-K. Its form is still 10-K. Filtering on form alone
counts exhibit text as 10-K text; read file_type. The hit id is <accession>:<document>, so two
hits can be one filing.
🚨 A full-text hit carries file_date and no acceptanceDateTime at all. It is therefore not
point-in-time as returned — see §3.
✅ Read in ccxt's own source (python/ccxt/base/exchange.py, master at __version__ = '4.5.78',
2026-09-10): load_markets(reload=False) returns self.markets with no request when they are
already loaded; otherwise it calls fetch_currencies() and fetch_markets() — up to two calls
through the instance's leaky bucket. Hold one instance per venue; a fresh ccxt.binance() per call
resets the bucket and is how accounts get banned (crypto-data-and-execution owns the rest).
✅ MarketInterface (python/ccxt/base/types.py, same read) carries 42 fields, including ones a
2024-era memory does not have: subType, index, stock, prediction, quanto, created,
marginModes, outcomes. 🚨 A delisted pair is absent from the map, not flagged
active: False, so a pair list built from it is survivorship-biased.
from fin_skills.discovery import SearchQuery, search, describe
print(describe()) # every source: what it searches, and what it cannot
report = search(SearchQuery("10-year treasury constant maturity", asset_class="macro"))
print(report.summary()) # results, plus every source that could NOT run and why
search() never raises because a backend is unavailable. A missing key, a missing library and
a refused socket all land in report.skipped with the reason, so the same call works with every
backend absent and the report says so instead of looking empty. Transport is injected
(transport=(url, headers) -> bytes), which is how the whole layer is tested offline.
A key is read from the environment variable its capability names, at the moment of the call. No URL carrying one is stored, returned, or put in a message.
| Field | What it is | What it costs you |
|---|---|---|
period / reportDate | the period the document covers | it does not exist yet — a 30-90 day look-ahead |
filingDate | the date the SEC stamps, by its own cutoff rules | wrong in both directions |
acceptanceDateTime | the wall-clock instant it became public | the truth — the only instant of the three |
✅ Measured 2026-09-10 over 32,686 filings from 80 randomly chosen CIKs (seed 0) in
company_tickers.json, via data.sec.gov/submissions/:
filingDate. Treat
filingDate as "knowable at that day's close" and more than half your document set is a
same-day look-ahead.filingDate outright.period_end -> filingDate is a median of 43 days
(10-K 73, 10-Q 40), p90 79, max 523.✅ Both directions, on Apple's own filings (verbatim in scripts/find_data_source.py):
| Accession | Accepted (ET) | filingDate | Tradeable |
|---|---|---|---|
0000320193-25-000077 (8-K) | 2025-10-30 16:30:35 | 2025-10-30 | 2025-10-31 |
0000320193-24-000081 (10-Q) | 2024-08-01 18:03:34 | 2024-08-02 | 2024-08-02 |
One field, two opposite errors: the 8-K is stamped a day too early, the 10-Q a day too late. ✅ Over
Apple's 1,000 most recent filings, 896 (89.6%) were accepted at or after 16:00 ET and 844 of
those carry that same day as filingDate.
⚠️ The two SEC APIs disagree about the timezone of that stamp — the Submissions API's
acceptanceDateTime is UTC, the Financial Statement Data Sets' sub.txt.accepted is Eastern
(research-integrity-guards measured it). Declare the source zone; never assume it.
The rule: convert acceptance to exchange-local; at or after the 16:00 close, the earliest tradeable bar is the next session's open. That derived column is the only one a backtest may join on.
from fin_skills.discovery import EdgarDocuments
edgar = EdgarDocuments(identity="Your Name [email protected]")
docs = edgar.filings(320193, forms=["10-Q", "10-K"], start="2024-01-01")
docs.get("0000320193-25-000077", as_of="2025-10-30") # LookAheadError: not public yet
docs.get("0000320193-25-000077", as_of="2025-10-31") # fine
A full-text hit is provisional — no acceptance stamp exists in the response — so get() on one
raises until edgar.enrich(hits) fetches the acceptance instants, or you pass
allow_provisional=True and record that you accepted filed_at as a proxy.
There is no free, licensable, point-in-time transcript source, so this library ships no backend for one. That is not the interesting part. The interesting part is what every vendor's schema does:
the date field on a transcript is almost always the date of the CALL, not the date the
transcript was published. Publication lags by hours for an automated feed and by days for a
human-reviewed one. An NLP feature computed from the text and stamped on the vendor's date is a
same-day look-ahead: it trades the sentiment of a call using words that did not exist until
after the close, and often not until the following session.
The audio is public at the moment of the call. The text is not. Until you have a publication
timestamp from your vendor, treat a transcript's availability as unknown, which in this library
means the feature cannot be used point-in-time at all. The measurement to run on your own vendor is
the same shape as §3: take their date, find the publication timestamp, report the distribution of
the gap. fin_skills.discovery.documents.TRANSCRIPTS carries this text, and
EdgarDocuments.transcripts() raises it rather than returning a stub.
where_to_search(need) returns () for the needs
nothing free serves, and () is a real answer.security-master-and-symbology to find out whether it meant the
same thing on your backtest dates.scripts/find_data_source.py — the source table with every cannot, the need-to-source routing
(including the needs that route nowhere), and document_dates() / lookahead_summary() over
Apple's real filing metadata. Offline, no writes.The FRED endpoint's parameters come from its documentation page, not from a live call — no API
key was available, so the response shape is unexercised against the server. The ccxt claims come
from reading the library's source on GitHub, not from running it. The 10,000-hit saturation of
EDGAR full-text search is inferred from the hits.total.value ceiling observed on broad queries,
not from SEC documentation. Whether any transcript vendor exposes a publication timestamp at all is
unverified — every claim in §4 about vendor date fields is ⚠️ secondhand and is exactly the thing
to measure on your own feed before trusting it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/choosing-a-data-vendorDecide whether a data source may legally and factually serve a research question, before any fetch code is written. TRIGGER - need delisted, survivorship-free or point-in-time data and are choosing where to get it; may I store, cache, redistribute or publish what I fetched; is the free tier enough and what does a key cost; comparing vendor terms, licences, rate limits or paid tiers; "there are no delisted names on the free tier"; picking between yfinance, Tiingo, Alpha Vantage, stooq, EODHD, Norgate, CRSP or Polygon. Automated by `python -m fin_skills.data advise`. SKIP once the source is chosen and the question is how to CALL it - adjustment, timezone, calendar and off-by-one traps (market-data-sourcing); storing, partitioning or as-of joining data you already hold (market-data-engineering); EDGAR, XBRL and macro vintages (fundamental-and-macro-data); A-share sources and 退市 lists (china-ashare-data); exchange OHLCV and venue limits (crypto-data-and-execution)./corporate-actions-processingTRIGGER - spin-off, spinoff, rights issue, TERP, merger, exchange ratio, reverse split, cash in lieu, ticker change, symbol recycling, special dividend, parent price dropped on ex-date, 分拆, 配股, 并购. Reconcile event cash and share entitlements with position returns. SKIP for ordinary split/dividend price-adjustment detection (market-data-sourcing), stale prices and OHLC validation (data-quality-validation), calendars (trading-calendars-and-sessions), and survivorship-free universes (research-integrity-guards)./data-quality-validationTRIGGER - stale closes, zero volume, missing trading sessions, duplicate timestamps, negative prices, invalid OHLC, outlier returns, validate downloaded bars, 数据质量, 缺失行情. Validate a daily OHLCV panel and report defects without filling, clipping or deleting data. SKIP for selecting a vendor or detecting price-adjustment convention (market-data-sourcing), session schedules (trading-calendars-and-sessions), corporate event accounting (corporate-actions-processing), and storage/as-of joins (market-data-engineering)./fundamental-and-macro-dataCompany fundamentals and macro series with correct point-in-time semantics. TRIGGER - 10-K, 10-Q, 8-K, 13F, Forms 3/4/5, filings, EDGAR, XBRL, accession number, CIK, "which CIK is this ticker", ticker-to-CIK mapping, edgartools; parsing an income statement or balance sheet out of a filing; revenue, EPS or balance-sheet history as it was known on a past date; restatements; earnings dates; or CPI, GDP, payrolls, unemployment, interest rates, FRED, ALFRED, data vintages and revisions. Load before joining ANY fundamental or macro series to prices: the obvious join is a look-ahead bug, and the SEC frames API cannot be made point-in-time. SKIP for price and OHLCV vendors (market-data-sourcing) and Chinese filings (china-ashare-data)./market-data-engineeringStore, join and parallelize market data you already hold, without corrupting it. TRIGGER - as-of join, merge_asof, join_asof, ASOF JOIN, "join quotes to trades", aligning signals to prices; reading or writing Parquet, Feather, HDF5 or CSV of market data; choosing between pandas, polars, DuckDB, pyarrow, dask or ray; a time-series store such as ArcticDB, QuestDB, ClickHouse, TimescaleDB or kdb; storing years of minute bars for thousands of tickers; a dataset too big for memory; partitioning; timestamps or timezones coming back wrong; float precision on prices or volume; "different numbers when I parallelise". SKIP for choosing a data VENDOR (market-data-sourcing) - this skill starts once the bytes are yours./market-data-sourcingChoose a market price or reference data vendor and use it without silently corrupting the numbers. TRIGGER - download, fetch, pull or load OHLCV, prices, quotes, bars or a ticker universe; compare vendors on cost, coverage or free-tier limits; need delisted US or global tickers, or a survivorship-free universe; two sources disagree; hitting 429 or rate limits; "KeyError: Adj Close"; split and dividend adjustment; trading calendars and holidays. Covers yfinance, yahooquery, defeatbeta, EODHD, Tiingo, Twelve Data, Finnhub, Alpha Vantage, Polygon/Massive, Databento, openbb, findatapy, financetoolkit, exchange_calendars, and alternative data. Also covers 美股 and global 行情数据 requests. SKIP for historical option chains (options-backtesting), Asian calendars and lot sizes (asia-pacific-markets), storing, partitioning or as-of joining data you already hold (market-data-engineering); for EDGAR filings, XBRL, CIK and macro vintages (fundamental-and-macro-data); and for A-share, 沪深 or 退市 queries (china-ashare-data)./fin-market-data:finding-and-searching-datafrom fin-market-data
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin fin-market-data