emblem-portfolio-tracker

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Emblem Portfolio Tracker

Emblem投资组合追踪器

Cross-chain crypto portfolio monitoring powered by EmblemAI. Aggregated balances with USD values across Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Conditional trade P&L tracking and DeFi position viewing via Nansen.
Requires:
npm install -g @emblemvault/agentwallet

EmblemAI提供支持的跨链加密货币投资组合监控工具,支持汇总Solana、Ethereum、Base、BSC、Polygon、Hedera和Bitcoin共7条链上的资产余额及对应美元估值,可通过Nansen实现条件交易P&L追踪和DeFi持仓查看。
依赖安装:
npm install -g @emblemvault/agentwallet

What This Skill Can Do

功能说明

CapabilityTools Used
Wallet addresses (all chains)
wallet
Solana balances + USD values
solanaBalances
Ethereum balances + USD values
ethGetBalances
Base balances + USD values
baseGetBalances
BSC balances + USD values
bscGetBalances
Polygon balances + USD values
polygonGetBalances
Hedera balances
hederaGetBalances
Bitcoin balances
getBTCBalances
Crypto price lookup
getCryptoPrice
Conditional trade positions & P&L
getAllPositions
,
listPositions
DeFi positions (LP, staking, farming)
nansen_defi_portfolio
功能使用工具
全链钱包地址查询
wallet
Solana余额及美元估值
solanaBalances
Ethereum余额及美元估值
ethGetBalances
Base余额及美元估值
baseGetBalances
BSC余额及美元估值
bscGetBalances
Polygon余额及美元估值
polygonGetBalances
Hedera余额查询
hederaGetBalances
Bitcoin余额查询
getBTCBalances
加密货币价格查询
getCryptoPrice
条件交易持仓及盈亏统计
getAllPositions
,
listPositions
DeFi持仓(流动性做市、质押、收益耕作)
nansen_defi_portfolio

Not Supported

不支持的功能

These features have no backing tools:
  • Transaction history — no tool returns past wallet transactions on any chain
  • Tax reporting / transaction exports — no historical transaction data available
  • Unrealized P&L on held tokens — only realized P&L from conditional trade positions
  • 24h portfolio change — no historical balance snapshots; only current balances
  • Portfolio allocation percentages — agent must compute from individual chain balance calls

以下功能暂无对应工具支持:
  • 交易历史:没有工具可以返回任意链上钱包的历史交易记录
  • 税务申报/交易导出:无可用历史交易数据
  • 持仓代币未实现盈亏:仅支持统计条件交易持仓的已实现盈亏
  • 投资组合24小时涨跌幅:无历史余额快照,仅支持查询当前余额
  • 投资组合占比百分比:需要Agent通过各条链的余额调用结果自行计算

Quick Start

快速开始

bash
npm install -g @emblemvault/agentwallet
bash
npm install -g @emblemvault/agentwallet

Check balances across all chains

查询所有链上的余额

emblemai --agent --profile default -m "Use wallet to show my addresses, then use solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, and getBTCBalances to show all my balances"
emblemai --agent --profile default -m "Use wallet to show my addresses, then use solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, and getBTCBalances to show all my balances"

Check trade positions

查询交易持仓

emblemai --agent --profile default -m "Use getAllPositions to show my open and closed trade positions with P&L"

**Trigger phrases:**
- "Check my portfolio"
- "Show balances across all chains"
- "What's my P&L?"
- "Show my trade positions"

---
emblemai --agent --profile default -m "Use getAllPositions to show my open and closed trade positions with P&L"

**触发词:**
- "查看我的投资组合"
- "展示所有链上的余额"
- "我的盈亏是多少?"
- "展示我的交易持仓"

---

Workflow: Full Portfolio Review

工作流:完整投资组合复盘

Step 1: Wallet Addresses

步骤1:查询钱包地址

bash
emblemai --agent --profile default -m "Use wallet to list all my wallet addresses across every chain"
bash
emblemai --agent --profile default -m "Use wallet to list all my wallet addresses across every chain"

Step 2: Balance Snapshot

步骤2:余额快照

Check each chain. Name the tools explicitly for reliable execution.
bash
emblemai --agent --profile default -m "Use solanaBalances to show my Solana tokens with USD values"
emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum tokens with USD values"
emblemai --agent --profile default -m "Use baseGetBalances to show my Base tokens"
emblemai --agent --profile default -m "Use bscGetBalances to show my BSC tokens"
emblemai --agent --profile default -m "Use polygonGetBalances to show my Polygon tokens"
emblemai --agent --profile default -m "Use hederaGetBalances to show my Hedera tokens"
emblemai --agent --profile default -m "Use getBTCBalances to show my Bitcoin balance"
Or ask for all at once:
bash
emblemai --agent --profile default -m "Show my balances across all chains with USD values. Use the balance tools for each chain: solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, getBTCBalances"
逐链查询,明确指定工具名称可保证执行可靠性
bash
emblemai --agent --profile default -m "Use solanaBalances to show my Solana tokens with USD values"
emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum tokens with USD values"
emblemai --agent --profile default -m "Use baseGetBalances to show my Base tokens"
emblemai --agent --profile default -m "Use bscGetBalances to show my BSC tokens"
emblemai --agent --profile default -m "Use polygonGetBalances to show my Polygon tokens"
emblemai --agent --profile default -m "Use hederaGetBalances to show my Hedera tokens"
emblemai --agent --profile default -m "Use getBTCBalances to show my Bitcoin balance"
也可以一次性查询所有余额:
bash
emblemai --agent --profile default -m "Show my balances across all chains with USD values. Use the balance tools for each chain: solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, getBTCBalances"

Step 3: Trade Positions & P&L

步骤3:交易持仓与盈亏统计

bash
emblemai --agent --profile default -m "Use getAllPositions to show my conditional trade positions with realized P&L"
Note: P&L data only covers conditional trade positions (limit orders, stop-losses, take-profits) created through EmblemAI. General wallet holdings do not have cost basis tracking.
bash
emblemai --agent --profile default -m "Use getAllPositions to show my conditional trade positions with realized P&L"
注意:盈亏数据仅覆盖通过EmblemAI创建的条件交易持仓(限价单、止损单、止盈单),普通钱包持仓没有成本基准追踪能力。

Step 4: DeFi Positions (Optional)

步骤4:DeFi持仓查询(可选)

For wallets indexed by Nansen (typically high-value wallets):
bash
emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]"

仅适用于被Nansen收录的钱包(通常是高价值钱包):
bash
emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]"

Use Cases

使用场景

Daily Check-In

每日资产巡检

bash
emblemai --agent --profile default -m "Quick portfolio check — use solanaBalances, ethGetBalances, and getBTCBalances to show my main holdings"
bash
emblemai --agent --profile default -m "Quick portfolio check — use solanaBalances, ethGetBalances, and getBTCBalances to show my main holdings"

Chain-Specific Deep Dive

单链资产深度查询

bash
emblemai --agent --profile default -m "Use solanaBalances to show all my Solana token balances with current prices"
emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum positions"
bash
emblemai --agent --profile default -m "Use solanaBalances to show all my Solana token balances with current prices"
emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum positions"

Trade Performance

交易表现复盘

bash
emblemai --agent --profile default -m "Use getAllPositions to show my closed positions with realized P&L and win/loss rate"
bash
emblemai --agent --profile default -m "Use getAllPositions to show my closed positions with realized P&L and win/loss rate"

Price Check

价格查询

bash
emblemai --agent --profile default -m "Use getCryptoPrice to show current prices for BTC, ETH, SOL, and BNB"

bash
emblemai --agent --profile default -m "Use getCryptoPrice to show current prices for BTC, ETH, SOL, and BNB"

Communication Tips

使用提示

Name the exact tools for reliable execution:
BadGood
"balances"
"Use solanaBalances and ethGetBalances to show my balances"
"PnL"
"Use getAllPositions to show my trade positions with realized P&L"
"portfolio"
"Use wallet to show addresses, then check balances on each chain"

明确指定工具名称可保证执行可靠性:
错误示例正确示例
"balances"
"Use solanaBalances and ethGetBalances to show my balances"
"PnL"
"Use getAllPositions to show my trade positions with realized P&L"
"portfolio"
"Use wallet to show addresses, then check balances on each chain"

Helper Script

辅助脚本

bash
bash scripts/portfolio-report.sh
See scripts/portfolio-report.sh for a ready-to-use portfolio report.

bash
bash scripts/portfolio-report.sh
可查看scripts/portfolio-report.sh获取开箱即用的投资组合报告脚本。

Links

相关链接