TradingAgents/tradingagents/dataflows
Claude Lab e87ba8f29d refactor: address code review feedback on look-ahead bias fix
- Extract repeated fiscal-date filtering into _filter_reports_by_date()
  helper in alpha_vantage_fundamentals.py (was duplicated 3×)
- Fix return type annotations: get_balance_sheet/get_cashflow/
  get_income_statement now declare Union[dict, str] instead of str,
  matching the actual return value from _make_api_request
- Extract pandas column filtering into _filter_financials_by_date()
  helper in y_finance.py (was duplicated 3×); uses pd.to_datetime +
  vectorised boolean mask instead of a Python list comprehension

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 07:51:10 +02: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 refactor: address code review feedback on look-ahead bias fix 2026-03-29 07:51:10 +02: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: improve data vendor implementations and tool signatures 2026-02-03 22:27:20 +00: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 2026-03-28 19:38:46 +01:00
utils.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
y_finance.py refactor: address code review feedback on look-ahead bias fix 2026-03-29 07:51:10 +02:00
yfinance_news.py fix: prevent look-ahead bias in backtesting data fetchers 2026-03-28 19:38:46 +01:00