robinsxe
f3d49335d1
Update tradingagents/graph/trading_graph.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 21:07:02 +01:00
robinsxe
698b4ede4a
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 21:06:45 +01:00
robinsxe
92b527b60a
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 21:01:35 +01:00
robinsxe
0c4a912b0a
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 21:01:25 +01:00
Robin Lindbladh
b3a087286b
fix: remove redundant inline traceback import
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:58:18 +01:00
robinsxe
95e10bd1fd
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 20:32:32 +01:00
robinsxe
2466ec3c90
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 20:32:09 +01:00
Robin Lindbladh
85fbc48ede
fix: address code review feedback
...
- Preserve and restore self.ticker and self.curr_state in
propagate_portfolio() using try/finally to prevent side effects
- Use pathlib.Path for log file construction in _log_portfolio()
- Move traceback import to module level
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:20:46 +01:00
robinsxe
dbd2c658e5
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 20:18:30 +01:00
robinsxe
03d7752d46
Update tradingagents/graph/portfolio_analysis.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-24 20:18:14 +01:00
Robin Lindbladh
ae2c813d8a
feat: add portfolio analysis for multi-stock comparison
...
Add PortfolioAnalyzer class that runs the full agent pipeline on multiple
stocks and produces a comparative KEEP/REDUCE/EXIT recommendation using
the deep thinking LLM. Includes per-ticker error handling, graceful
degradation on LLM failure, and result logging.
Addresses #60 and partially #406 .
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:10:21 +01:00
Yijia-Xiao
b8b2825783
refactor: standardize portfolio manager, five-tier rating scale, fix analyst status tracking
2026-03-22 23:30:29 +00:00
Yijia-Xiao
318adda0c6
refactor: five-tier rating scale and streamlined agent prompts
2026-03-22 23:07:20 +00:00
Yijia-Xiao
bd9b1e5efa
feat: add Anthropic effort level support for Claude models
...
Add effort parameter (high/medium/low) for Claude 4.5+ and 4.6 models,
consistent with OpenAI reasoning_effort and Google thinking_level.
Also add content normalization for Anthropic responses.
2026-03-22 21:57:05 +00: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
3642f5917c
fix: add explicit UTF-8 encoding to all file open() calls
...
Prevents UnicodeEncodeError on Windows where the default encoding
(cp1252/gbk) cannot handle Unicode characters in LLM output.
Closes #77 , closes #114 , closes #126 , closes #215 , closes #332
2026-03-15 16:44:23 +00:00
makk9
907bc8022a
fix: pass debate round config to ConditionalLogic ( #361 )
...
* fix: pass max_debate_rounds and max_risk_discuss_rounds config to ConditionalLogic
* use config values
2026-03-15 09:31:59 -07: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
b06936f420
fix: improve data vendor implementations and tool signatures
...
- Add get_global_news for Alpha Vantage
- Fix get_insider_transactions signature (remove unused curr_date param)
- Remove unnecessary default params from API calls (sort, limit, tab)
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
d4dadb82fc
feat: add multi-provider LLM support with thinking configurations
...
Models added:
- OpenAI: GPT-5.2, GPT-5.1, GPT-5, GPT-5 Mini, GPT-5 Nano, GPT-4.1
- Anthropic: Claude Opus 4.5/4.1, Claude Sonnet 4.5/4, Claude Haiku 4.5
- Google: Gemini 3 Pro/Flash, Gemini 2.5 Flash/Flash Lite
- xAI: Grok 4, Grok 4.1 Fast (Reasoning/Non-Reasoning)
Configs updated:
- Add unified thinking_level for Gemini (maps to thinking_level for Gemini 3,
thinking_budget for Gemini 2.5; handles Pro's lack of "minimal" support)
- Add OpenAI reasoning_effort configuration
- Add NormalizedChatGoogleGenerativeAI for consistent response handling
Fixes:
- Fix Bull/Bear researcher display truncation
- Replace ChromaDB with BM25 for memory retrieval
2026-02-03 22:27:20 +00:00
Yijia Xiao
79051580b8
feat: add multi-provider LLM support with factory pattern
...
- Add tradingagents/llm_clients/ with unified factory pattern
- Support OpenAI, Anthropic, Google, xAI, OpenRouter, Ollama, vLLM
- Replace direct LLM imports in trading_graph.py with create_llm_client()
- Handle provider-specific params (reasoning_effort, thinking_config)
2026-02-03 22:27:20 +00:00
luohy15
a6734d71bc
WIP
2025-09-26 16:17:50 +08:00
mirza-samad-ahmed-baig
f704828f89
Fix: Prevent infinite loops, enable reflection, and improve logging
2025-07-03 17:43:40 +05:00
Edward Sun
da84ef43aa
main works, cli bugs
2025-06-15 22:20:59 -07:00
maxer137
99789f9cd1
Add support for other backends, such as OpenRouter and olama
...
This aims to offer alternative OpenAI capable api's.
This offers people to experiment with running the application locally
2025-06-11 14:19:25 +02:00
Yijia-Xiao
cc97cb6d5d
chore(release): v0.1.0 – initial public release of TradingAgents
2025-06-05 04:27:57 -07:00