8 Commits
Author SHA1 Message Date
Yijia-Xiao da6b35f22f fix(dataflows): withhold insider trades with no filing date from a past run
- Yahoo and Alpha Vantage date a trade by when it happened, not by its Form 4 filing, so a run dated in the past is told they are withheld instead of served trades that may not yet have been public
2026-09-29 05:57:18 +00:00
Yijia-Xiao 2486470495 fix(yahoo): read Yahoo's answer that a window has no prices as no data
- a chart with no prices, or Yahoo saying the data does not exist, is an empty answer; yfinance's same error for an error status or a service failure, and a missing time zone, stay unavailable
2026-09-29 05:57:18 +00:00
Yijia-Xiao ad39133569 refactor(yahoo): keep what every Yahoo request shares in yahoo.common
- yf_retry, raise_for_empty and YAHOO_HOST move from yahoo.ohlcv, which the news, fundamentals and market modules imported them from
2026-09-29 05:57:18 +00:00
Yijia-Xiao 1bf67e35b6 fix(yahoo): report the failed requests yfinance would answer as empty
- yfinance raises its failures instead of answering them with an empty result, so a statement request that timed out is unavailable, not "no data"
- Yahoo answering that it has no such symbol (HTTP 404) stays an answer: no data
2026-09-29 05:57:18 +00:00
Yijia-Xiao 466d33ab3b fix(agents): answer a snapshot with no price rows as no data instead of ending the run
- build_verified_market_snapshot raises NoMarketDataError for an unknown symbol or no row by the date
- get_verified_market_snapshot returns the router's no-data answer, shared as router.no_data_available
2026-09-29 05:57:18 +00:00
Yijia-Xiao 00924bb203 refactor(dataflows): name the unavailable-vendor error for what it covers
- VendorRateLimitError is VendorUnavailableError: a vendor that throttled or failed the request
2026-09-29 05:57:18 +00:00
Yijia-Xiao 389ff46507 fix(yahoo): report a Yahoo request that failed as unavailable, not as no data
- yf_retry raises any failed request as unavailable: an unknown symbol comes back empty, so an exception is a failed request whether or not Yahoo's host answers a probe
- fundamentals, statements, insider transactions, the company profile, news and closes no longer turn a failed request into "no data"
2026-09-29 05:57:17 +00:00
Chaoqi 6ac7c6f017 fix(dataflows): report a Yahoo rate limit as a rate limit (#1387) 2026-09-24 11:45:39 -07:00