运行时依赖
安装命令
点击复制技能文档
Portfolio 报告 Overview
生成s a comprehensive portfolio 报告 for a wallet's Uniswap positions across all supported chAIns. Delegates to the portfolio-analyst 代理 to discover positions, calculate PnL, 追踪 fee earnings, and analyze composition.
When to Use
Activate when the user asks:
"Show me my positions" "Portfolio 报告" "What's my Uniswap PnL?" "How much have I earned in fees?" "Which positions are out of range?" "What's my portfolio worth?" "Summarize my LP positions" Parameters Parameter Required Default Description wallet No 配置d 代理 wallet Wallet 添加ress to analyze chAIns No All chAIns Specific chAIns or "all" focus No full "positions", "pnl", "fees", or "full" 工作流
提取 parameters from the user's 请求: identify wallet 添加ress, chAIn 过滤器, and focus area.
Delegate to portfolio-analyst: Invoke Task(sub代理_type:portfolio-analyst) with the parameters. The 代理 discovers all positions across chAIns, values them, calculates PnL, and analyzes composition.
Present 结果s: 格式化 the portfolio 报告 as a user-friendly summary.
输出 格式化 Portfolio 报告: 0xf39F...2266
Total Value: $125,000 LP Positions: $95,000 Idle 令牌s: $28,000 Uncollected: $2,000
PnL Summary: Realized: +$5,200 Unrealized: +$3,800 Gas Costs: -$450 Net PnL: +$8,550 (+7.3%)
Positions (2): 1. USDC/WETH 0.05% (V3, Ethereum) — IN RANGE Value: $50,000 | PnL: +$2,000 | Fees: $800 uncollected 2. UNI/WETH 0.30% (V3, Ethereum) — OUT OF RANGE Value: $45,000 | PnL: +$2,000 | Fees: $1,200 uncollected
Recommendations: - Collect $1,200 in fees from UNI/WETH position - Rebalance UNI/WETH position (currently out of range)
导入ant Notes Delegates entirely to portfolio-analyst — no direct MCP 工具 calls. PnL includes gas costs. A position may be profitable before gas but unprofitable after. IL is 报告ed as 机器人h absolute dollar value and percentage. Data may be slightly delayed due to RPC/subgraph 同步. Error Handling Error User-Facing Message Suggested Action Wallet not 配置d "No wallet 配置d." 设置 WALLET_TYPE + PRIVATE_KEY No positions found "No Uniswap positions found for this wallet." Wallet may not have LP'd ChAIn unreachable "Could not connect to X chAIn." Try agAIn later