emblem-portfolio-tracker

emblem-portfolio-tracker

透過 EmblemAI 追蹤橫跨 7 條區塊鏈的加密貨幣投資組合。彙總餘額並顯示美元價值、條件交易盈虧,以及透過 Nansen 追蹤 DeFi 部位。當使用者想要查看投資組合、跨鏈餘額或檢視交易部位時使用。

12星標
2分支
更新於 2026/5/15
SKILL.md
readonlyread-only
name
emblem-portfolio-tracker
description

Track crypto portfolio across 7 blockchains via EmblemAI. Aggregated balances with USD values, conditional trade P&L, and DeFi position tracking via Nansen. Use when the user wants to check their portfolio, see balances across chains, or review trade positions.

Emblem Portfolio Tracker

跨鏈加密貨幣投資組合監控,由 EmblemAI 提供支援。彙總 Solana、Ethereum、Base、BSC、Polygon、Hedera 和 Bitcoin 的餘額並顯示美元價值。條件交易盈虧追蹤以及透過 Nansen 檢視 DeFi 部位。

需求npm install -g @emblemvault/agentwallet


此技能可做到的事

功能 使用的工具
錢包地址(所有鏈) wallet
Solana 餘額 + 美元價值 solanaBalances
Ethereum 餘額 + 美元價值 ethGetBalances
Base 餘額 + 美元價值 baseGetBalances
BSC 餘額 + 美元價值 bscGetBalances
Polygon 餘額 + 美元價值 polygonGetBalances
Hedera 餘額 hederaGetBalances
Bitcoin 餘額 getBTCBalances
加密貨幣價格查詢 getCryptoPrice
條件交易部位與盈虧 getAllPositions, listPositions
DeFi 部位(流動性提供、質押、耕種) nansen_defi_portfolio

不支援的功能

以下功能沒有對應的工具:

  • 交易歷史 — 沒有任何工具能回傳任何鏈上的歷史錢包交易
  • 稅務報表 / 交易匯出 — 無歷史交易資料可用
  • 持有代幣的未實現盈虧 — 僅有條件交易部位的已實現盈虧
  • 24 小時投資組合變化 — 無歷史餘額快照;僅有當前餘額
  • 投資組合配置百分比 — 代理需從各鏈餘額呼叫自行計算

快速開始

npm install -g @emblemvault/agentwallet

# 檢查所有鏈的餘額
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 getAllPositions to show my open and closed trade positions with P&L"

觸發短語:

  • "Check my portfolio"
  • "Show balances across all chains"
  • "What's my P&L?"
  • "Show my trade positions"

工作流程:完整投資組合檢視

步驟 1:錢包地址

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

步驟 2:餘額快照

逐一檢查各鏈。為確保可靠執行,請明確指定工具名稱。

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"

或一次全部查詢:

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"

步驟 3:交易部位與盈虧

emblemai --agent --profile default -m "Use getAllPositions to show my conditional trade positions with realized P&L"

注意:盈虧資料僅涵蓋透過 EmblemAI 建立的條件交易部位(限價單、停損單、止盈單)。一般錢包持倉沒有成本基礎追蹤。

步驟 4:DeFi 部位(選用)

適用於 Nansen 已索引的錢包(通常是高價值錢包):

emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]"

使用案例

每日檢查

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

特定鏈深入分析

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"

交易績效

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

價格查詢

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

溝通技巧

為確保可靠執行,請明確指定工具名稱:

不佳 良好
"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"

輔助腳本

bash scripts/portfolio-report.sh

請參閱 scripts/portfolio-report.sh 取得可直接使用的投資組合報表。


連結