yahoo_finance 0.4.1 copy "yahoo_finance: ^0.4.1" to clipboard
yahoo_finance: ^0.4.1 copied to clipboard

A Yahoo Finance client for Flutter — the Dart equivalent of Python's yfinance. Quotes, history, financials, holders, estimates, ESG, search, funds, calendars.

0.4.1 #

  • Declare the supported platforms (android, ios, linux, macos, windows) in pubspec.yaml. pub.dev inferred platforms from the dependency graph, and because cronet_http (an Android-only plugin) is imported unconditionally by the transport layer, it showed the package as Android-only. The declaration makes pub.dev trust the package's own list. Web stays unsupported (CORS + Yahoo blocks it).

0.4.0 #

  • Sector / Industry — domain lookups that mirror yfinance.Sector and yfinance.Industry: overview stats, top companies, ETFs, mutual funds, sector → industry lists, and analyst research reports
  • Market — market open/close status (status(), null for non-US regions since Yahoo always returns US data) and regional index summary (summary()), mirroring yfinance.Market
  • Lookup — ISIN → ticker search (ticker(), all(), news()), mirroring yfinance.Lookup
  • New demo tiles in example/ for all of the above; the earnings dates tile now shows the ticker in its title. The funds-data tile shows one clean "not a fund" message instead of a doubled error, and the sustainability tile was removed (Yahoo's esgScores module returns 404 for every symbol — the API method is unchanged, it still mirrors yfinance and returns null scores).

0.3.0 #

  • Ticker.secFilings — SEC filings (10-K, 8-K, …) with EDGAR links
  • Ticker.sharesFull — daily shares-outstanding history (yfinance's get_shares_full)
  • Ticker.valuationMeasures — market cap, P/E, P/B, EV/EBITDA, … over time, with trailing "Current" values (yfinance's valuation_measures)
  • Ticker.fundsData — ETF/mutual-fund overview, operations, asset classes, sector weightings, top/equity/bond holdings
  • Ticker.earningsDates — earnings dates with EPS estimate/actual. Scrapes Yahoo's HTML earnings calendar (the JSON endpoint was deprecated by Yahoo mid-2025); fragile by nature, same as yfinance. Adds the html dependency
  • Ticker.isin — ticker → ISIN lookup via markets.businessinsider.com (experimental, like yfinance; third-party non-Yahoo endpoint)
  • Tickers — multi-symbol batching: one /v7/finance/quote call for many symbols (Tickers.parse('aapl msft').quotes())
  • New demo tiles in example/ for all of the above

0.2.0 #

  • Ticker holders & insiders (yfinance parity): majorHolders, institutionalHolders, mutualFundHolders, insiderTransactions, insiderRosterHolders, insiderPurchases
  • Ticker analyst estimates & ESG: earningsEstimate, revenueEstimate, epsTrend, epsRevisions, growthEstimates, earningsHistory, analystPriceTargets, sustainability
  • Search: symbol and news lookup (/v1/finance/search), the equivalent of yfinance.Search
  • New demo tiles in example/: holders & insiders, analyst estimates, sustainability, search

0.1.2 #

  • Shortened the pubspec description to fit pub.dev's 60–180 character convention

0.1.1 #

  • Updated dependencies: cupertino_http 3.0.2 (major), cronet_http 1.9.0, http 1.6.0

0.1.0 #

Initial release.

  • Ticker: quote, info, fastInfo, history, historyMetadata, actions (dividends/splits/capital gains), incomeStatement/balanceSheet/cashFlow (annual/quarterly/TTM), options/optionChain, news, calendar, recommendations, upgradesDowngrades
  • Calendars: market-wide earnings, IPO, economic-event and split calendars
  • YahooHttpClient: cookie + crumb session management with retry and rotation; browser TLS impersonation via URLSession (iOS/macOS) and Cronet (Android), dart:io fallback elsewhere
1
likes
160
points
253
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Yahoo Finance client for Flutter — the Dart equivalent of Python's yfinance. Quotes, history, financials, holders, estimates, ESG, search, funds, calendars.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cronet_http, cupertino_http, flutter, html, http, meta

More

Packages that depend on yahoo_finance