Commit Graph

5 Commits

Author SHA1 Message Date
Clayton Brown 99815917c7 feat(028-strategy-signals-contrib): wire strategy signals into analyst prompts
- Add strategy_signals field to AgentState (list of StrategySignal dicts)
- Compute signals once in Propagator.create_initial_state() with graceful fallback
- Add strategy_utils.get_signal_section() helper for role-based formatting
- Inject signals into all 4 analyst nodes (market, fundamentals, news, social)
- Inject signals into bull/bear researchers and research manager
- Inject signals into all 3 risk debators (aggressive, conservative, neutral)
- Inject signals into portfolio manager and trader
- Log strategy_signals in state output JSON
2026-04-21 08:42:35 +10:00
Yijia-Xiao eec6ca4b53 fix: initialize all debate state fields in propagation.py
InvestDebateState was missing bull_history, bear_history, judge_decision.
RiskDebateState was missing aggressive_history, conservative_history,
neutral_history, latest_speaker, judge_decision. This caused KeyError
in _log_state() and reflection, especially with edge-case config values.
2026-03-15 17:54:32 +00:00
Yijia Xiao 54cdb146d0
feat: add footer statistics tracking with LangChain callbacks
- Add StatsCallbackHandler for tracking LLM calls, tool calls, and tokens
- Integrate callbacks into TradingAgentsGraph and all LLM clients
- Dynamic agent/report counts based on selected analysts
- Fix report completion counting (tied to agent completion)
2026-02-03 22:27:20 +00:00
Yijia Xiao 50961b2477
refactor: rename risky/safe agents to aggressive/conservative 2026-02-03 22:27:20 +00:00
Yijia-Xiao cc97cb6d5d chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00