> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# Yahoo Finance

Free market data for most listed symbols with no account or key, through yfinance.

## What you get

What it serves, down to each field it fills: [Yahoo Finance coverage](https://docs.taji.is/reference/coverage/yahoo.md). What it could serve: [Offered, not read](https://docs.taji.is/catalog/yahoo/architecture.md#offered-not-read).

## Behaviour and limits

Measured 2026-10-26 to 2026-11-07, each entry with its own date, on yfinance 1.7.0, the lock's pin until 2026-11-17: 1.8.0 reached PyPI on 2026-11-03 and was not measured. Against 1.7.0 its `history` rounds price columns only (not dividends, splits or capital gains) and repairs level shifts in non-forex bars; no figure here was re-measured on it.

Keyless, through yfinance on a confined CPython 3.15.2 worker: 1.8.0, pinned `yfinance==1.8.0` in `substrate/taji-python/requirements.lock` and never updated by Taji. No request carries a user's email or name. The source is on by default. `data.yahoo: false` turns it off, and the worker never starts.

### What Taji calls

Each read is a function of `plugins/yahoo/src/yahoo.py`; its classes are `READS` (`plugins/yahoo/src/source.rs`). Measured 2026-10-26 unless dated. Yahoo publishes no API, so no limit; the hub's gate admits 16 calls, but the worker runs one at a time per lane (2026-10-31).

Idle close, 2026-10-31 (yfinance's `curl_cffi` chrome session, GET, idle, GET, by local port): reused at 90 s, re-dialled from 120 s (libcurl's 118 s idle age). Not warmed: the session's curl handle is the calling Python thread's, so a warm on another thread holds a socket no read reuses, and one on the read's thread queues a read behind it.

Rank: last in every read (`hub/source.rs` `rank`), except `details` (last vendor, then `listings`), `search` (after `listings`), `fundamentals` after EDGAR, Massive and Robinhood, `quotes` and `chains` last linked. `economic` (class-less) takes Yahoo's rows, FRED valuing the headline ones; `provider=` pins one side alone.

Every read answers now: Yahoo dates only a bar's close, an ex-date and an earnings date.

### Bars

`history(auto_adjust=False, actions=False, rounding=True)`. `Close` is split-adjusted only: basis `split`, as Massive's `adjusted=true`; `Adj Close` is not read, and a `split-spinoff` or `raw` ask is refused. Today's daily bar has no `Close` until Yahoo settles it after the close. Yahoo streams prints, not bars: a keyless chart's bars are not streamed, its chip reads Not live, beside a quote that ticks.

A currency pair is `EURUSD=X` (`EUR=X` is USD per EUR and unspelled), volume 0 on every bar. Read through `hub::serve` over 2026-10-26's week and daily back to 2010 (`yahoo_forex_live.rs`, measured 2026-10-31): 1m 7,035 bars over 2026-10-26 to 30, 5m 1,410, 30m 235, D 4,381 from 2010-01-01, each asked at its own size.

1m reaches 30 days back, asked 7 days a request (`PIECE`; yfinance's own 1m window is 8 days, `scrapers/history.py:238`); 5m and 30m are asked native.

Native `5m` and `30m` do not equal the `1m` fold (SPY, 2026-10-29 and 30, regular and `prepost`, probed 2026-10-31): start-labelled, the same bars and equal OHLC, but 46 of 156 regular 5m bars differ in volume, 40 by under 1,000 shares (native lower) and 6 by millions, where one 1m minute reads tens of millions of shares (6 on those days); the fold totals 2.2 times the native. Served as given. They reach 60 days (61 refuses), one request; 30 days is 1 request of 0.1 s against 5 for 1m; yfinance builds 30m from 15m.

`60m` and `4h` (`4h` no yfinance word, Yahoo answers; reach `60m`'s 730 days; start-labelled; SPY, `ES=F`, `BTC-USD` 2026-10-29/30 measured 2026-11-01, AAPL, `^GSPC`, `EURUSD=X`, `ES=F` 2026-11-02 to 06 on 2026-11-07). Native: regular equity and index (09:30-15:30; 09:30, 13:30 ET), forex 1h on the UTC day, `ES=F` 1h on the Globex clock (zero-volume hours end its week), `BTC-USD`. Folded: `prepost` hours break at 09:30 (60m 04:00-09:00, 09:30-15:30, 16:00-19:00; 4h 04:00, 08:00, 09:30, 13:30, 16:00), the client refuses `prepost`; `ES=F` 4h counts from New York midnight, not Globex's 18:00; forex 4h, winter-probed only, on the exchange's clock, so Taji folds its 4h from 1h on the 17:00 New York day. No 24h session.

### Corporate actions

A dividend at its ex-date, a split as new shares per old, each knowable at the ex-date's end. Yahoo divides every dividend by each later split (AAPL's 2020-05-08 reads the declared amount divided by the later 4-for-1); `amount` is as given, flagged `split_restated: true`.

### Earnings

At most the 100 newest releases off Yahoo's calendar page, each at the page's rounded New York hour: `bmo` before 09:00, `amc` from 16:00. Yahoo divides EPS by every later split, rounded to cents; EPS is as given, flagged `split_restated`; no surprise is read. The next report's revenue estimate is `Ticker.calendar`'s `Revenue Average`; past rows carry none.

### Calendars

Without symbols: the earnings, splits and IPO calendars, unfiltered, one `YYYY-MM-DD` day a call (`end` the next day), a New York day (2026-10-27's first page: 100 in it, 94 in that UTC day); 100-row pages until a short one; a day still full after 20 is refused, not cut, as Yahoo orders a day by market cap. Only `Timing` BMO and AMC (not TNS or TAS) set `timing`. A split is `Old Share Worth` to `Share Worth` as given. An IPO's `Action` read `Expected` on 531 rows (2025-09 to 2026-10), no `Priced`, `Withdrawn`, `Filed`, `Amended` or `Postponed` 2015-2027; another word is null.

### Options and futures

An option's `history` runs from its first trade, 1m for 30 days, only the minutes that traded; its session ends 23:59, so a day's bar waits for midnight. An expired contract is empty. Yahoo lists no futures options (audit 2026-10-31). An option's chart serves 1m, 2m and 1d alone: a native 5m or 30m ask answers empty.

`statistics` is `openInterest` of a future or an option, stamped when fetched, no earlier day held. No settlement: ES=F's `previousClose` differs between `info` and `fast_info`. No `status`: `marketState` is an exchange's session, `Market("US").status` open or closed; `info` holds no halt key.

### News

`yf.Search(symbol, news_count=n).news`: `Ticker.news` answered 404 on 2026-10-27. A count of 50 draws no story, a smaller one three in four: Taji asks 25 at most. A story has no summary, body or author, is knowable when published; the latest answer whatever `from` and `to` ask.

### Quotes

One `v7/finance/quote` request quotes up to 500 symbols (503 asked, 502 answered in 0.2 s, 2026-12-03); `last` is its `regularMarketPrice`. AAPL's bid and ask read stale against Alpaca and Schwab. `bidSize`, `askSize` state no unit: sizes null. An option's quote is its `option_chain` row; `impliedVolatility` is a fraction.

The quote holds the forming day, `regularMarket{Open,DayHigh,DayLow,Price,Volume}` at `regularMarketTime`, yesterday's before the open; volume is the regular session's (SPY after hours reads the 1d bar's).

### Stream

yfinance 1.8.0 `live.py`: the async client resends the subscribed set every 15 s (`:23`, `:76-83`), the sync one never; a frame is a base64 protobuf `PricingData` (`:308-310`). Measured 2026-10-27 14:04-14:14 ET, no resubscribe.

No frame holds a bid or ask: prints only, equities too. Continuous futures (`ES=F`, `NQ=F`, `GC=F`, `CL=F`) and an option sent nothing; the dated `ESZ26.CME` did, so `@ES` streams the contract `ES=F` states, under `@ES` (`hub::contracts::traded`). A frame is not a print: 165 of AAPL's 583 repeat an earlier (`time`, `price`); `last_size` is absent on 183 (proto3 omits 0).

**Lag.** Against Alpaca's SIP, every Yahoo price equals an SIP print within 1.5 s. `time` is a median 0.35 s before SIP's; receipt a median 1.2 s after. AAPL's stream is real time though `exchangeDataDelayedBy` says 15; `ESZ26.CME` trailed 601-604 s, as its 10 says.

**Socket.** No drop in 10 minutes; no frame 10 s after `unsubscribe`; an unknown symbol drew none.

**Others on a delayed feed** (fetched 2026-10-27). One charting platform flags it, Robinhood says it "can" lag 15 minutes, Schwab's `/quotes` carries `realtime`, Massive names it by host, Databento lists none. Taji follows Schwab's per-tick boolean, derived since Yahoo states none: `delayed` is `time` over 60 s behind receipt, never `exchangeDataDelayedBy`.

### Search

`yf.Search`'s quotes, best first; one Taji cannot spell (`AAPL.TO`) is dropped.

### Fundamentals

Annual and quarterly periods, Yahoo's month ends (four years, five quarters), as the lines EDGAR's rows carry, signed as EDGAR's (a cost and capex negative). Yahoo states no liabilities-and-equity total nor a sign for `MinorityInterests`: neither is served. A balance or cash-flow key maps only where it was the face line on every one of AAPL, COST, NVDA, WMT and JPM's latest 10-Ks stating it (2026-10-28); off on one: `NetPPE` and the non-current totals (leases folded in), `OtherCurrentLiabilities`, `CurrentDeferredRevenue`, `IncomeTaxPayable`, `MinorityInterest`, the investment and debt flows, `RepurchaseOfCapitalStock`, `PurchaseOfBusiness`. Money in `info['financialCurrency']` (TM `jpy`), never converted; none stated, null. No filing date is stated: a row is known when fetched; no `ratios`.

### Instrument, screens and snapshots

`yf.screen` runs nine predefined equity queries (`SCANS`). No filter word maps.

`short_interest` is known 14 days after its settlement day, as Massive's. `analyst`'s `target_price` row per grade change is known the day after its grade date, as Massive's Benzinga rows; a target of 0 (a reiteration's) is no row.

Market-wide news: none (`yf.Market` states status and summary; `Search` no story for empty text).

### Economic

Measured 2026-10-27, POST `v1/finance/visualization`, `entityIdType: economic_event`, read by column id: yfinance's frame turns a stated 0 to NaN and renames an empty answer's columns. 679 rows, 68 countries; `country_code` filters on Yahoo's side. `consensus_estimate` is null throughout. History is thin, about one occurrence per name, the latest or next: a past headline release comes on FRED's date.

### Fields

- `dividend_yield` ← `dividendYield`: percent (a stock's `0.31` is 0.31 %), as Schwab's; `trailingAnnualDividendYield` is a fraction.
- `ex_dividend_date` ← `exDividendDate`: epoch seconds at midnight UTC.
- `next_earnings` ← `earningsTimestampStart`: the next window's start; a start already past is none.

An index's exchange `SNP` and a coin's `CCC` are none. Sector and industry are Yahoo's words, ranked ahead of `listings`'.

### Symbol spellings

A share class is a dash: `BRK.B` is `BRK-B`. An unknown symbol is a 404 inside yfinance, answered as a one-key dict; one with no `exchangeTimezoneName` is refused as `not_listed`.

## Open

- When `NQ=F` restates its contract (Databento's: after the expiring day).

## References

- Terms: https://legal.yahoo.com/us/en/yahoo/terms/otos/index.html
- How the integration works, for contributors: [ARCHITECTURE.md](https://docs.taji.is/catalog/yahoo/architecture.md)
