diff --git a/tradingagents/graph/portfolio_analysis.py b/tradingagents/graph/portfolio_analysis.py index 96c51854..52da027f 100644 --- a/tradingagents/graph/portfolio_analysis.py +++ b/tradingagents/graph/portfolio_analysis.py @@ -125,7 +125,6 @@ class PortfolioAnalyzer: try: return self.deep_thinking_llm.invoke(messages).content except Exception as e: - import traceback return ( f"Portfolio summary generation failed: {e}\n{traceback.format_exc()}\n" f"Individual signals were: "