TradingAgents/tradingagents/dataflows
copilot-swe-agent[bot] 3d76acf17d Add financial tools analysis doc and fix YoY revenue growth bug in TTM analysis
- Create docs/FINANCIAL_TOOLS_ANALYSIS.md with comprehensive 4-point analysis:
  1. Implementation accuracy review for all indicators and metrics
  2. Library assessment (stockstats vs TA-Lib vs pandas-ta)
  3. Alpha Vantage debate (local calc vs API-fetched)
  4. Data flow & API mapping for every financial tool
- Fix off-by-one in ttm_analysis.py: YoY revenue used quarterly[-4]
  (3 quarters back) instead of quarterly[-5] (4 quarters = 1 year back)
- Add test_revenue_yoy_is_four_quarters_back test to validate the fix

Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com>
Agent-Logs-Url: https://github.com/aguzererler/TradingAgents/sessions/b594017b-ed84-4786-9b81-200a78eb5d76
2026-03-21 16:57:21 +00:00
..
__init__.py WIP 2025-09-26 16:17:50 +08:00
alpha_vantage.py Refactor interface.py to remove unused imports in alpha_vantage.py 2026-03-21 08:27:10 +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 Refactor `get_indicator` function in `alpha_vantage_indicator.py` 2026-03-21 08:26:02 +00: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: Finnhub integration layer, 141 tests, and vendor evaluation report (#16) 2026-03-18 11:28:43 +01:00
finnhub_common.py Resolve merge conflicts after PR #16 merge into main (#17) 2026-03-18 11:38:44 +01:00
finnhub_fundamentals.py Resolve merge conflicts after PR #16 merge into main (#17) 2026-03-18 11:38:44 +01:00
finnhub_indicators.py 🧹 Remove unused `timedelta` import in finnhub_indicators.py 2026-03-21 01:54:05 +00:00
finnhub_news.py Fix Finnhub API error handling and add coverage 2026-03-21 14:51:29 +00:00
finnhub_scanner.py 🧹 remove unused import _make_api_request from finnhub_scanner.py 2026-03-21 08:22:49 +00:00
finnhub_stock.py Remove unused pandas import and clean up finnhub_stock.py 2026-03-21 08:21:43 +00:00
interface.py Merge pull request #52 from aguzererler/fix/remove-unused-import-interface-7009076599669968401 2026-03-21 17:37:18 +01:00
macro_regime.py Merge pull request #54 from aguzererler/test-macro-regime-fmt-pct-18208719821293052000 2026-03-21 17:36:20 +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 🧪 [testing improvement] Add unit tests for _clean_dataframe in stockstats_utils 2026-03-21 08:30:52 +00:00
ttm_analysis.py Add financial tools analysis doc and fix YoY revenue growth bug in TTM analysis 2026-03-21 16:57:21 +00:00
utils.py chore: remove unused imports `os` and `json` from `tradingagents/dataflows/utils.py` 2026-03-21 01:34:15 +00:00
y_finance.py Sync fork with upstream TauricResearch/TradingAgents (v0.2.1) (#12) 2026-03-18 07:00:37 +01: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