TradingAgents v0.3.1
- Configurable LLM retry budget via llm_max_retries parameter and TRADINGAGENTS_LLM_MAX_RETRIES environment variable forwarded to every provider
- Bedrock API-key authentication via AWS_BEARER_TOKEN_BEDROCK that takes precedence over ambient AWS_PROFILE
- Latest Claude models including Claude Sonnet 5 (claude-sonnet-5) and Claude Fable 5 (claude-fable-5) with effort control coverage for the Claude 5 line
- Alpha Vantage look-ahead filter now runs because the fundamentals payload is JSON-serialized and the dict-only guard was skipped, allowing future-dated reports to leak into historical runs
- News analyst prompt now matches the tool by accepting a ticker instead of advertising a free-text query parameter
- Shared debate and risk routers no longer crash mid-run by providing every edge with the complete path map instead of returning more targets than mapped
- Checkpoint resume now respects graph shape by folding thread id with selected analysts, debate/risk depth, and asset mode
- Crypto sentiment sources now resolve by mapping crypto symbols correctly for StockTwits and Reddit using their respective formats
Summary
TradingAgents v0.3.1 is a correctness and stability patch on top of v0.3.0.
Fixed
- Alpha Vantage look-ahead filter now runs. The fundamentals payload is a JSON string, so the dict-only guard silently skipped filtering and future-dated reports leaked into historical runs. (#1115, @zachthebird)
- News analyst prompt matches the tool. It advertised
get_news(query, ...)while the tool takes a ticker, so the model hallucinated free-text query calls. (#1116, @shcheuk) - Shared debate/risk routers can't crash mid-run. Both routers returned more targets than any one edge mapped; every edge now shares the complete path map. (#1088, @Fr3ya, @sa7an7, @Sushanth012)
- Checkpoint resume respects graph shape. The thread id folds in selected analysts, debate/risk depth, and asset mode, so a resume under different choices no longer continues the wrong graph. (#1089, @bossjoker1, @Ghraven)
- Crypto sentiment sources resolve. StockTwits lists crypto as
<BASE>.X(Yahoo'sBTC-USD404s) and Reddit needs the base symbol; the social path now maps crypto for both. (#1113, @suremadoreai)
Added
- Configurable LLM retry budget.
llm_max_retries/TRADINGAGENTS_LLM_MAX_RETRIES, forwarded to every provider so a transient 429 burst doesn't abort a run. (#1091, @yanggaome) - Bedrock API-key auth.
AWS_BEARER_TOKEN_BEDROCKauthenticates Amazon Bedrock without AWS access keys and takes precedence over an ambientAWS_PROFILE. (#1103, @praxstack) - Latest Claude models. Added Claude Sonnet 5 (
claude-sonnet-5) and Fable 5 (claude-fable-5); effort control now covers the Claude 5 line.
See CHANGELOG.md for the full list.