TradingAgents/tradingagents/agents
copilot-swe-agent[bot] 066460a501 feat: add portfolio risk metrics module and LangChain agent tools
- tradingagents/portfolio/risk_metrics.py: pure-Python computation of
  Sharpe, Sortino, VaR, max drawdown, beta, sector concentration from
  PortfolioSnapshot NAV history — no LLM, no external dependencies
- tradingagents/portfolio/__init__.py: export compute_risk_metrics
- tradingagents/agents/utils/portfolio_tools.py: 4 LangChain tools
  wrapping Holding.enrich, Portfolio.enrich, ReportStore APIs, and
  compute_risk_metrics so agents can access portfolio data without
  reimplementing computations
- tests/portfolio/test_risk_metrics.py: 48 tests for risk metrics
- tests/unit/test_portfolio_tools.py: 19 tests for portfolio tools
- tests/portfolio/test_repository.py: fix pre-existing import error

Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com>
2026-03-20 14:42:43 +00:00
..
analysts feat: medium-term positioning upgrade (debate rounds, TTM, peer comparison, macro regime) (#14) 2026-03-17 22:27:40 +01:00
managers feat: medium-term positioning upgrade (debate rounds, TTM, peer comparison, macro regime) (#14) 2026-03-17 22:27:40 +01:00
researchers chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
risk_mgmt refactor: rename risky/safe agents to aggressive/conservative 2026-02-03 22:27:20 +00:00
scanners Resolve merge conflicts after PR #18 merge into main (#19) 2026-03-18 14:38:48 +01:00
trader Fix: Prevent infinite loops, enable reflection, and improve logging 2025-07-03 17:43:40 +05:00
utils feat: add portfolio risk metrics module and LangChain agent tools 2026-03-20 14:42:43 +00:00
__init__.py refactor: rename risky/safe agents to aggressive/conservative 2026-02-03 22:27:20 +00:00