TradingAgents/tradingagents/dataflows
Ahmet Guzererler 04b7efdb68 feat: wire Finnhub into routing layer — insider txns, calendars, fallback
Changes:
- interface.py: Finnhub added as third vendor (alongside yfinance + AV)
  - get_insider_transactions: Finnhub primary (free, + MSPR bonus signal)
  - get_market_indices/sector_performance/topic_news: Finnhub added as option
  - Fallback catch extended: (AlphaVantageError, FinnhubError, ConnectionError, TimeoutError)
  - New calendar_data category with get_earnings_calendar + get_economic_calendar
- finnhub_scanner.py: added get_earnings_calendar_finnhub, get_economic_calendar_finnhub
  (FOMC/CPI/NFP/GDP events + earnings beats — unique, not in AV at any tier)
- finnhub.py: re-exports new calendar functions
- scanner_tools.py: @tool wrappers for get_earnings_calendar, get_economic_calendar
- default_config.py: tool_vendors["get_insider_transactions"]="finnhub",
  calendar_data vendor category defaulting to "finnhub"
- .env.example: FINNHUB_API_KEY documented
- docs/agent/decisions/010-finnhub-vendor-integration.md: ADR for this decision

All 173 offline tests pass. ADR 002 constraints respected throughout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 09:41:41 +01: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 fix: move rate limiter sleep outside lock to avoid blocking threads 2026-03-17 14:27:08 +00:00
alpha_vantage_fundamentals.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08: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_scanner.py feat: Complete 3-phase LLM scanner pipeline with inline tool execution 2026-03-17 08:41:40 +01: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
finnhub.py feat: wire Finnhub into routing layer — insider txns, calendars, fallback 2026-03-18 09:41:41 +01:00
finnhub_common.py feat: add Finnhub integration layer, tests, and evaluation report 2026-03-18 07:54:21 +01:00
finnhub_fundamentals.py feat: add Finnhub integration layer, tests, and evaluation report 2026-03-18 07:54:21 +01:00
finnhub_indicators.py feat: add Finnhub integration layer, tests, and evaluation report 2026-03-18 07:54:21 +01:00
finnhub_news.py feat: add Finnhub integration layer, tests, and evaluation report 2026-03-18 07:54:21 +01:00
finnhub_scanner.py feat: wire Finnhub into routing layer — insider txns, calendars, fallback 2026-03-18 09:41:41 +01:00
finnhub_stock.py feat: add Finnhub integration layer, tests, and evaluation report 2026-03-18 07:54:21 +01:00
interface.py feat: wire Finnhub into routing layer — insider txns, calendars, fallback 2026-03-18 09:41:41 +01:00
macro_regime.py feat: medium-term positioning upgrade (debate rounds, TTM, peer comparison, macro regime) (#14) 2026-03-17 22:27:40 +01:00
peer_comparison.py feat: medium-term positioning upgrade (debate rounds, TTM, peer comparison, macro regime) (#14) 2026-03-17 22:27:40 +01:00
stockstats_utils.py feat: add multi-provider LLM support with thinking configurations 2026-02-03 22:27:20 +00:00
ttm_analysis.py feat: medium-term positioning upgrade (debate rounds, TTM, peer comparison, macro regime) (#14) 2026-03-17 22:27:40 +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 feat: add yfinance support to accommodate community request for stability and quota 2026-02-03 22:27:20 +00:00
yfinance_news.py fix: improve data vendor implementations and tool signatures 2026-02-03 22:27:20 +00:00
yfinance_scanner.py feat: improve Industry Deep Dive report quality with enriched data, sector routing, and tool-call nudge 2026-03-17 20:10:45 +01:00