TradingAgents/tradingagents/agents/utils
octo-patch 50902c3dc0 fix(news): align type hints with config-default semantics and add Alpha Vantage limit
Addresses gemini-code-assist review on #565:
- Type hints: int | None for nullable look_back_days/limit on get_global_news
  in alpha_vantage_news.py, yfinance_news.py, and news_data_tools.py.
  Adds explicit str type hint to curr_date in alpha_vantage_news.py.
- Config override: news_data_tools.get_global_news no longer hardcodes
  look_back_days=7 / limit=5; defaults to None so DEFAULT_CONFIG values
  flow through to the dataflow layer.
- Cross-vendor consistency: alpha_vantage_news.get_news now respects the
  news_article_limit config (parity with yfinance_news.get_news_yfinance).
- Fallback consistency: alpha_vantage_news.get_global_news fallback now
  matches DEFAULT_CONFIG (10) instead of the legacy 50.
2026-04-18 13:44:28 +08:00
..
agent_states.py refactor: remove stale imports, use configurable results path (#499) 2026-04-04 07:35:35 +00:00
agent_utils.py feat: multi-language output support for analyst reports and final decision (#472) 2026-03-29 19:19:01 +00:00
core_stock_tools.py minor fix 2025-09-26 23:25:33 +08:00
fundamental_data_tools.py minor fix 2025-09-26 23:25:33 +08:00
memory.py fix: process all chunk messages for tool call logging, harden memory score normalization (#534, #531) 2026-04-13 07:21:33 +00:00
news_data_tools.py fix(news): align type hints with config-default semantics and add Alpha Vantage limit 2026-04-18 13:44:28 +08:00
technical_indicators_tools.py fix: normalize indicator names to lowercase (#490) 2026-04-04 07:23:31 +00:00