fix: name no date after the run in what a historical run reads

- coverage and withholding notices named where a vendor's coverage starts or today's date
- the instrument context named today's date in every analyst prompt
This commit is contained in:
Yijia-Xiao
2026-09-24 04:31:05 +00:00
parent f142e79660
commit a58aa613fc
6 changed files with 33 additions and 9 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ def test_ticker_news_window_before_feed_coverage_is_unavailable(monkeypatch):
out = ynews.get_news_yfinance("AAPL", "2026-08-07", "2026-08-14")
assert "RECENT" not in out
assert "unavailable" in out and "not an absence" in out
assert "2026-09-10" in out # says how far back the feed actually reaches
assert "2026-09-10" not in out # an article after the window
@pytest.mark.unit