Choose 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).
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.
Pick the source from the constraint that actually binds — usually survivorship coverage or licence, not price or convenience. Then read that library's reference file before writing code; every one of them has a default that is wrong for research.
| Your binding constraint | Use | Why |
|---|---|---|
| Free, exploratory, US/global equities | yfinance | Best-maintained (1.7.0, 2026-08-26), broadest coverage, no key |
| Free but 429s keep killing me | defeatbeta-api, or yfinance-cache | defeatbeta serves a HuggingFace parquet snapshot via DuckDB — no scraping, no rate limit; refreshed ~weekly |
| Survivorship-free universe on a budget | EODHD (~$20–100/mo) | get_list_of_tickers(code, delisted=1). The only cheap genuinely bias-free equity universe |
| Institutional survivorship-free | CRSP (via wrds), Norgate, Polygon | |
| Vendor-cleaned EOD, quality reputation | Tiingo | 30+ yrs on free tier — but ToS is internal use only, no sharing or display |
| One code path across many vendors | openbb | 🚨 AGPL-3.0 since 2024-05-14. Network copyleft |
| Free tick-level FX | findatapy (DukasCopy backend) | Nothing else in the free tier offers tick data |
| Point-in-time macro | findatapy (ALFRED) or fredapi | → fundamental-and-macro-data |
| Tick/full-depth US equities & futures | databento | Actively released (2026-09-01); pay-per-use |
| Options chains, aggregates, delisted | polygon-api-client | 🚨 Polygon.io has rebranded to Massive.com — polygon.io/pricing 301-redirects to massive.com/pricing, and the client has had no PyPI release since 2025-10-30 (the announcement date). Update links and expect the package name to move |
| Symbol/metadata universe, no key | financedatabase | 300k+ symbols offline — 🚨 but a today snapshot |
| Long-history financial statements | financetoolkit (enforce_source="YahooFinance" = free, keyless) | ~150 ratios computed transparently |
| Korea / Japan / HK / Vietnam free | FinanceDataReader | Only free source with an explicit KRX-DELISTING list |
| China A-share | → fin-china plugin | Entirely different traps |
| Crypto | → fin-crypto plugin |
Do not use: investpy (dead 2022, Investing.com blocks it), investiny (dead the day it was
released), yahoo_fin (broken by Yahoo's crumb auth), thepassiveinvestor (archived), the PyPI
marketstack package (1★, LGPL, 2022 — call the REST API with requests instead),
alpaca-trade-api (→ alpaca-py).
Yahoo-derived sources have no delisted securities. yfinance's own error class is
YFTickerMissingError with a "possibly delisted; " prefix — the library guesses, because Yahoo
won't say. This applies to yfinance, yahooquery, stockdex, defeatbeta-api, financedatabase,
financetoolkit(free) and Alpha Vantage alike. Do not build a backtest universe from any of them.
Full coverage table: research-integrity-guards §1.
🚨 And the adjusted series itself is not stable. Yahoo-style adjusted prices are anchored at the
present (Adj Close == Close on the latest date), so every new dividend or split rewrites the
whole history. Snapshot and hash what you actually used; see
../research-integrity-guards/references/adjustment-conventions.md.
| Call | Default | Result |
|---|---|---|
yf.download() | auto_adjust=True (since 1.0) | Adjusted, and no Adj Close column |
yf.Ticker().history() | auto_adjust=True (since 0.1.26) | Adjusted |
yahooquery .history() | adj_ohlc=False | 🚨 Unadjusted — the opposite of yfinance |
tiingo .get_dataframe([list]) | metric_name='adjClose' | Adjusted close only, no OHLC |
| Alpha Vantage free | unadjusted (adjusted endpoint is premium) | 🚨 Split-corrupted |
Reconciling yfinance against yahooquery without setting these explicitly produces silent mismatches around every split. Always pass the adjustment argument explicitly, even when the default is what you want — it documents intent and survives the next default flip.
yf.download(end=...) is EXCLUSIVE. end='2023-01-01' gives you a last bar of 2022-12-31.ignore_tz explicitly.multi_level_index=True is the default, so even a single ticker returns a MultiIndex frame.
Pass multi_level_index=False for a flat one.yfinance is Apache-2.0, but its README says Yahoo's API is "intended for personal use only" and
that your rights to the data are governed by Yahoo's ToS. The same split applies to every scraper.
Tiingo's terms are stricter still: "you may only use the data for your own personal use and you may
not display or share the data with another person or organization."
🚨 AGPL-3.0 in this domain: openbb, dbnomics. GPL: edgar-crawler. If the work will be
served over a network, these are blockers.
| Service | Free limit | Confidence |
|---|---|---|
| Yahoo (yfinance et al.) | Undocumented; 429 → YFRateLimitError. No published limit — treat any "N/hour is safe" claim as folklore | ✅ |
| Alpha Vantage | 25 requests/DAY (was 500) — effectively a demo | ✅ |
| EODHD | 20 calls/day, 1 year of history, no delisted (delisted is paid-only) | ✅ |
| Marketstack | 100 requests/MONTH, 1yr, EOD only | ✅ |
| Tiingo | 50/hr, 1,000/day, 500 unique symbols/month, 1 GB/mo | ⚠️ |
| Twelve Data | 8 credits/min, 800 credits/day, 3 exchanges. Credits ≠ requests | ⚠️ |
| FMP (via financetoolkit) | 250/day, 5 years only, US only | ⚠️ |
| Finnhub | 30 calls/second global cap; 429 on exceed. Per-minute free limit not verifiable — the widely repeated "60/min" is unconfirmed | ✅ / ❓ |
import yfinance as yf
df = yf.download(
["AAPL", "MSFT"],
start="2020-01-01", end="2024-01-01", # end is EXCLUSIVE
interval="1d",
auto_adjust=True, # explicit: the default flipped in 0.2.51 and again at 1.0
group_by="column",
multi_level_index=False, # flat columns even for one ticker
progress=False, # never print in a pipeline
threads=True,
)
# NOTE: with auto_adjust=True there is NO 'Adj Close' column — OHLC are already adjusted.
# NOTE: this universe has NO delisted names. Do not backtest a screen on it.
exchange_calendars (4.13.2, Apache-2.0, genuinely well maintained) or
pandas_market_calendars (5.4.0). Never hand-roll a business-day calendar — half-days and holiday
drift will break your alignment. But it has verified defects — see below.🚨 exchange_calendars' default date bounds are a MOVING TARGET, and this breaks reproducibility.
✅ Verified: GLOBAL_DEFAULT_START / _END are computed from pd.Timestamp.now() at import as
today − 20 years and today + 1 year. Running on 2026-09-04, get_calendar("XTKS") returns
first_session=2006-09-04, last_session=2027-09-03. The same code returns a different calendar
tomorrow. → Always pass explicit start= and end=.
🚨 There is no XNSE. ✅ Verified: "XNSE" in get_calendar_names() → False. India is
XBOM (BSE) only — used as a silent proxy for NSE, which carries most Indian volume. (XBSE is
Bucharest, not Bombay.) Other verified gaps: Korean CSAT late-open dates stop at 2021-11-18 even on
master, so XKRX.session_open("2024-11-14") wrongly returns 09:00; XSES models no lunch break
ever despite SGX having one until 2011; and XBOM has zero sessions in 2027 because Indian
holidays are hand-maintained annually. Detail: ../../../fin-asia/skills/asia-pacific-markets/SKILL.md.
research-integrity-guards §1 and fundamental-and-macro-data.One file per library in references/, each with: exact pip name, version + release date, licence,
maintenance verdict, coverage, free-tier limits, traps, and a minimal snippet.
Grep them rather than guessing:
grep -ril "delisted" plugins/fin-core/skills/market-data-sourcing/references/
grep -i -A6 "TRAP" plugins/fin-core/skills/market-data-sourcing/references/yfinance.md
Start from references/_decision-table.md for the full side-by-side comparison.
The optional fin-libraries plugin carries a dedicated skill for each library below. Load one
only after this skill has told you which library you want:
lib-yfinance — yfinanceDaily-reset leverage, NAV against price, distributions that print as phantom drops, and a
holdings file used as a look-ahead universe - ../etf-mechanics/SKILL.md.
references/_decision-table.md (opens in a new tab)references/alternative-data.md (opens in a new tab)references/databento.md (opens in a new tab)references/defeatbeta.md (opens in a new tab)references/eodhd.md (opens in a new tab)references/exchange-calendars.md (opens in a new tab)references/financetoolkit.md (opens in a new tab)references/findatapy.md (opens in a new tab)references/openbb.md (opens in a new tab)references/tiingo-twelvedata-finnhub.md (opens in a new tab)references/yfinance.md (opens in a new tab)scripts/adjustment_check.py (opens in a new tab)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)./finding-and-searching-dataFind 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)./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./fin-market-data:market-data-sourcingfrom fin-market-data
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin fin-market-data