Emblem Portfolio Tracker

作者 emblemcompany9a68a35c4d61MIT12 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫4 個月前更新

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.

包含腳本Business & Finance
AI 產生的概覽

透過 EmblemAI 追蹤七條區塊鏈上的加密資產組合,顯示餘額、美元價值、交易損益與 DeFi 部位。

功能
呼叫 EmblemAI 錢包工具列出錢包地址,並取得 Solana、Ethereum、Base、BSC、Polygon、Hedera 與 Bitcoin 上的代幣餘額及美元價值。它也會取得條件交易部位與已實現損益,並在 Nansen 已索引該錢包時查看 LP、質押與流動性挖礦等 DeFi 部位。另附一支輔助 shell 指令碼,可產生現成的資產組合報告。
適用情境
當使用者想查看加密資產組合、了解各鏈餘額、檢視交易部位與已實現損益,或查詢目前加密貨幣價格時使用。它不適用於交易歷史、稅務申報、持有代幣的未實現損益或 24 小時組合變化。
執行需求
需要 Node.js 18 或更新版本、全域安裝的 @emblemvault/agentwallet CLI,以及網際網路存取。它附有可執行指令碼 scripts/portfolio-report.sh。

Emblem Portfolio Tracker

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


What This Skill Can Do

CapabilityTools Used
Wallet addresses (all chains)wallet
Solana balances + USD valuessolanaBalances
Ethereum balances + USD valuesethGetBalances
Base balances + USD valuesbaseGetBalances
BSC balances + USD valuesbscGetBalances
Polygon balances + USD valuespolygonGetBalances
Hedera balanceshederaGetBalances
Bitcoin balancesgetBTCBalances
Crypto price lookupgetCryptoPrice
Conditional trade positions & P&LgetAllPositions, listPositions
DeFi positions (LP, staking, farming)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

Quick Start

bash
npm install -g @emblemvault/agentwallet
# Check balances across all chainsemblemai --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 positionsemblemai --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"

Workflow: Full Portfolio Review

Step 1: Wallet Addresses

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

Step 2: Balance Snapshot

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"

Step 3: Trade Positions & P&L

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.

Step 4: DeFi Positions (Optional)

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]"

Use Cases

Daily Check-In

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"

Trade Performance

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"

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"

Helper Script

bash
bash scripts/portfolio-report.sh

See scripts/portfolio-report.sh [blocked] for a ready-to-use portfolio report.


Links

來源與署名

來源:emblemcompany/agent-skills位於skills/emblem-portfolio-tracker提交9a68a35

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架