TradingAgents/tradingagents/dataflows
John Weston 4abad33e0f Add Polaris as news/sentiment/price data vendor
Adds Polaris Knowledge API as a third data vendor alongside yfinance and
Alpha Vantage. Polaris provides sentiment-scored intelligence, composite
trading signals, and news impact analysis that raw data feeds don't offer.

Implements all existing vendor methods plus 3 Polaris-exclusive methods
(sentiment_score, sector_analysis, news_impact).

Uses cachetools.TTLCache for thread-safe caching, shared financials fetch
to avoid redundant API calls, and polaris-news SDK for all API access.

Tested with real API calls — all functions return valid data.
Addresses #305, #11, #86.
2026-03-23 09:12:06 -04: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 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_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 Add Polaris as news/sentiment/price data vendor 2026-03-23 09:12:06 -04:00
polaris.py Add Polaris as news/sentiment/price data vendor 2026-03-23 09:12:06 -04:00
stockstats_utils.py fix: add exponential backoff retry for yfinance rate limits (#426) 2026-03-22 22:11:08 +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 exponential backoff retry for yfinance rate limits (#426) 2026-03-22 22:11:08 +00:00
yfinance_news.py fix: improve data vendor implementations and tool signatures 2026-02-03 22:27:20 +00:00