TradingAgents/tradingagents/dataflows
octo-patch 09a9062ec9 fix: make news article limits and lookback window configurable (fixes #562)
Three parameters were hardcoded with no way to override via config:
- count=20 in yf.Ticker.get_news() inside get_news_yfinance
- look_back_days=7 default in get_global_news_yfinance
- limit=10 default in get_global_news_yfinance

Add three new keys to DEFAULT_CONFIG:
- news_article_limit (default 20): max articles per ticker for get_news
- global_news_lookback_days (default 7): lookback window for get_global_news
- global_news_article_limit (default 10): max global articles for get_global_news

Both yfinance and alpha_vantage news implementations now read these values
from config, allowing users running weekly/monthly strategies to increase
coverage without modifying library source code.
2026-04-18 09:23:30 +08:00
..
__init__.py WIP 2025-09-26 16:17:50 +08:00
alpha_vantage.py fix: improve data vendor implementations and tool signatures 2026-02-03 22:27:20 +00:00
alpha_vantage_common.py added fallbacks for tools 2025-10-03 22:40:09 -07:00
alpha_vantage_fundamentals.py fix: prevent look-ahead bias in backtesting data fetchers (#475) 2026-03-29 17:34:35 +00:00
alpha_vantage_indicator.py Improve Alpha Vantage indicator column parsing with robust mapping 2025-09-26 23:36:36 +08:00
alpha_vantage_news.py fix: make news article limits and lookback window configurable (fixes #562) 2026-04-18 09:23:30 +08:00
alpha_vantage_stock.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
config.py feat: add multi-provider LLM support with thinking configurations 2026-02-03 22:27:20 +00:00
interface.py refactor: clean up codebase and streamline documentation 2026-02-03 22:27:20 +00:00
stockstats_utils.py fix: prevent look-ahead bias in backtesting data fetchers (#475) 2026-03-29 17:34:35 +00:00
utils.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
y_finance.py fix: add missing pandas import in y_finance.py (#488) 2026-04-04 07:14:10 +00:00
yfinance_news.py fix: make news article limits and lookback window configurable (fixes #562) 2026-04-18 09:23:30 +08:00