← 返回
AI智能 中文

Uniswap Portfolio Report

Generate a comprehensive portfolio report for a wallet's Uniswap positions across all chains — covering total value, PnL, fee earnings, impermanent loss, and composition. Use when the user asks about their positions, earnings, or portfolio overview.
生成跨链钱包 Uniswap 头寸的综合报告,包含总价值、盈亏、费用收益、无常损失及组成结构。用于用户询问其头寸、收益或整体投资组合情况。
wpank
AI智能 clawhub v0.1.0 1 版本 99915 Key: 无需
★ 0
Stars
📥 1,176
下载
💾 33
安装
1
版本
#latest

概述

Portfolio Report

Overview

Generates a comprehensive portfolio report for a wallet's Uniswap positions across all supported chains. Delegates to the portfolio-analyst agent to discover positions, calculate PnL, track fee earnings, and analyze composition.

When to Use

Activate when the user asks:

  • "Show me my positions"
  • "Portfolio report"
  • "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

ParameterRequiredDefaultDescription
-------------------------------------------------------------------------------
walletNoConfigured agent walletWallet address to analyze
chainsNoAll chainsSpecific chains or "all"
focusNofull"positions", "pnl", "fees", or "full"

Workflow

  1. Extract parameters from the user's request: identify wallet address, chain filter, and focus area.
  1. Delegate to portfolio-analyst: Invoke Task(subagent_type:portfolio-analyst) with the parameters. The agent discovers all positions across chains, values them, calculates PnL, and analyzes composition.
  1. Present results: Format the portfolio report as a user-friendly summary.

Output Format

Portfolio Report: 0xf39F...2266

  Total Value: $125,000
    LP Positions: $95,000
    Idle Tokens:  $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)

Important Notes

  • Delegates entirely to portfolio-analyst — no direct MCP tool calls.
  • PnL includes gas costs. A position may be profitable before gas but unprofitable after.
  • IL is reported as both absolute dollar value and percentage.
  • Data may be slightly delayed due to RPC/subgraph sync.

Error Handling

ErrorUser-Facing MessageSuggested Action
-------------------------------------------------------------------------------------------------
Wallet not configured"No wallet configured."Set 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

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 03:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,123
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,363 📥 319,007
developer-tools

Code Review

wpank
涵盖安全、性能、可维护性、正确性和测试的系统化代码审查模式,包含严重等级、结构化反馈指南、审查流程及需避免的反模式。适用于审查 PR、建立审查标准或提升审查质量。
★ 31 📥 17,136