TradingAgents/tradingagents/dataflows
dtarkent2-sys ad06448fda refactor(dataflows): FMP-primary data source; y_finance fallback-only
- New fmp_client.py — Postgres fmp_bulk fast path + live /stable/* fallback
- New fmp.py — FMP-backed public API matching y_finance shapes, plus
  get_ticker_info() returning a yfinance-Ticker.info-shaped dict so
  downstream .get(key) lookups work unchanged
- interface.py VENDOR_METHODS: fmp added as primary for every tool;
  VENDOR_LIST now [fmp, yfinance, alpha_vantage]
- default_config.py: all four data_vendors categories -> fmp
- tier1/tier2/portfolio: drop direct yfinance imports; yf.Ticker(t).info
  -> fmp.get_ticker_info(t); plain-function imports rerouted to .fmp
- y_finance.py: docstring flipped to fallback-only
- macro_data_tools.py deleted (orphaned 594-LOC @tool module — not
  imported anywhere, agent_utils.py wires its four siblings but skipped
  this one, so @tool versions never bound)

Zero live yf.Ticker / yf.download calls remain in the TradingAgents
execution graph.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 08:15:53 -04:00
..
__init__.py WIP 2025-09-26 16:17:50 +08:00
alpaca_data.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00
alpha_vantage.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00
alpha_vantage_common.py refactor(dataflows): stub Alpha Vantage modules; deprecate y_finance 2026-04-22 00:26:38 -04:00
alpha_vantage_fundamentals.py refactor(dataflows): stub Alpha Vantage modules; deprecate y_finance 2026-04-22 00:26:38 -04:00
alpha_vantage_indicator.py refactor(dataflows): stub Alpha Vantage modules; deprecate y_finance 2026-04-22 00:26:38 -04:00
alpha_vantage_news.py refactor(dataflows): stub Alpha Vantage modules; deprecate y_finance 2026-04-22 00:26:38 -04:00
alpha_vantage_stock.py refactor(dataflows): stub Alpha Vantage modules; deprecate y_finance 2026-04-22 00:26:38 -04:00
config.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00
fmp.py refactor(dataflows): FMP-primary data source; y_finance fallback-only 2026-04-22 08:15:53 -04:00
fmp_client.py refactor(dataflows): FMP-primary data source; y_finance fallback-only 2026-04-22 08:15:53 -04:00
interface.py refactor(dataflows): FMP-primary data source; y_finance fallback-only 2026-04-22 08:15:53 -04:00
stockstats_utils.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00
utils.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00
y_finance.py refactor(dataflows): FMP-primary data source; y_finance fallback-only 2026-04-22 08:15:53 -04:00
yfinance_news.py WIP: local TradingAgents customizations through 2026-04-13 2026-04-13 22:01:00 -04:00