TradingAgents/tradingagents
MarkLo127 6a28ea523d Implement Plan A2: Parallelize Analyst Execution
Changes:
- Modify analyst graph connections to run in parallel instead of sequentially
- All analysts (Market, News, Fundamentals, Social) now start from START node simultaneously
- All analysts converge to Bull Researcher when complete
- Reduces analysis time by ~25-35% (4 analysts run in parallel instead of sequentially)

Technical Details:
- Previous: START → Market → News → Fundamentals → Bull Researcher (sequential)
- New: START → {Market, News, Fundamentals, Social} → Bull Researcher (parallel)
- Each analyst still has conditional edges to their tools and message clear nodes
- All analysts independently check completion and connect to Bull Researcher

Impact:
- Analysis time reduction: ~12-15 minutes saved per analysis
- Cumulative improvement with Plan A1 (fast mode):
  - Fast mode sequential: ~15-25 minutes
  - Fast mode parallel: ~10-15 minutes
  - Deep mode sequential: ~60 minutes
  - Deep mode parallel: ~40-45 minutes

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-12 21:34:07 +08:00
..
agents Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
dataflows 2025-12-28 01:22:45 +08:00
graph Implement Plan A2: Parallelize Analyst Execution 2026-03-12 21:34:07 +08:00
utils 2025-11-25 17:03:17 +08:00
default_config.py Fix: Resolve GraphRecursionError by passing config params to agents and increasing recursion_limit to 200 2026-03-12 17:17:23 +08:00